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

#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'text-channel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_Tp__TextChannel[] = {

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

 // signals: signature, parameters, type, tag, flags
      48,   17,   16,   16, 0x05,
     113,  105,   16,   16, 0x05,
     150,  105,   16,   16, 0x05,
     207,  193,   16,   16, 0x05,

 // slots: signature, parameters, type, tag, flags
     270,  261,   16,   16, 0x0a,
     306,  261,   16,   16, 0x0a,
     373,  357,  337,   16, 0x0a,
     440,  430,  337,   16, 0x2a,
     482,  477,  337,   16, 0x2a,
     508,  496,  337,   16, 0x0a,
     556,  550,  337,   16, 0x2a,
     613,  596,  578,   16, 0x0a,
     664,  655,  578,   16, 0x2a,
     704,  698,  578,   16, 0x0a,
     755,   16,   16,  739, 0x08,
     797,   16,   16,  739, 0x08,
     860,  857,   16,  739, 0x08,
     908,   16,   16,  739, 0x08,
     947,   16,   16,  739, 0x08,
     986,  857,   16,  739, 0x08,
    1022, 1016,   16,  739, 0x08,
    1075, 1071,   16,  739, 0x08,
    1115,   16,   16,  739, 0x08,
    1155,   16,   16,  739, 0x08,
    1202, 1200,   16,  739, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Tp__TextChannel[] = {
    "Tp::TextChannel\0\0message,flags,sentMessageToken\0"
    "messageSent(Tp::Message,Tp::MessageSendingFlags,QString)\0"
    "message\0messageReceived(Tp::ReceivedMessage)\0"
    "pendingMessageRemoved(Tp::ReceivedMessage)\0"
    "contact,state\0"
    "chatStateChanged(Tp::ContactPtr,Tp::ChannelChatState)\0"
    "messages\0acknowledge(QList<ReceivedMessage>)\0"
    "forget(QList<ReceivedMessage>)\0"
    "PendingSendMessage*\0text,type,flags\0"
    "send(QString,ChannelTextMessageType,MessageSendingFlags)\0"
    "text,type\0send(QString,ChannelTextMessageType)\0"
    "text\0send(QString)\0parts,flags\0"
    "send(MessagePartList,MessageSendingFlags)\0"
    "parts\0send(MessagePartList)\0"
    "PendingOperation*\0contacts,message\0"
    "inviteContacts(QList<ContactPtr>,QString)\0"
    "contacts\0inviteContacts(QList<ContactPtr>)\0"
    "state\0requestChatState(ChannelChatState)\0"
    "TP_QT_NO_EXPORT\0"
    "onContactsFinished(Tp::PendingOperation*)\0"
    "onAcknowledgePendingMessagesReply(QDBusPendingCallWatcher*)\0"
    ",,\0onMessageSent(Tp::MessagePartList,uint,QString)\0"
    "onMessageReceived(Tp::MessagePartList)\0"
    "onPendingMessagesRemoved(Tp::UIntList)\0"
    "onTextSent(uint,uint,QString)\0,,,,,\0"
    "onTextReceived(uint,uint,uint,uint,uint,QString)\0"
    ",,,\0onTextSendError(uint,uint,uint,QString)\0"
    "gotProperties(QDBusPendingCallWatcher*)\0"
    "gotPendingMessages(QDBusPendingCallWatcher*)\0"
    ",\0onChatStateChanged(uint,uint)\0"
};

void Tp::TextChannel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        TextChannel *_t = static_cast<TextChannel *>(_o);
        switch (_id) {
        case 0: _t->messageSent((*reinterpret_cast< const Tp::Message(*)>(_a[1])),(*reinterpret_cast< Tp::MessageSendingFlags(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->messageReceived((*reinterpret_cast< const Tp::ReceivedMessage(*)>(_a[1]))); break;
        case 2: _t->pendingMessageRemoved((*reinterpret_cast< const Tp::ReceivedMessage(*)>(_a[1]))); break;
        case 3: _t->chatStateChanged((*reinterpret_cast< const Tp::ContactPtr(*)>(_a[1])),(*reinterpret_cast< Tp::ChannelChatState(*)>(_a[2]))); break;
        case 4: _t->acknowledge((*reinterpret_cast< const QList<ReceivedMessage>(*)>(_a[1]))); break;
        case 5: _t->forget((*reinterpret_cast< const QList<ReceivedMessage>(*)>(_a[1]))); break;
        case 6: { PendingSendMessage* _r = _t->send((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ChannelTextMessageType(*)>(_a[2])),(*reinterpret_cast< MessageSendingFlags(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< PendingSendMessage**>(_a[0]) = _r; }  break;
        case 7: { PendingSendMessage* _r = _t->send((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ChannelTextMessageType(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< PendingSendMessage**>(_a[0]) = _r; }  break;
        case 8: { PendingSendMessage* _r = _t->send((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< PendingSendMessage**>(_a[0]) = _r; }  break;
        case 9: { PendingSendMessage* _r = _t->send((*reinterpret_cast< const MessagePartList(*)>(_a[1])),(*reinterpret_cast< MessageSendingFlags(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< PendingSendMessage**>(_a[0]) = _r; }  break;
        case 10: { PendingSendMessage* _r = _t->send((*reinterpret_cast< const MessagePartList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< PendingSendMessage**>(_a[0]) = _r; }  break;
        case 11: { PendingOperation* _r = _t->inviteContacts((*reinterpret_cast< const QList<ContactPtr>(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< PendingOperation**>(_a[0]) = _r; }  break;
        case 12: { PendingOperation* _r = _t->inviteContacts((*reinterpret_cast< const QList<ContactPtr>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< PendingOperation**>(_a[0]) = _r; }  break;
        case 13: { PendingOperation* _r = _t->requestChatState((*reinterpret_cast< ChannelChatState(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< PendingOperation**>(_a[0]) = _r; }  break;
        case 14: _t->onContactsFinished((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 15: _t->onAcknowledgePendingMessagesReply((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 16: _t->onMessageSent((*reinterpret_cast< const Tp::MessagePartList(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 17: _t->onMessageReceived((*reinterpret_cast< const Tp::MessagePartList(*)>(_a[1]))); break;
        case 18: _t->onPendingMessagesRemoved((*reinterpret_cast< const Tp::UIntList(*)>(_a[1]))); break;
        case 19: _t->onTextSent((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 20: _t->onTextReceived((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5])),(*reinterpret_cast< const QString(*)>(_a[6]))); break;
        case 21: _t->onTextSendError((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 22: _t->gotProperties((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 23: _t->gotPendingMessages((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 24: _t->onChatStateChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Tp::TextChannel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Tp::TextChannel::staticMetaObject = {
    { &Channel::staticMetaObject, qt_meta_stringdata_Tp__TextChannel,
      qt_meta_data_Tp__TextChannel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Tp::TextChannel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Tp::TextChannel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__TextChannel))
        return static_cast<void*>(const_cast< TextChannel*>(this));
    return Channel::qt_metacast(_clname);
}

int Tp::TextChannel::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 < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    }
    return _id;
}

// SIGNAL 0
void Tp::TextChannel::messageSent(const Tp::Message & _t1, Tp::MessageSendingFlags _t2, const QString & _t3)
{
    void *_a[] = { 0, 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::TextChannel::messageReceived(const Tp::ReceivedMessage & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Tp::TextChannel::pendingMessageRemoved(const Tp::ReceivedMessage & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Tp::TextChannel::chatStateChanged(const Tp::ContactPtr & _t1, Tp::ChannelChatState _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
