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

#include "../../../../../plugins/rubbish-clear/dbus/systeminterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'systeminterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.12. 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_KylinRubbishClear__SystemInterface_t {
    QByteArrayData data[21];
    char stringdata0[298];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KylinRubbishClear__SystemInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KylinRubbishClear__SystemInterface_t qt_meta_stringdata_KylinRubbishClear__SystemInterface = {
    {
QT_MOC_LITERAL(0, 0, 34), // "KylinRubbishClear::SystemInte..."
QT_MOC_LITERAL(1, 35, 15), // "alertCustomData"
QT_MOC_LITERAL(2, 51, 0), // ""
QT_MOC_LITERAL(3, 52, 10), // "CustomData"
QT_MOC_LITERAL(4, 63, 7), // "message"
QT_MOC_LITERAL(5, 71, 11), // "reportAlert"
QT_MOC_LITERAL(6, 83, 3), // "ret"
QT_MOC_LITERAL(7, 87, 11), // "description"
QT_MOC_LITERAL(8, 99, 8), // "demoInfo"
QT_MOC_LITERAL(9, 108, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(10, 135, 11), // "exitService"
QT_MOC_LITERAL(11, 147, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(12, 167, 13), // "getCustomData"
QT_MOC_LITERAL(13, 181, 29), // "QDBusPendingReply<CustomData>"
QT_MOC_LITERAL(14, 211, 14), // "sendCustomData"
QT_MOC_LITERAL(15, 226, 12), // "userIsActive"
QT_MOC_LITERAL(16, 239, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(17, 263, 4), // "user"
QT_MOC_LITERAL(18, 268, 6), // "active"
QT_MOC_LITERAL(19, 275, 7), // "Customs"
QT_MOC_LITERAL(20, 283, 14) // "CustomDataList"

    },
    "KylinRubbishClear::SystemInterface\0"
    "alertCustomData\0\0CustomData\0message\0"
    "reportAlert\0ret\0description\0demoInfo\0"
    "QDBusPendingReply<QString>\0exitService\0"
    "QDBusPendingReply<>\0getCustomData\0"
    "QDBusPendingReply<CustomData>\0"
    "sendCustomData\0userIsActive\0"
    "QDBusPendingReply<bool>\0user\0active\0"
    "Customs\0CustomDataList"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KylinRubbishClear__SystemInterface[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       8,    0,   57,    2, 0x0a /* Public */,
      10,    0,   58,    2, 0x0a /* Public */,
      12,    0,   59,    2, 0x0a /* Public */,
      14,    1,   60,    2, 0x0a /* Public */,
      15,    2,   63,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    6,    7,

 // slots: parameters
    0x80000000 | 9,
    0x80000000 | 11,
    0x80000000 | 13,
    0x80000000 | 11, 0x80000000 | 3,    4,
    0x80000000 | 16, QMetaType::QString, QMetaType::Bool,   17,   18,

 // properties: name, type, flags
      19, 0x80000000 | 20, 0x00095009,

       0        // eod
};

void KylinRubbishClear::SystemInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SystemInterface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->alertCustomData((*reinterpret_cast< CustomData(*)>(_a[1]))); break;
        case 1: _t->reportAlert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: { QDBusPendingReply<QString> _r = _t->demoInfo();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<> _r = _t->exitService();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<CustomData> _r = _t->getCustomData();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<CustomData>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<> _r = _t->sendCustomData((*reinterpret_cast< CustomData(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<bool> _r = _t->userIsActive((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SystemInterface::*)(CustomData );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SystemInterface::alertCustomData)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SystemInterface::*)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SystemInterface::reportAlert)) {
                *result = 1;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< CustomDataList >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<SystemInterface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< CustomDataList*>(_v) = _t->customs(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject KylinRubbishClear::SystemInterface::staticMetaObject = { {
    &QDBusAbstractInterface::staticMetaObject,
    qt_meta_stringdata_KylinRubbishClear__SystemInterface.data,
    qt_meta_data_KylinRubbishClear__SystemInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KylinRubbishClear::SystemInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KylinRubbishClear__SystemInterface.stringdata0))
        return static_cast<void*>(this);
    return QDBusAbstractInterface::qt_metacast(_clname);
}

int KylinRubbishClear::SystemInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#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 KylinRubbishClear::SystemInterface::alertCustomData(CustomData _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KylinRubbishClear::SystemInterface::reportAlert(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
