/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_daemon_mime.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_mime.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_mime.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___Mime_t {
    QByteArrayData data[25];
    char stringdata0[323];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Mime_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Mime_t qt_meta_stringdata___Mime = {
    {
QT_MOC_LITERAL(0, 0, 6), // "__Mime"
QT_MOC_LITERAL(1, 7, 6), // "Change"
QT_MOC_LITERAL(2, 14, 0), // ""
QT_MOC_LITERAL(3, 15, 10), // "AddUserApp"
QT_MOC_LITERAL(4, 26, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(5, 46, 9), // "mimeTypes"
QT_MOC_LITERAL(6, 56, 9), // "desktopId"
QT_MOC_LITERAL(7, 66, 16), // "AddUserAppQueued"
QT_MOC_LITERAL(8, 83, 9), // "DeleteApp"
QT_MOC_LITERAL(9, 93, 15), // "DeleteAppQueued"
QT_MOC_LITERAL(10, 109, 13), // "DeleteUserApp"
QT_MOC_LITERAL(11, 123, 19), // "DeleteUserAppQueued"
QT_MOC_LITERAL(12, 143, 13), // "GetDefaultApp"
QT_MOC_LITERAL(13, 157, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(14, 184, 8), // "mimeType"
QT_MOC_LITERAL(15, 193, 8), // "ListApps"
QT_MOC_LITERAL(16, 202, 12), // "ListUserApps"
QT_MOC_LITERAL(17, 215, 13), // "SetDefaultApp"
QT_MOC_LITERAL(18, 229, 19), // "SetDefaultAppQueued"
QT_MOC_LITERAL(19, 249, 10), // "CallQueued"
QT_MOC_LITERAL(20, 260, 8), // "callName"
QT_MOC_LITERAL(21, 269, 4), // "args"
QT_MOC_LITERAL(22, 274, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(23, 296, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(24, 321, 1) // "w"

    },
    "__Mime\0Change\0\0AddUserApp\0QDBusPendingReply<>\0"
    "mimeTypes\0desktopId\0AddUserAppQueued\0"
    "DeleteApp\0DeleteAppQueued\0DeleteUserApp\0"
    "DeleteUserAppQueued\0GetDefaultApp\0"
    "QDBusPendingReply<QString>\0mimeType\0"
    "ListApps\0ListUserApps\0SetDefaultApp\0"
    "SetDefaultAppQueued\0CallQueued\0callName\0"
    "args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Mime[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    2,   85,    2, 0x0a /* Public */,
       7,    2,   90,    2, 0x0a /* Public */,
       8,    2,   95,    2, 0x0a /* Public */,
       9,    2,  100,    2, 0x0a /* Public */,
      10,    1,  105,    2, 0x0a /* Public */,
      11,    1,  108,    2, 0x0a /* Public */,
      12,    1,  111,    2, 0x0a /* Public */,
      15,    1,  114,    2, 0x0a /* Public */,
      16,    1,  117,    2, 0x0a /* Public */,
      17,    2,  120,    2, 0x0a /* Public */,
      18,    2,  125,    2, 0x0a /* Public */,
      19,    2,  130,    2, 0x0a /* Public */,
      22,    1,  135,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    0x80000000 | 4, QMetaType::QStringList, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QStringList, QMetaType::QString,    5,    6,
    0x80000000 | 4, QMetaType::QStringList, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QStringList, QMetaType::QString,    5,    6,
    0x80000000 | 4, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString,    6,
    0x80000000 | 13, QMetaType::QString,   14,
    0x80000000 | 13, QMetaType::QString,   14,
    0x80000000 | 13, QMetaType::QString,   14,
    0x80000000 | 4, QMetaType::QStringList, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QStringList, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   20,   21,
    QMetaType::Void, 0x80000000 | 23,   24,

       0        // eod
};

void __Mime::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Mime *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Change(); break;
        case 1: { QDBusPendingReply<> _r = _t->AddUserApp((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->AddUserAppQueued((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: { QDBusPendingReply<> _r = _t->DeleteApp((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->DeleteAppQueued((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: { QDBusPendingReply<> _r = _t->DeleteUserApp((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->DeleteUserAppQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: { QDBusPendingReply<QString> _r = _t->GetDefaultApp((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<QString> _r = _t->ListApps((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<QString> _r = _t->ListUserApps((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<> _r = _t->SetDefaultApp((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->SetDefaultAppQueued((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 12: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 13: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 13:
            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 (__Mime::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Mime::Change)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __Mime::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Mime.data,
    qt_meta_data___Mime,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __Mime::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void __Mime::Change()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
