/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_startmanager.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_startmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_startmanager.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___StartManager_t {
    QByteArrayData data[37];
    char stringdata0[516];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___StartManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___StartManager_t qt_meta_stringdata___StartManager = {
    {
QT_MOC_LITERAL(0, 0, 14), // "__StartManager"
QT_MOC_LITERAL(1, 15, 16), // "AutostartChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 3), // "in0"
QT_MOC_LITERAL(4, 37, 3), // "in1"
QT_MOC_LITERAL(5, 41, 19), // "NeededMemoryChanged"
QT_MOC_LITERAL(6, 61, 5), // "value"
QT_MOC_LITERAL(7, 67, 12), // "AddAutostart"
QT_MOC_LITERAL(8, 80, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(9, 104, 13), // "AutostartList"
QT_MOC_LITERAL(10, 118, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(11, 149, 7), // "GetApps"
QT_MOC_LITERAL(12, 157, 33), // "QDBusPendingReply<AppsCGroupI..."
QT_MOC_LITERAL(13, 191, 11), // "IsAutostart"
QT_MOC_LITERAL(14, 203, 15), // "IsMemSufficient"
QT_MOC_LITERAL(15, 219, 6), // "Launch"
QT_MOC_LITERAL(16, 226, 9), // "LaunchApp"
QT_MOC_LITERAL(17, 236, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(18, 256, 3), // "in2"
QT_MOC_LITERAL(19, 260, 15), // "LaunchAppQueued"
QT_MOC_LITERAL(20, 276, 15), // "LaunchAppAction"
QT_MOC_LITERAL(21, 292, 21), // "LaunchAppActionQueued"
QT_MOC_LITERAL(22, 314, 19), // "LaunchWithTimestamp"
QT_MOC_LITERAL(23, 334, 15), // "RemoveAutostart"
QT_MOC_LITERAL(24, 350, 10), // "RunCommand"
QT_MOC_LITERAL(25, 361, 16), // "RunCommandQueued"
QT_MOC_LITERAL(26, 378, 8), // "TryAgain"
QT_MOC_LITERAL(27, 387, 14), // "TryAgainQueued"
QT_MOC_LITERAL(28, 402, 10), // "CallQueued"
QT_MOC_LITERAL(29, 413, 8), // "callName"
QT_MOC_LITERAL(30, 422, 4), // "args"
QT_MOC_LITERAL(31, 427, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(32, 449, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(33, 474, 1), // "w"
QT_MOC_LITERAL(34, 476, 17), // "onPropertyChanged"
QT_MOC_LITERAL(35, 494, 8), // "propName"
QT_MOC_LITERAL(36, 503, 12) // "NeededMemory"

    },
    "__StartManager\0AutostartChanged\0\0in0\0"
    "in1\0NeededMemoryChanged\0value\0"
    "AddAutostart\0QDBusPendingReply<bool>\0"
    "AutostartList\0QDBusPendingReply<QStringList>\0"
    "GetApps\0QDBusPendingReply<AppsCGroupInfo>\0"
    "IsAutostart\0IsMemSufficient\0Launch\0"
    "LaunchApp\0QDBusPendingReply<>\0in2\0"
    "LaunchAppQueued\0LaunchAppAction\0"
    "LaunchAppActionQueued\0LaunchWithTimestamp\0"
    "RemoveAutostart\0RunCommand\0RunCommandQueued\0"
    "TryAgain\0TryAgainQueued\0CallQueued\0"
    "callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0NeededMemory"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___StartManager[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       1,  204, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,  119,    2, 0x06 /* Public */,
       5,    1,  124,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,  127,    2, 0x0a /* Public */,
       9,    0,  130,    2, 0x0a /* Public */,
      11,    0,  131,    2, 0x0a /* Public */,
      13,    1,  132,    2, 0x0a /* Public */,
      14,    0,  135,    2, 0x0a /* Public */,
      15,    1,  136,    2, 0x0a /* Public */,
      16,    3,  139,    2, 0x0a /* Public */,
      19,    3,  146,    2, 0x0a /* Public */,
      20,    3,  153,    2, 0x0a /* Public */,
      21,    3,  160,    2, 0x0a /* Public */,
      22,    2,  167,    2, 0x0a /* Public */,
      23,    1,  172,    2, 0x0a /* Public */,
      24,    2,  175,    2, 0x0a /* Public */,
      25,    2,  180,    2, 0x0a /* Public */,
      26,    1,  185,    2, 0x0a /* Public */,
      27,    1,  188,    2, 0x0a /* Public */,
      28,    2,  191,    2, 0x0a /* Public */,
      31,    1,  196,    2, 0x08 /* Private */,
      34,    2,  199,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::ULongLong,    6,

 // slots: parameters
    0x80000000 | 8, QMetaType::QString,    3,
    0x80000000 | 10,
    0x80000000 | 12,
    0x80000000 | 8, QMetaType::QString,    3,
    0x80000000 | 8,
    0x80000000 | 8, QMetaType::QString,    3,
    0x80000000 | 17, QMetaType::QString, QMetaType::UInt, QMetaType::QStringList,    3,    4,   18,
    QMetaType::Void, QMetaType::QString, QMetaType::UInt, QMetaType::QStringList,    3,    4,   18,
    0x80000000 | 17, QMetaType::QString, QMetaType::QString, QMetaType::UInt,    3,    4,   18,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt,    3,    4,   18,
    0x80000000 | 8, QMetaType::QString, QMetaType::UInt,    3,    4,
    0x80000000 | 8, QMetaType::QString,    3,
    0x80000000 | 17, QMetaType::QString, QMetaType::QStringList,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QStringList,    3,    4,
    0x80000000 | 17, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   29,   30,
    QMetaType::Void, 0x80000000 | 32,   33,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   35,    6,

 // properties: name, type, flags
      36, QMetaType::ULongLong, 0x00495001,

 // properties: notify_signal_id
       1,

       0        // eod
};

void __StartManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__StartManager *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->AutostartChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->NeededMemoryChanged((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 2: { QDBusPendingReply<bool> _r = _t->AddAutostart((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<QStringList> _r = _t->AutostartList();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<AppsCGroupInfo> _r = _t->GetApps();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<AppsCGroupInfo>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<bool> _r = _t->IsAutostart((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<bool> _r = _t->IsMemSufficient();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<bool> _r = _t->Launch((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<> _r = _t->LaunchApp((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QStringList(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->LaunchAppQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QStringList(*)>(_a[3]))); break;
        case 10: { QDBusPendingReply<> _r = _t->LaunchAppAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->LaunchAppActionQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 12: { QDBusPendingReply<bool> _r = _t->LaunchWithTimestamp((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusPendingReply<bool> _r = _t->RemoveAutostart((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QDBusPendingReply<> _r = _t->RunCommand((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->RunCommandQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 16: { QDBusPendingReply<> _r = _t->TryAgain((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->TryAgainQueued((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 19: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 20: _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 19:
            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 (__StartManager::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__StartManager::AutostartChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__StartManager::*)(qulonglong ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__StartManager::NeededMemoryChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__StartManager *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qulonglong*>(_v) = _t->neededMemory(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __StartManager::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___StartManager.data,
    qt_meta_data___StartManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __StartManager::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#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 -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void __StartManager::NeededMemoryChanged(qulonglong _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __StartManager *>(this), &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
