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

#include <memory>
#include "../../../../3rdparty/interfaces/daemongrandsearchinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'daemongrandsearchinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_GrandSearch__DaemonGrandSearchInterface_t {
    QByteArrayData data[23];
    char stringdata0[332];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GrandSearch__DaemonGrandSearchInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GrandSearch__DaemonGrandSearchInterface_t qt_meta_stringdata_GrandSearch__DaemonGrandSearchInterface = {
    {
QT_MOC_LITERAL(0, 0, 39), // "GrandSearch::DaemonGrandSearc..."
QT_MOC_LITERAL(1, 40, 7), // "Matched"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 7), // "session"
QT_MOC_LITERAL(4, 57, 15), // "SearchCompleted"
QT_MOC_LITERAL(5, 73, 13), // "Configuration"
QT_MOC_LITERAL(6, 87, 30), // "QDBusPendingReply<QVariantMap>"
QT_MOC_LITERAL(7, 118, 9), // "Configure"
QT_MOC_LITERAL(8, 128, 23), // "QDBusPendingReply<bool>"
QT_MOC_LITERAL(9, 152, 3), // "in0"
QT_MOC_LITERAL(10, 156, 16), // "FeedBackStrategy"
QT_MOC_LITERAL(11, 173, 9), // "KeepAlive"
QT_MOC_LITERAL(12, 183, 13), // "MatchedBuffer"
QT_MOC_LITERAL(13, 197, 29), // "QDBusPendingReply<QByteArray>"
QT_MOC_LITERAL(14, 227, 14), // "MatchedResults"
QT_MOC_LITERAL(15, 242, 14), // "OpenWithPlugin"
QT_MOC_LITERAL(16, 257, 8), // "searcher"
QT_MOC_LITERAL(17, 266, 4), // "item"
QT_MOC_LITERAL(18, 271, 6), // "Search"
QT_MOC_LITERAL(19, 278, 3), // "key"
QT_MOC_LITERAL(20, 282, 19), // "SetFeedBackStrategy"
QT_MOC_LITERAL(21, 302, 9), // "Terminate"
QT_MOC_LITERAL(22, 312, 19) // "QDBusPendingReply<>"

    },
    "GrandSearch::DaemonGrandSearchInterface\0"
    "Matched\0\0session\0SearchCompleted\0"
    "Configuration\0QDBusPendingReply<QVariantMap>\0"
    "Configure\0QDBusPendingReply<bool>\0in0\0"
    "FeedBackStrategy\0KeepAlive\0MatchedBuffer\0"
    "QDBusPendingReply<QByteArray>\0"
    "MatchedResults\0OpenWithPlugin\0searcher\0"
    "item\0Search\0key\0SetFeedBackStrategy\0"
    "Terminate\0QDBusPendingReply<>"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GrandSearch__DaemonGrandSearchInterface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       4,    1,   77,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   80,    2, 0x0a /* Public */,
       7,    1,   81,    2, 0x0a /* Public */,
      10,    0,   84,    2, 0x0a /* Public */,
      11,    1,   85,    2, 0x0a /* Public */,
      12,    1,   88,    2, 0x0a /* Public */,
      14,    1,   91,    2, 0x0a /* Public */,
      15,    2,   94,    2, 0x0a /* Public */,
      18,    2,   99,    2, 0x0a /* Public */,
      20,    1,  104,    2, 0x0a /* Public */,
      21,    0,  107,    2, 0x0a /* Public */,

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

 // slots: parameters
    0x80000000 | 6,
    0x80000000 | 8, QMetaType::QVariantMap,    9,
    0x80000000 | 6,
    0x80000000 | 8, QMetaType::QString,    3,
    0x80000000 | 13, QMetaType::QString,    3,
    0x80000000 | 13, QMetaType::QString,    3,
    0x80000000 | 8, QMetaType::QString, QMetaType::QString,   16,   17,
    0x80000000 | 8, QMetaType::QString, QMetaType::QString,    3,   19,
    0x80000000 | 8, QMetaType::QVariantMap,    9,
    0x80000000 | 22,

       0        // eod
};

void GrandSearch::DaemonGrandSearchInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DaemonGrandSearchInterface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Matched((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->SearchCompleted((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: { QDBusPendingReply<QVariantMap> _r = _t->Configuration();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<bool> _r = _t->Configure((*reinterpret_cast< const QVariantMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<QVariantMap> _r = _t->FeedBackStrategy();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<bool> _r = _t->KeepAlive((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<QByteArray> _r = _t->MatchedBuffer((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QByteArray>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<QByteArray> _r = _t->MatchedResults((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QByteArray>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<bool> _r = _t->OpenWithPlugin((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<bool> _r = _t->Search((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<bool> _r = _t->SetFeedBackStrategy((*reinterpret_cast< const QVariantMap(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->Terminate();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DaemonGrandSearchInterface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DaemonGrandSearchInterface::Matched)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DaemonGrandSearchInterface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DaemonGrandSearchInterface::SearchCompleted)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject GrandSearch::DaemonGrandSearchInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata_GrandSearch__DaemonGrandSearchInterface.data,
    qt_meta_data_GrandSearch__DaemonGrandSearchInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int GrandSearch::DaemonGrandSearchInterface::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}

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

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