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

#include "../../../../PackageKit-Qt/src/daemon.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 'daemon.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN10PackageKit6DaemonE_t {};
} // unnamed namespace

template <> constexpr inline auto PackageKit::Daemon::qt_create_metaobjectdata<qt_meta_tag_ZN10PackageKit6DaemonE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PackageKit::Daemon",
        "isRunningChanged",
        "",
        "networkStateChanged",
        "changed",
        "repoListChanged",
        "restartScheduled",
        "transactionListChanged",
        "tids",
        "updatesChanged",
        "daemonQuit",
        "propertiesChanged",
        "QVariantMap",
        "updateProperties",
        "packageName",
        "packageID",
        "packageVersion",
        "packageArch",
        "packageData",
        "isRunning",
        "roles",
        "Transaction::Roles",
        "backendName",
        "backendDescription",
        "backendAuthor",
        "filters",
        "Transaction::Filters",
        "groups",
        "Transaction::Groups",
        "locked",
        "mimeTypes",
        "networkState",
        "Daemon::Network",
        "distroID",
        "versionMajor",
        "versionMinor",
        "versionMicro",
        "Network",
        "NetworkUnknown",
        "NetworkOffline",
        "NetworkOnline",
        "NetworkWired",
        "NetworkWifi",
        "NetworkMobile",
        "Authorize",
        "AuthorizeUnknown",
        "AuthorizeYes",
        "AuthorizeNo",
        "AuthorizeInteractive"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'isRunningChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'networkStateChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'changed'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'repoListChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'restartScheduled'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'transactionListChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 8 },
        }}),
        // Signal 'updatesChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'daemonQuit'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'propertiesChanged'
        QtMocHelpers::SlotData<void(QString, QVariantMap, QStringList)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { 0x80000000 | 12, 2 }, { QMetaType::QStringList, 2 },
        }}),
        // Slot 'updateProperties'
        QtMocHelpers::SlotData<void(QVariantMap)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 2 },
        }}),
        // Method 'packageName'
        QtMocHelpers::MethodData<QString(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 15 },
        }}),
        // Method 'packageVersion'
        QtMocHelpers::MethodData<QString(const QString &)>(16, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 15 },
        }}),
        // Method 'packageArch'
        QtMocHelpers::MethodData<QString(const QString &)>(17, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 15 },
        }}),
        // Method 'packageData'
        QtMocHelpers::MethodData<QString(const QString &)>(18, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 15 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'isRunning'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags, 0),
        // property 'roles'
        QtMocHelpers::PropertyData<Transaction::Roles>(20, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 2),
        // property 'backendName'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'backendDescription'
        QtMocHelpers::PropertyData<QString>(23, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'backendAuthor'
        QtMocHelpers::PropertyData<QString>(24, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'filters'
        QtMocHelpers::PropertyData<Transaction::Filters>(25, 0x80000000 | 26, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 2),
        // property 'groups'
        QtMocHelpers::PropertyData<Transaction::Groups>(27, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 2),
        // property 'locked'
        QtMocHelpers::PropertyData<bool>(29, QMetaType::Bool, QMC::DefaultPropertyFlags, 2),
        // property 'mimeTypes'
        QtMocHelpers::PropertyData<QStringList>(30, QMetaType::QStringList, QMC::DefaultPropertyFlags, 2),
        // property 'networkState'
        QtMocHelpers::PropertyData<Daemon::Network>(31, 0x80000000 | 32, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 1),
        // property 'distroID'
        QtMocHelpers::PropertyData<QString>(33, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'versionMajor'
        QtMocHelpers::PropertyData<uint>(34, QMetaType::UInt, QMC::DefaultPropertyFlags, 2),
        // property 'versionMinor'
        QtMocHelpers::PropertyData<uint>(35, QMetaType::UInt, QMC::DefaultPropertyFlags, 2),
        // property 'versionMicro'
        QtMocHelpers::PropertyData<uint>(36, QMetaType::UInt, QMC::DefaultPropertyFlags, 2),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Network'
        QtMocHelpers::EnumData<enum Network>(37, 37, QMC::EnumFlags{}).add({
            {   38, Network::NetworkUnknown },
            {   39, Network::NetworkOffline },
            {   40, Network::NetworkOnline },
            {   41, Network::NetworkWired },
            {   42, Network::NetworkWifi },
            {   43, Network::NetworkMobile },
        }),
        // enum 'Authorize'
        QtMocHelpers::EnumData<enum Authorize>(44, 44, QMC::EnumFlags{}).add({
            {   45, Authorize::AuthorizeUnknown },
            {   46, Authorize::AuthorizeYes },
            {   47, Authorize::AuthorizeNo },
            {   48, Authorize::AuthorizeInteractive },
        }),
    };
    return QtMocHelpers::metaObjectData<Daemon, qt_meta_tag_ZN10PackageKit6DaemonE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN10PackageKit6DaemonE[] = {
    QMetaObject::SuperData::link<PackageKit::Transaction::staticMetaObject>(),
    nullptr
};

Q_CONSTINIT const QMetaObject PackageKit::Daemon::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10PackageKit6DaemonE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10PackageKit6DaemonE_t>.data,
    qt_static_metacall,
    qt_meta_extradata_ZN10PackageKit6DaemonE,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10PackageKit6DaemonE_t>.metaTypes,
    nullptr
} };

