/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_daemon_search.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_search.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_search.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___Search_t {
    QByteArrayData data[20];
    char stringdata0[273];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Search_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Search_t qt_meta_stringdata___Search = {
    {
QT_MOC_LITERAL(0, 0, 8), // "__Search"
QT_MOC_LITERAL(1, 9, 20), // "NewSearchWithStrDict"
QT_MOC_LITERAL(2, 30, 31), // "QDBusPendingReply<QString,bool>"
QT_MOC_LITERAL(3, 62, 0), // ""
QT_MOC_LITERAL(4, 63, 9), // "SearchMap"
QT_MOC_LITERAL(5, 73, 3), // "in0"
QT_MOC_LITERAL(6, 77, 19), // "QDBusReply<QString>"
QT_MOC_LITERAL(7, 97, 5), // "bool&"
QT_MOC_LITERAL(8, 103, 4), // "out1"
QT_MOC_LITERAL(9, 108, 20), // "NewSearchWithStrList"
QT_MOC_LITERAL(10, 129, 21), // "SearchStartWithString"
QT_MOC_LITERAL(11, 151, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(12, 182, 3), // "in1"
QT_MOC_LITERAL(13, 186, 12), // "SearchString"
QT_MOC_LITERAL(14, 199, 10), // "CallQueued"
QT_MOC_LITERAL(15, 210, 8), // "callName"
QT_MOC_LITERAL(16, 219, 4), // "args"
QT_MOC_LITERAL(17, 224, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(18, 246, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(19, 271, 1) // "w"

    },
    "__Search\0NewSearchWithStrDict\0"
    "QDBusPendingReply<QString,bool>\0\0"
    "SearchMap\0in0\0QDBusReply<QString>\0"
    "bool&\0out1\0NewSearchWithStrList\0"
    "SearchStartWithString\0"
    "QDBusPendingReply<QStringList>\0in1\0"
    "SearchString\0CallQueued\0callName\0args\0"
    "onPendingCallFinished\0QDBusPendingCallWatcher*\0"
    "w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Search[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    3, 0x0a /* Public */,
       1,    2,   57,    3, 0x0a /* Public */,
       9,    1,   62,    3, 0x0a /* Public */,
       9,    2,   65,    3, 0x0a /* Public */,
      10,    2,   70,    3, 0x0a /* Public */,
      13,    2,   75,    3, 0x0a /* Public */,
      14,    2,   80,    3, 0x0a /* Public */,
      17,    1,   85,    3, 0x08 /* Private */,

 // slots: parameters
    0x80000000 | 2, 0x80000000 | 4,    5,
    0x80000000 | 6, 0x80000000 | 4, 0x80000000 | 7,    5,    8,
    0x80000000 | 2, QMetaType::QStringList,    5,
    0x80000000 | 6, QMetaType::QStringList, 0x80000000 | 7,    5,    8,
    0x80000000 | 11, QMetaType::QString, QMetaType::QString,    5,   12,
    0x80000000 | 11, QMetaType::QString, QMetaType::QString,    5,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   15,   16,
    QMetaType::Void, 0x80000000 | 18,   19,

       0        // eod
};

void __Search::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Search *>(_o);
        (void)_t;
        switch (_id) {
        case 0: { QDBusPendingReply<QString,bool> _r = _t->NewSearchWithStrDict((*reinterpret_cast< SearchMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString,bool>*>(_a[0]) = std::move(_r); }  break;
        case 1: { QDBusReply<QString> _r = _t->NewSearchWithStrDict((*reinterpret_cast< SearchMap(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 2: { QDBusPendingReply<QString,bool> _r = _t->NewSearchWithStrList((*reinterpret_cast< const QStringList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString,bool>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusReply<QString> _r = _t->NewSearchWithStrList((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<QStringList> _r = _t->SearchStartWithString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<QStringList> _r = _t->SearchString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 7: _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 7:
            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;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __Search::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Search.data,
    qt_meta_data___Search,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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