/****************************************************************************
** Meta object code from reading C++ file 'cli-account-manager.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 'cli-account-manager.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__Client__AccountManagerInterface_t {
    QByteArrayData data[15];
    char stringdata[223];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__Client__AccountManagerInterface_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__Client__AccountManagerInterface_t qt_meta_stringdata_Tp__Client__AccountManagerInterface = {
    {
QT_MOC_LITERAL(0, 0, 35), // "Tp::Client::AccountManagerInt..."
QT_MOC_LITERAL(1, 36, 14), // "AccountRemoved"
QT_MOC_LITERAL(2, 51, 0), // ""
QT_MOC_LITERAL(3, 52, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(4, 68, 7), // "account"
QT_MOC_LITERAL(5, 76, 22), // "AccountValidityChanged"
QT_MOC_LITERAL(6, 99, 5), // "valid"
QT_MOC_LITERAL(7, 105, 13), // "CreateAccount"
QT_MOC_LITERAL(8, 119, 34), // "QDBusPendingReply<QDBusObject..."
QT_MOC_LITERAL(9, 154, 17), // "connectionManager"
QT_MOC_LITERAL(10, 172, 8), // "protocol"
QT_MOC_LITERAL(11, 181, 11), // "displayName"
QT_MOC_LITERAL(12, 193, 10), // "parameters"
QT_MOC_LITERAL(13, 204, 10), // "properties"
QT_MOC_LITERAL(14, 215, 7) // "timeout"

    },
    "Tp::Client::AccountManagerInterface\0"
    "AccountRemoved\0\0QDBusObjectPath\0account\0"
    "AccountValidityChanged\0valid\0CreateAccount\0"
    "QDBusPendingReply<QDBusObjectPath>\0"
    "connectionManager\0protocol\0displayName\0"
    "parameters\0properties\0timeout"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__Client__AccountManagerInterface[] = {

 // 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,    1,   34,    2, 0x06 /* Public */,
       5,    2,   37,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    6,   42,    2, 0x0a /* Public */,
       7,    5,   55,    2, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    4,    6,

 // slots: parameters
    0x80000000 | 8, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QVariantMap, QMetaType::QVariantMap, QMetaType::Int,    9,   10,   11,   12,   13,   14,
    0x80000000 | 8, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QVariantMap, QMetaType::QVariantMap,    9,   10,   11,   12,   13,

       0        // eod
};

void Tp::Client::AccountManagerInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AccountManagerInterface *_t = static_cast<AccountManagerInterface *>(_o);
        switch (_id) {
        case 0: _t->AccountRemoved((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1]))); break;
        case 1: _t->AccountValidityChanged((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: { QDBusPendingReply<QDBusObjectPath> _r = _t->CreateAccount((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QVariantMap(*)>(_a[4])),(*reinterpret_cast< const QVariantMap(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusObjectPath>*>(_a[0]) = _r; }  break;
        case 3: { QDBusPendingReply<QDBusObjectPath> _r = _t->CreateAccount((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QVariantMap(*)>(_a[4])),(*reinterpret_cast< const QVariantMap(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusObjectPath>*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            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< QDBusObjectPath >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AccountManagerInterface::*_t)(const QDBusObjectPath & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AccountManagerInterface::AccountRemoved)) {
                *result = 0;
            }
        }
        {
            typedef void (AccountManagerInterface::*_t)(const QDBusObjectPath & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AccountManagerInterface::AccountValidityChanged)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject Tp::Client::AccountManagerInterface::staticMetaObject = {
    { &Tp::AbstractInterface::staticMetaObject, qt_meta_stringdata_Tp__Client__AccountManagerInterface.data,
      qt_meta_data_Tp__Client__AccountManagerInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::Client::AccountManagerInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__Client__AccountManagerInterface.stringdata))
        return static_cast<void*>(const_cast< AccountManagerInterface*>(this));
    return Tp::AbstractInterface::qt_metacast(_clname);
}

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

// SIGNAL 0
void Tp::Client::AccountManagerInterface::AccountRemoved(const QDBusObjectPath & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Tp::Client::AccountManagerInterface::AccountValidityChanged(const QDBusObjectPath & _t1, bool _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, 1, _a);
}
QT_END_MOC_NAMESPACE