void PackageKit::Daemon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Daemon *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->isRunningChanged(); break;
        case 1: _t->networkStateChanged(); break;
        case 2: _t->changed(); break;
        case 3: _t->repoListChanged(); break;
        case 4: _t->restartScheduled(); break;
        case 5: _t->transactionListChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 6: _t->updatesChanged(); break;
        case 7: _t->daemonQuit(); break;
        case 8: _t->d_func()->propertiesChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[3]))); break;
        case 9: _t->d_func()->updateProperties((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 10: { QString _r = _t->packageName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 11: { QString _r = _t->packageVersion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 12: { QString _r = _t->packageArch((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 13: { QString _r = _t->packageData((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)()>(_a, &Daemon::isRunningChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)()>(_a, &Daemon::networkStateChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)()>(_a, &Daemon::changed, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)()>(_a, &Daemon::repoListChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)()>(_a, &Daemon::restartScheduled, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)(const QStringList & )>(_a, &Daemon::transactionListChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)()>(_a, &Daemon::updatesChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Daemon::*)()>(_a, &Daemon::daemonQuit, 7))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->isRunning(); break;
        case 1: *reinterpret_cast<Transaction::Roles*>(_v) = _t->roles(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->backendName(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->backendDescription(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->backendAuthor(); break;
        case 5: *reinterpret_cast<Transaction::Filters*>(_v) = _t->filters(); break;
        case 6: *reinterpret_cast<Transaction::Groups*>(_v) = _t->groups(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->locked(); break;
        case 8: *reinterpret_cast<QStringList*>(_v) = _t->mimeTypes(); break;
        case 9: *reinterpret_cast<Daemon::Network*>(_v) = _t->networkState(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->distroID(); break;
        case 11: *reinterpret_cast<uint*>(_v) = _t->versionMajor(); break;
        case 12: *reinterpret_cast<uint*>(_v) = _t->versionMinor(); break;
        case 13: *reinterpret_cast<uint*>(_v) = _t->versionMicro(); break;
        default: break;
        }
    }
}

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

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

int PackageKit::Daemon::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 14;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void PackageKit::Daemon::isRunningChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void PackageKit::Daemon::networkStateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void PackageKit::Daemon::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void PackageKit::Daemon::repoListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void PackageKit::Daemon::restartScheduled()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void PackageKit::Daemon::transactionListChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void PackageKit::Daemon::updatesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void PackageKit::Daemon::daemonQuit()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
