/****************************************************************************
** Meta object code from reading C++ file 'simple-observer-internal.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>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'simple-observer-internal.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__SimpleObserver__Private__FakeAccountFactory_t {
    QByteArrayData data[1];
    char stringdata[48];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__SimpleObserver__Private__FakeAccountFactory_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__SimpleObserver__Private__FakeAccountFactory_t qt_meta_stringdata_Tp__SimpleObserver__Private__FakeAccountFactory = {
    {
QT_MOC_LITERAL(0, 0, 47) // "Tp::SimpleObserver::Private::..."

    },
    "Tp::SimpleObserver::Private::FakeAccountFactory"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__SimpleObserver__Private__FakeAccountFactory[] = {

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

       0        // eod
};

void Tp::SimpleObserver::Private::FakeAccountFactory::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject Tp::SimpleObserver::Private::FakeAccountFactory::staticMetaObject = {
    { &AccountFactory::staticMetaObject, qt_meta_stringdata_Tp__SimpleObserver__Private__FakeAccountFactory.data,
      qt_meta_data_Tp__SimpleObserver__Private__FakeAccountFactory,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::SimpleObserver::Private::FakeAccountFactory::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__SimpleObserver__Private__FakeAccountFactory.stringdata))
        return static_cast<void*>(const_cast< FakeAccountFactory*>(this));
    return AccountFactory::qt_metacast(_clname);
}

int Tp::SimpleObserver::Private::FakeAccountFactory::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AccountFactory::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_Tp__SimpleObserver__Private__Observer_t {
    QByteArrayData data[17];
    char stringdata[255];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__SimpleObserver__Private__Observer_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__SimpleObserver__Private__Observer_t qt_meta_stringdata_Tp__SimpleObserver__Private__Observer = {
    {
QT_MOC_LITERAL(0, 0, 37), // "Tp::SimpleObserver::Private::..."
QT_MOC_LITERAL(1, 38, 11), // "newChannels"
QT_MOC_LITERAL(2, 50, 0), // ""
QT_MOC_LITERAL(3, 51, 14), // "Tp::AccountPtr"
QT_MOC_LITERAL(4, 66, 15), // "channelsAccount"
QT_MOC_LITERAL(5, 82, 21), // "QList<Tp::ChannelPtr>"
QT_MOC_LITERAL(6, 104, 8), // "channels"
QT_MOC_LITERAL(7, 113, 18), // "channelInvalidated"
QT_MOC_LITERAL(8, 132, 14), // "channelAccount"
QT_MOC_LITERAL(9, 147, 14), // "Tp::ChannelPtr"
QT_MOC_LITERAL(10, 162, 7), // "channel"
QT_MOC_LITERAL(11, 170, 9), // "errorName"
QT_MOC_LITERAL(12, 180, 12), // "errorMessage"
QT_MOC_LITERAL(13, 193, 20), // "onChannelInvalidated"
QT_MOC_LITERAL(14, 214, 15), // "onChannelsReady"
QT_MOC_LITERAL(15, 230, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(16, 252, 2) // "op"

    },
    "Tp::SimpleObserver::Private::Observer\0"
    "newChannels\0\0Tp::AccountPtr\0channelsAccount\0"
    "QList<Tp::ChannelPtr>\0channels\0"
    "channelInvalidated\0channelAccount\0"
    "Tp::ChannelPtr\0channel\0errorName\0"
    "errorMessage\0onChannelInvalidated\0"
    "onChannelsReady\0Tp::PendingOperation*\0"
    "op"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__SimpleObserver__Private__Observer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   34,    2, 0x06 /* Public */,
       7,    4,   39,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    4,   48,    2, 0x08 /* Private */,
      14,    1,   57,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 9, QMetaType::QString, QMetaType::QString,    8,   10,   11,   12,
    QMetaType::Void, 0x80000000 | 15,   16,

       0        // eod
};

