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

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

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata___Grub2_t {
    QByteArrayData data[46];
    char stringdata0[628];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Grub2_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Grub2_t qt_meta_stringdata___Grub2 = {
    {
QT_MOC_LITERAL(0, 0, 7), // "__Grub2"
QT_MOC_LITERAL(1, 8, 19), // "DefaultEntryChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 5), // "value"
QT_MOC_LITERAL(4, 35, 18), // "EnableThemeChanged"
QT_MOC_LITERAL(5, 54, 17), // "ResolutionChanged"
QT_MOC_LITERAL(6, 72, 12), // "ThemeChanged"
QT_MOC_LITERAL(7, 85, 14), // "TimeoutChanged"
QT_MOC_LITERAL(8, 100, 15), // "UpdatingChanged"
QT_MOC_LITERAL(9, 116, 23), // "GetAvailableResolutions"
QT_MOC_LITERAL(10, 140, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(11, 167, 20), // "GetSimpleEntryTitles"
QT_MOC_LITERAL(12, 188, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(13, 219, 9), // "GetThemes"
QT_MOC_LITERAL(14, 229, 5), // "Reset"
QT_MOC_LITERAL(15, 235, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(16, 255, 11), // "ResetQueued"
QT_MOC_LITERAL(17, 267, 15), // "SetDefaultEntry"
QT_MOC_LITERAL(18, 283, 5), // "entry"
QT_MOC_LITERAL(19, 289, 21), // "SetDefaultEntryQueued"
QT_MOC_LITERAL(20, 311, 14), // "SetEnableTheme"
QT_MOC_LITERAL(21, 326, 7), // "enabled"
QT_MOC_LITERAL(22, 334, 20), // "SetEnableThemeQueued"
QT_MOC_LITERAL(23, 355, 13), // "SetResolution"
QT_MOC_LITERAL(24, 369, 10), // "resolution"
QT_MOC_LITERAL(25, 380, 19), // "SetResolutionQueued"
QT_MOC_LITERAL(26, 400, 8), // "SetTheme"
QT_MOC_LITERAL(27, 409, 7), // "themeId"
QT_MOC_LITERAL(28, 417, 14), // "SetThemeQueued"
QT_MOC_LITERAL(29, 432, 10), // "SetTimeout"
QT_MOC_LITERAL(30, 443, 7), // "timeout"
QT_MOC_LITERAL(31, 451, 16), // "SetTimeoutQueued"
QT_MOC_LITERAL(32, 468, 10), // "CallQueued"
QT_MOC_LITERAL(33, 479, 8), // "callName"
QT_MOC_LITERAL(34, 488, 4), // "args"
QT_MOC_LITERAL(35, 493, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(36, 515, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(37, 540, 1), // "w"
QT_MOC_LITERAL(38, 542, 17), // "onPropertyChanged"
QT_MOC_LITERAL(39, 560, 8), // "propName"
QT_MOC_LITERAL(40, 569, 12), // "DefaultEntry"
QT_MOC_LITERAL(41, 582, 11), // "EnableTheme"
QT_MOC_LITERAL(42, 594, 10), // "Resolution"
QT_MOC_LITERAL(43, 605, 5), // "Theme"
QT_MOC_LITERAL(44, 611, 7), // "Timeout"
QT_MOC_LITERAL(45, 619, 8) // "Updating"

    },
    "__Grub2\0DefaultEntryChanged\0\0value\0"
    "EnableThemeChanged\0ResolutionChanged\0"
    "ThemeChanged\0TimeoutChanged\0UpdatingChanged\0"
    "GetAvailableResolutions\0"
    "QDBusPendingReply<QString>\0"
    "GetSimpleEntryTitles\0"
    "QDBusPendingReply<QStringList>\0GetThemes\0"
    "Reset\0QDBusPendingReply<>\0ResetQueued\0"
    "SetDefaultEntry\0entry\0SetDefaultEntryQueued\0"
    "SetEnableTheme\0enabled\0SetEnableThemeQueued\0"
    "SetResolution\0resolution\0SetResolutionQueued\0"
    "SetTheme\0themeId\0SetThemeQueued\0"
    "SetTimeout\0timeout\0SetTimeoutQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0DefaultEntry\0EnableTheme\0"
    "Resolution\0Theme\0Timeout\0Updating"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Grub2[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      24,   14, // methods
       6,  200, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x06 /* Public */,
       4,    1,  137,    2, 0x06 /* Public */,
       5,    1,  140,    2, 0x06 /* Public */,
       6,    1,  143,    2, 0x06 /* Public */,
       7,    1,  146,    2, 0x06 /* Public */,
       8,    1,  149,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,  152,    2, 0x0a /* Public */,
      11,    0,  153,    2, 0x0a /* Public */,
      13,    0,  154,    2, 0x0a /* Public */,
      14,    0,  155,    2, 0x0a /* Public */,
      16,    0,  156,    2, 0x0a /* Public */,
      17,    1,  157,    2, 0x0a /* Public */,
      19,    1,  160,    2, 0x0a /* Public */,
      20,    1,  163,    2, 0x0a /* Public */,
      22,    1,  166,    2, 0x0a /* Public */,
      23,    1,  169,    2, 0x0a /* Public */,
      25,    1,  172,    2, 0x0a /* Public */,
      26,    1,  175,    2, 0x0a /* Public */,
      28,    1,  178,    2, 0x0a /* Public */,
      29,    1,  181,    2, 0x0a /* Public */,
      31,    1,  184,    2, 0x0a /* Public */,
      32,    2,  187,    2, 0x0a /* Public */,
      35,    1,  192,    2, 0x08 /* Private */,
      38,    2,  195,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::UInt,    3,
    QMetaType::Void, QMetaType::Bool,    3,

 // slots: parameters
    0x80000000 | 10,
    0x80000000 | 12,
    0x80000000 | 10,
    0x80000000 | 15,
    QMetaType::Void,
    0x80000000 | 15, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::QString,   18,
    0x80000000 | 15, QMetaType::Bool,   21,
    QMetaType::Void, QMetaType::Bool,   21,
    0x80000000 | 15, QMetaType::QString,   24,
    QMetaType::Void, QMetaType::QString,   24,
    0x80000000 | 15, QMetaType::QString,   27,
    QMetaType::Void, QMetaType::QString,   27,
    0x80000000 | 15, QMetaType::UInt,   30,
    QMetaType::Void, QMetaType::UInt,   30,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   33,   34,
    QMetaType::Void, 0x80000000 | 36,   37,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   39,    3,

 // properties: name, type, flags
      40, QMetaType::QString, 0x00495001,
      41, QMetaType::Bool, 0x00495001,
      42, QMetaType::QString, 0x00495001,
      43, QMetaType::QString, 0x00495001,
      44, QMetaType::UInt, 0x00495001,
      45, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,

       0        // eod
};

void __Grub2::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Grub2 *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->DefaultEntryChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->EnableThemeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->ResolutionChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->ThemeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->TimeoutChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 5: _t->UpdatingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: { QDBusPendingReply<QString> _r = _t->GetAvailableResolutions();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<QStringList> _r = _t->GetSimpleEntryTitles();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<QString> _r = _t->GetThemes();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<> _r = _t->Reset();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->ResetQueued(); break;
        case 11: { QDBusPendingReply<> _r = _t->SetDefaultEntry((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->SetDefaultEntryQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: { QDBusPendingReply<> _r = _t->SetEnableTheme((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->SetEnableThemeQueued((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: { QDBusPendingReply<> _r = _t->SetResolution((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->SetResolutionQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: { QDBusPendingReply<> _r = _t->SetTheme((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->SetThemeQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: { QDBusPendingReply<> _r = _t->SetTimeout((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->SetTimeoutQueued((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 21: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 22: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 23: _t->onPropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__Grub2::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Grub2::DefaultEntryChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__Grub2::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Grub2::EnableThemeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__Grub2::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Grub2::ResolutionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__Grub2::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Grub2::ThemeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__Grub2::*)(uint ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Grub2::TimeoutChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (__Grub2::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Grub2::UpdatingChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__Grub2 *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->defaultEntry(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->enableTheme(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->resolution(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->theme(); break;
        case 4: *reinterpret_cast< uint*>(_v) = _t->timeout(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->updating(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __Grub2::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Grub2.data,
    qt_meta_data___Grub2,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *__Grub2::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata___Grub2.stringdata0))
        return static_cast<void*>(this);
    return DBusExtendedAbstractInterface::qt_metacast(_clname);
}

int __Grub2::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DBusExtendedAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void __Grub2::DefaultEntryChanged(const QString & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Grub2 *>(this), &staticMetaObject, 0, _a);
}

// SIGNAL 1
void __Grub2::EnableThemeChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Grub2 *>(this), &staticMetaObject, 1, _a);
}

// SIGNAL 2
void __Grub2::ResolutionChanged(const QString & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Grub2 *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void __Grub2::ThemeChanged(const QString & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Grub2 *>(this), &staticMetaObject, 3, _a);
}

// SIGNAL 4
void __Grub2::TimeoutChanged(uint _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Grub2 *>(this), &staticMetaObject, 4, _a);
}

// SIGNAL 5
void __Grub2::UpdatingChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Grub2 *>(this), &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
