/****************************************************************************
** Meta object code from reading C++ file 'contact.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.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__Contact_t {
    QByteArrayData data[33];
    char stringdata[469];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__Contact_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__Contact_t qt_meta_stringdata_Tp__Contact = {
    {
QT_MOC_LITERAL(0, 0, 11), // "Tp::Contact"
QT_MOC_LITERAL(1, 12, 12), // "aliasChanged"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 5), // "alias"
QT_MOC_LITERAL(4, 32, 18), // "avatarTokenChanged"
QT_MOC_LITERAL(5, 51, 11), // "avatarToken"
QT_MOC_LITERAL(6, 63, 17), // "avatarDataChanged"
QT_MOC_LITERAL(7, 81, 14), // "Tp::AvatarData"
QT_MOC_LITERAL(8, 96, 10), // "avatarData"
QT_MOC_LITERAL(9, 107, 15), // "presenceChanged"
QT_MOC_LITERAL(10, 123, 12), // "Tp::Presence"
QT_MOC_LITERAL(11, 136, 8), // "presence"
QT_MOC_LITERAL(12, 145, 19), // "capabilitiesChanged"
QT_MOC_LITERAL(13, 165, 23), // "Tp::ContactCapabilities"
QT_MOC_LITERAL(14, 189, 4), // "caps"
QT_MOC_LITERAL(15, 194, 15), // "locationUpdated"
QT_MOC_LITERAL(16, 210, 16), // "Tp::LocationInfo"
QT_MOC_LITERAL(17, 227, 8), // "location"
QT_MOC_LITERAL(18, 236, 17), // "infoFieldsChanged"
QT_MOC_LITERAL(19, 254, 23), // "Tp::Contact::InfoFields"
QT_MOC_LITERAL(20, 278, 10), // "infoFields"
QT_MOC_LITERAL(21, 289, 24), // "subscriptionStateChanged"
QT_MOC_LITERAL(22, 314, 26), // "Tp::Contact::PresenceState"
QT_MOC_LITERAL(23, 341, 5), // "state"
QT_MOC_LITERAL(24, 347, 19), // "publishStateChanged"
QT_MOC_LITERAL(25, 367, 7), // "message"
QT_MOC_LITERAL(26, 375, 18), // "blockStatusChanged"
QT_MOC_LITERAL(27, 394, 7), // "blocked"
QT_MOC_LITERAL(28, 402, 12), // "addedToGroup"
QT_MOC_LITERAL(29, 415, 5), // "group"
QT_MOC_LITERAL(30, 421, 16), // "removedFromGroup"
QT_MOC_LITERAL(31, 438, 18), // "clientTypesChanged"
QT_MOC_LITERAL(32, 457, 11) // "clientTypes"

    },
    "Tp::Contact\0aliasChanged\0\0alias\0"
    "avatarTokenChanged\0avatarToken\0"
    "avatarDataChanged\0Tp::AvatarData\0"
    "avatarData\0presenceChanged\0Tp::Presence\0"
    "presence\0capabilitiesChanged\0"
    "Tp::ContactCapabilities\0caps\0"
    "locationUpdated\0Tp::LocationInfo\0"
    "location\0infoFieldsChanged\0"
    "Tp::Contact::InfoFields\0infoFields\0"
    "subscriptionStateChanged\0"
    "Tp::Contact::PresenceState\0state\0"
    "publishStateChanged\0message\0"
    "blockStatusChanged\0blocked\0addedToGroup\0"
    "group\0removedFromGroup\0clientTypesChanged\0"
    "clientTypes"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__Contact[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    1,   82,    2, 0x06 /* Public */,
       6,    1,   85,    2, 0x06 /* Public */,
       9,    1,   88,    2, 0x06 /* Public */,
      12,    1,   91,    2, 0x06 /* Public */,
      15,    1,   94,    2, 0x06 /* Public */,
      18,    1,   97,    2, 0x06 /* Public */,
      21,    1,  100,    2, 0x06 /* Public */,
      24,    2,  103,    2, 0x06 /* Public */,
      26,    1,  108,    2, 0x06 /* Public */,
      28,    1,  111,    2, 0x06 /* Public */,
      30,    1,  114,    2, 0x06 /* Public */,
      31,    1,  117,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, 0x80000000 | 22, QMetaType::QString,   23,   25,
    QMetaType::Void, QMetaType::Bool,   27,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QStringList,   32,

       0        // eod
};