void Tp::SimpleObserver::Private::Observer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Observer *_t = static_cast<Observer *>(_o);
        switch (_id) {
        case 0: _t->newChannels((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const QList<Tp::ChannelPtr>(*)>(_a[2]))); break;
        case 1: _t->channelInvalidated((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::ChannelPtr(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 2: _t->onChannelInvalidated((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::ChannelPtr(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 3: _t->onChannelsReady((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Observer::*_t)(const Tp::AccountPtr & , const QList<Tp::ChannelPtr> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Observer::newChannels)) {
                *result = 0;
            }
        }
        {
            typedef void (Observer::*_t)(const Tp::AccountPtr & , const Tp::ChannelPtr & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Observer::channelInvalidated)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject Tp::SimpleObserver::Private::Observer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tp__SimpleObserver__Private__Observer.data,
      qt_meta_data_Tp__SimpleObserver__Private__Observer,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::SimpleObserver::Private::Observer::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__SimpleObserver__Private__Observer.stringdata))
        return static_cast<void*>(const_cast< Observer*>(this));
    if (!strcmp(_clname, "AbstractClientObserver"))
        return static_cast< AbstractClientObserver*>(const_cast< Observer*>(this));
    return QObject::qt_metacast(_clname);
}

int Tp::SimpleObserver::Private::Observer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void Tp::SimpleObserver::Private::Observer::newChannels(const Tp::AccountPtr & _t1, const QList<Tp::ChannelPtr> & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Tp::SimpleObserver::Private::Observer::channelInvalidated(const Tp::AccountPtr & _t1, const Tp::ChannelPtr & _t2, const QString & _t3, const QString & _t4)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_Tp__SimpleObserver__Private__ChannelWrapper_t {
    QByteArrayData data[12];
    char stringdata[182];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__SimpleObserver__Private__ChannelWrapper_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__SimpleObserver__Private__ChannelWrapper_t qt_meta_stringdata_Tp__SimpleObserver__Private__ChannelWrapper = {
    {
QT_MOC_LITERAL(0, 0, 43), // "Tp::SimpleObserver::Private::..."
QT_MOC_LITERAL(1, 44, 18), // "channelInvalidated"
QT_MOC_LITERAL(2, 63, 0), // ""
QT_MOC_LITERAL(3, 64, 14), // "Tp::AccountPtr"
QT_MOC_LITERAL(4, 79, 14), // "channelAccount"
QT_MOC_LITERAL(5, 94, 14), // "Tp::ChannelPtr"
QT_MOC_LITERAL(6, 109, 7), // "channel"
QT_MOC_LITERAL(7, 117, 9), // "errorName"
QT_MOC_LITERAL(8, 127, 12), // "errorMessage"
QT_MOC_LITERAL(9, 140, 20), // "onChannelInvalidated"
QT_MOC_LITERAL(10, 161, 14), // "Tp::DBusProxy*"
QT_MOC_LITERAL(11, 176, 5) // "proxy"

    },
    "Tp::SimpleObserver::Private::ChannelWrapper\0"
    "channelInvalidated\0\0Tp::AccountPtr\0"
    "channelAccount\0Tp::ChannelPtr\0channel\0"
    "errorName\0errorMessage\0onChannelInvalidated\0"
    "Tp::DBusProxy*\0proxy"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__SimpleObserver__Private__ChannelWrapper[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       9,    3,   33,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 10, QMetaType::QString, QMetaType::QString,   11,    7,    8,

       0        // eod
};

void Tp::SimpleObserver::Private::ChannelWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ChannelWrapper *_t = static_cast<ChannelWrapper *>(_o);
        switch (_id) {
        case 0: _t->channelInvalidated((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::ChannelPtr(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 1: _t->onChannelInvalidated((*reinterpret_cast< Tp::DBusProxy*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::DBusProxy* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ChannelWrapper::*_t)(const Tp::AccountPtr & , const Tp::ChannelPtr & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ChannelWrapper::channelInvalidated)) {
                *result = 0;
            }
        }
    }
}

const QMetaObject Tp::SimpleObserver::Private::ChannelWrapper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tp__SimpleObserver__Private__ChannelWrapper.data,
      qt_meta_data_Tp__SimpleObserver__Private__ChannelWrapper,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::SimpleObserver::Private::ChannelWrapper::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__SimpleObserver__Private__ChannelWrapper.stringdata))
        return static_cast<void*>(const_cast< ChannelWrapper*>(this));
    return QObject::qt_metacast(_clname);
}

int Tp::SimpleObserver::Private::ChannelWrapper::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void Tp::SimpleObserver::Private::ChannelWrapper::channelInvalidated(const Tp::AccountPtr & _t1, const Tp::ChannelPtr & _t2, const QString & _t3, const QString & _t4)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
