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

#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'contact-search-channel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.2. 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
struct qt_meta_stringdata_Tp__ContactSearchChannel_t {
    QByteArrayData data[22];
    char stringdata[405];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__ContactSearchChannel_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__ContactSearchChannel_t qt_meta_stringdata_Tp__ContactSearchChannel = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Tp::ContactSearchChannel"
QT_MOC_LITERAL(1, 25, 18), // "searchStateChanged"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 29), // "Tp::ChannelContactSearchState"
QT_MOC_LITERAL(4, 75, 5), // "state"
QT_MOC_LITERAL(5, 81, 9), // "errorName"
QT_MOC_LITERAL(6, 91, 50), // "Tp::ContactSearchChannel::Sea..."
QT_MOC_LITERAL(7, 142, 7), // "details"
QT_MOC_LITERAL(8, 150, 20), // "searchResultReceived"
QT_MOC_LITERAL(9, 171, 38), // "Tp::ContactSearchChannel::Sea..."
QT_MOC_LITERAL(10, 210, 6), // "result"
QT_MOC_LITERAL(11, 217, 13), // "gotProperties"
QT_MOC_LITERAL(12, 231, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(13, 256, 7), // "watcher"
QT_MOC_LITERAL(14, 264, 14), // "gotSearchState"
QT_MOC_LITERAL(15, 279, 20), // "onSearchStateChanged"
QT_MOC_LITERAL(16, 300, 5), // "error"
QT_MOC_LITERAL(17, 306, 22), // "onSearchResultReceived"
QT_MOC_LITERAL(18, 329, 26), // "Tp::ContactSearchResultMap"
QT_MOC_LITERAL(19, 356, 23), // "gotSearchResultContacts"
QT_MOC_LITERAL(20, 380, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(21, 402, 2) // "op"

    },
    "Tp::ContactSearchChannel\0searchStateChanged\0"
    "\0Tp::ChannelContactSearchState\0state\0"
    "errorName\0Tp::ContactSearchChannel::SearchStateChangeDetails\0"
    "details\0searchResultReceived\0"
    "Tp::ContactSearchChannel::SearchResult\0"
    "result\0gotProperties\0QDBusPendingCallWatcher*\0"
    "watcher\0gotSearchState\0onSearchStateChanged\0"
    "error\0onSearchResultReceived\0"
    "Tp::ContactSearchResultMap\0"
    "gotSearchResultContacts\0Tp::PendingOperation*\0"
    "op"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__ContactSearchChannel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   49,    2, 0x06 /* Public */,
       8,    1,   56,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,   59,    2, 0x08 /* Private */,
      14,    1,   62,    2, 0x08 /* Private */,
      15,    3,   65,    2, 0x08 /* Private */,
      17,    1,   72,    2, 0x08 /* Private */,
      19,    1,   75,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, 0x80000000 | 6,    4,    5,    7,
    QMetaType::Void, 0x80000000 | 9,   10,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, QMetaType::UInt, QMetaType::QString, QMetaType::QVariantMap,    4,   16,    7,
    QMetaType::Void, 0x80000000 | 18,   10,
    QMetaType::Void, 0x80000000 | 20,   21,

       0        // eod
};

void Tp::ContactSearchChannel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ContactSearchChannel *_t = static_cast<ContactSearchChannel *>(_o);
        switch (_id) {
        case 0: _t->searchStateChanged((*reinterpret_cast< Tp::ChannelContactSearchState(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const Tp::ContactSearchChannel::SearchStateChangeDetails(*)>(_a[3]))); break;
        case 1: _t->searchResultReceived((*reinterpret_cast< const Tp::ContactSearchChannel::SearchResult(*)>(_a[1]))); break;
        case 2: _t->gotProperties((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 3: _t->gotSearchState((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 4: _t->onSearchStateChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariantMap(*)>(_a[3]))); break;
        case 5: _t->onSearchResultReceived((*reinterpret_cast< const Tp::ContactSearchResultMap(*)>(_a[1]))); break;
        case 6: _t->gotSearchResultContacts((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            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;
        case 3:
            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;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::ContactSearchResultMap >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ContactSearchChannel::*_t)(Tp::ChannelContactSearchState , const QString & , const Tp::ContactSearchChannel::SearchStateChangeDetails & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContactSearchChannel::searchStateChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (ContactSearchChannel::*_t)(const Tp::ContactSearchChannel::SearchResult & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContactSearchChannel::searchResultReceived)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject Tp::ContactSearchChannel::staticMetaObject = {
    { &Channel::staticMetaObject, qt_meta_stringdata_Tp__ContactSearchChannel.data,
      qt_meta_data_Tp__ContactSearchChannel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::ContactSearchChannel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__ContactSearchChannel.stringdata))
        return static_cast<void*>(const_cast< ContactSearchChannel*>(this));
    return Channel::qt_metacast(_clname);
}

int Tp::ContactSearchChannel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Channel::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void Tp::ContactSearchChannel::searchStateChanged(Tp::ChannelContactSearchState _t1, const QString & _t2, const Tp::ContactSearchChannel::SearchStateChangeDetails & _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Tp::ContactSearchChannel::searchResultReceived(const Tp::ContactSearchChannel::SearchResult & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
