/****************************************************************************
** Meta object code from reading C++ file 'grandsearchserviceadaptor.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/services/grandsearchserviceadaptor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'grandsearchserviceadaptor.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__GrandSearchServiceAdaptor_t {
    QByteArrayData data[10];
    char stringdata0[527];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GrandSearch__GrandSearchServiceAdaptor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GrandSearch__GrandSearchServiceAdaptor_t qt_meta_stringdata_GrandSearch__GrandSearchServiceAdaptor = {
    {
QT_MOC_LITERAL(0, 0, 38), // "GrandSearch::GrandSearchServi..."
QT_MOC_LITERAL(1, 39, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 55, 26), // "com.deepin.dde.GrandSearch"
QT_MOC_LITERAL(3, 82, 19), // "D-Bus Introspection"
QT_MOC_LITERAL(4, 102, 379), // "  <interface name=\"com.deepi..."
QT_MOC_LITERAL(5, 447, 14), // "VisibleChanged"
QT_MOC_LITERAL(6, 462, 0), // ""
QT_MOC_LITERAL(7, 463, 7), // "visible"
QT_MOC_LITERAL(8, 471, 9), // "IsVisible"
QT_MOC_LITERAL(9, 481, 10) // "SetVisible"

    },
    "GrandSearch::GrandSearchServiceAdaptor\0"
    "D-Bus Interface\0com.deepin.dde.GrandSearch\0"
    "D-Bus Introspection\0"
    "  <interface name=\"com.deepin.dde.GrandSearch\">\n    <signal name=\""
    "VisibleChanged\">\n      <arg direction=\"out\" type=\"b\" name=\"visi"
    "ble\"/>\n    </signal>\n    <method name=\"IsVisible\">\n      <arg di"
    "rection=\"out\" type=\"b\"/>\n    </method>\n    <method name=\"SetVis"
    "ible\">\n      <arg direction=\"in\" type=\"b\" name=\"visible\"/>\n  "
    "  </method>\n  </interface>\n\0"
    "VisibleChanged\0\0visible\0IsVisible\0"
    "SetVisible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GrandSearch__GrandSearchServiceAdaptor[] = {

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

 // classinfo: key, value
       1,    2,
       3,    4,

 // signals: name, argc, parameters, tag, flags
       5,    1,   33,    6, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   36,    6, 0x0a /* Public */,
       9,    1,   37,    6, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    7,

 // slots: parameters
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,    7,

       0        // eod
};

void GrandSearch::GrandSearchServiceAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GrandSearchServiceAdaptor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->VisibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: { bool _r = _t->IsVisible();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->SetVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GrandSearchServiceAdaptor::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GrandSearchServiceAdaptor::VisibleChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject GrandSearch::GrandSearchServiceAdaptor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_meta_stringdata_GrandSearch__GrandSearchServiceAdaptor.data,
    qt_meta_data_GrandSearch__GrandSearchServiceAdaptor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int GrandSearch::GrandSearchServiceAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}

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