/****************************************************************************
** Meta object code from reading C++ file 'dirinfo.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../index-fm-4.0.2/src/controllers/dirinfo.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dirinfo.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN7DirInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto DirInfo::qt_create_metaobjectdata<qt_meta_tag_ZN7DirInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DirInfo",
        "urlChanged",
        "",
        "url",
        "sizeChanged",
        "size",
        "dirsCountChanged",
        "dirCount",
        "filesCountChanged",
        "filesCount",
        "avaliableSpaceChanged",
        "avaliableSpace",
        "totalSpaceChanged",
        "totalSpace",
        "setUrl",
        "sizeString",
        "avaliableSpaceString",
        "totalSpaceString"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'urlChanged'
        QtMocHelpers::SignalData<void(QUrl)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 3 },
        }}),
        // Signal 'sizeChanged'
        QtMocHelpers::SignalData<void(quint64)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 5 },
        }}),
        // Signal 'dirsCountChanged'
        QtMocHelpers::SignalData<void(quint64)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 7 },
        }}),
        // Signal 'filesCountChanged'
        QtMocHelpers::SignalData<void(quint64)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 9 },
        }}),
        // Signal 'avaliableSpaceChanged'
        QtMocHelpers::SignalData<void(quint64)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 11 },
        }}),
        // Signal 'totalSpaceChanged'
        QtMocHelpers::SignalData<void(quint64)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 13 },
        }}),
        // Slot 'setUrl'
        QtMocHelpers::SlotData<void(QUrl)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'url'
        QtMocHelpers::PropertyData<QUrl>(3, QMetaType::QUrl, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'size'
        QtMocHelpers::PropertyData<quint64>(5, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Final, 1),
        // property 'sizeString'
        QtMocHelpers::PropertyData<QString>(15, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Final, 1),
        // property 'filesCount'
        QtMocHelpers::PropertyData<quint64>(9, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Final, 3),
        // property 'dirCount'
        QtMocHelpers::PropertyData<quint64>(7, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Final, 2),
        // property 'avaliableSpace'
        QtMocHelpers::PropertyData<quint64>(11, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Final, 4),
        // property 'totalSpace'
        QtMocHelpers::PropertyData<quint64>(13, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Final, 5),
        // property 'avaliableSpaceString'
        QtMocHelpers::PropertyData<QString>(16, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Final, 4),
        // property 'totalSpaceString'
        QtMocHelpers::PropertyData<QString>(17, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Final, 5),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DirInfo, qt_meta_tag_ZN7DirInfoE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DirInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7DirInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7DirInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7DirInfoE_t>.metaTypes,
    nullptr
} };

void DirInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DirInfo *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->urlChanged((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 1: _t->sizeChanged((*reinterpret_cast< std::add_pointer_t<quint64>>(_a[1]))); break;
        case 2: _t->dirsCountChanged((*reinterpret_cast< std::add_pointer_t<quint64>>(_a[1]))); break;
        case 3: _t->filesCountChanged((*reinterpret_cast< std::add_pointer_t<quint64>>(_a[1]))); break;
        case 4: _t->avaliableSpaceChanged((*reinterpret_cast< std::add_pointer_t<quint64>>(_a[1]))); break;
        case 5: _t->totalSpaceChanged((*reinterpret_cast< std::add_pointer_t<quint64>>(_a[1]))); break;
        case 6: _t->setUrl((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DirInfo::*)(QUrl )>(_a, &DirInfo::urlChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DirInfo::*)(quint64 )>(_a, &DirInfo::sizeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DirInfo::*)(quint64 )>(_a, &DirInfo::dirsCountChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DirInfo::*)(quint64 )>(_a, &DirInfo::filesCountChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DirInfo::*)(quint64 )>(_a, &DirInfo::avaliableSpaceChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DirInfo::*)(quint64 )>(_a, &DirInfo::totalSpaceChanged, 5))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QUrl*>(_v) = _t->url(); break;
        case 1: *reinterpret_cast<quint64*>(_v) = _t->size(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->sizeString(); break;
        case 3: *reinterpret_cast<quint64*>(_v) = _t->filesCount(); break;
        case 4: *reinterpret_cast<quint64*>(_v) = _t->dirCount(); break;
        case 5: *reinterpret_cast<quint64*>(_v) = _t->avaliableSpace(); break;
        case 6: *reinterpret_cast<quint64*>(_v) = _t->totalSpace(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->avaliableSpaceString(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->totalSpaceString(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setUrl(*reinterpret_cast<QUrl*>(_v)); break;
        default: break;
        }
    }
}

const QMetaObject *DirInfo::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *DirInfo::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7DirInfoE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int DirInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 7;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void DirInfo::urlChanged(QUrl _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void DirInfo::sizeChanged(quint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void DirInfo::dirsCountChanged(quint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void DirInfo::filesCountChanged(quint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void DirInfo::avaliableSpaceChanged(quint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void DirInfo::totalSpaceChanged(quint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}
QT_WARNING_POP