void Tp::Contact::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Contact *_t = static_cast<Contact *>(_o);
        switch (_id) {
        case 0: _t->aliasChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->avatarTokenChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->avatarDataChanged((*reinterpret_cast< const Tp::AvatarData(*)>(_a[1]))); break;
        case 3: _t->presenceChanged((*reinterpret_cast< const Tp::Presence(*)>(_a[1]))); break;
        case 4: _t->capabilitiesChanged((*reinterpret_cast< const Tp::ContactCapabilities(*)>(_a[1]))); break;
        case 5: _t->locationUpdated((*reinterpret_cast< const Tp::LocationInfo(*)>(_a[1]))); break;
        case 6: _t->infoFieldsChanged((*reinterpret_cast< const Tp::Contact::InfoFields(*)>(_a[1]))); break;
        case 7: _t->subscriptionStateChanged((*reinterpret_cast< Tp::Contact::PresenceState(*)>(_a[1]))); break;
        case 8: _t->publishStateChanged((*reinterpret_cast< Tp::Contact::PresenceState(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: _t->blockStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->addedToGroup((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->removedFromGroup((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->clientTypesChanged((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Contact::InfoFields >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Contact::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::aliasChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (Contact::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::avatarTokenChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (Contact::*_t)(const Tp::AvatarData & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::avatarDataChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (Contact::*_t)(const Tp::Presence & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::presenceChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (Contact::*_t)(const Tp::ContactCapabilities & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::capabilitiesChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (Contact::*_t)(const Tp::LocationInfo & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::locationUpdated)) {
                *result = 5;
            }
        }
        {
            typedef void (Contact::*_t)(const Tp::Contact::InfoFields & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::infoFieldsChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (Contact::*_t)(Tp::Contact::PresenceState );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::subscriptionStateChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (Contact::*_t)(Tp::Contact::PresenceState , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::publishStateChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (Contact::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::blockStatusChanged)) {
                *result = 9;
            }
        }
        {
            typedef void (Contact::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::addedToGroup)) {
                *result = 10;
            }
        }
        {
            typedef void (Contact::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::removedFromGroup)) {
                *result = 11;
            }
        }
        {
            typedef void (Contact::*_t)(const QStringList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Contact::clientTypesChanged)) {
                *result = 12;
            }
        }
    }
}

const QMetaObject Tp::Contact::staticMetaObject = {
    { &Object::staticMetaObject, qt_meta_stringdata_Tp__Contact.data,
      qt_meta_data_Tp__Contact,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Tp::Contact::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Object::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

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

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

// SIGNAL 2
void Tp::Contact::avatarDataChanged(const Tp::AvatarData & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Tp::Contact::presenceChanged(const Tp::Presence & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Tp::Contact::capabilitiesChanged(const Tp::ContactCapabilities & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Tp::Contact::locationUpdated(const Tp::LocationInfo & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Tp::Contact::infoFieldsChanged(const Tp::Contact::InfoFields & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Tp::Contact::subscriptionStateChanged(Tp::Contact::PresenceState _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Tp::Contact::publishStateChanged(Tp::Contact::PresenceState _t1, const QString & _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, 8, _a);
}

// SIGNAL 9
void Tp::Contact::blockStatusChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Tp::Contact::addedToGroup(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Tp::Contact::removedFromGroup(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Tp::Contact::clientTypesChanged(const QStringList & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
QT_END_MOC_NAMESPACE
