Initial commit
[tietoopcom] / build / release / moc_tocengine.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'tocengine.h'
3 **
4 ** Created: Thu Jul 8 08:48:18 2010
5 **      by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9
10 #include "../../include/TocEngine/tocengine.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'tocengine.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 62
14 #error "This file was generated using the moc from 4.6.2. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_TocEngine[] = {
21
22  // content:
23        4,       // revision
24        0,       // classname
25        0,    0, // classinfo
26       15,   14, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        0,       // signalCount
32
33  // slots: signature, parameters, type, tag, flags
34       32,   11,   10,   10, 0x0a,
35       76,   67,   10,   10, 0x0a,
36      125,  109,   10,   10, 0x0a,
37      171,  167,   10,   10, 0x0a,
38      205,  203,   10,   10, 0x0a,
39      242,   10,   10,   10, 0x0a,
40      279,  267,   10,   10, 0x0a,
41      314,  167,   10,   10, 0x0a,
42      365,  339,   10,   10, 0x08,
43      498,  464,   10,   10, 0x08,
44      582,  464,   10,   10, 0x08,
45      691,  670,   10,   10, 0x08,
46      786,  772,   10,   10, 0x08,
47      926,  889,   10,   10, 0x08,
48      992,   67,   10,   10, 0x08,
49
50        0        // eod
51 };
52
53 static const char qt_meta_stringdata_TocEngine[] = {
54     "TocEngine\0\0presence,description\0"
55     "onPresenceChange(Presence,QString)\0"
56     "pContact\0onAddContactRequest(TocContact*)\0"
57     "pContact,oldUid\0"
58     "onEditContactRequest(TocContact*,QString)\0"
59     "uid\0onRemoveContactRequest(QString)\0"
60     ",\0onSubscriptionAccepted(QString,bool)\0"
61     "initializeFromSettings()\0uid,message\0"
62     "onNewMessageReady(QString,Message)\0"
63     "onSessionClosed(QString)\0"
64     "pConnection,status,reason\0"
65     "onStatusChange(QtTapioca::Connection*,QtTapioca::Connection::Status,Qt"
66     "Tapioca::Connection::Reason)\0"
67     "pContact,presence,presenceMessage\0"
68     "onPresenceUpdated(QtTapioca::ContactBase*,QtTapioca::ContactBase::Pres"
69     "ence,QString)\0"
70     "onSelfPresenceUpdated(QtTapioca::ContactBase*,QtTapioca::ContactBase::"
71     "Presence,QString)\0"
72     "pTextChannel,message\0"
73     "onMessageReceived(const QtTapioca::TextChannel*,QtTapioca::TextChannel"
74     "::Message)\0"
75     "message,error\0"
76     "onMessageDeliveryError(QtTapioca::TextChannel::Message,QtTapioca::Text"
77     "Channel::Message::DeliveryError)\0"
78     "pConnection,pChannel,bSuppresHandler\0"
79     "onChannelCreated(QtTapioca::Connection*,QtTapioca::Channel*,bool)\0"
80     "onAuthorizationRequested(QtTapioca::Contact*)\0"
81 };
82
83 const QMetaObject TocEngine::staticMetaObject = {
84     { &TocBaseEngine::staticMetaObject, qt_meta_stringdata_TocEngine,
85       qt_meta_data_TocEngine, 0 }
86 };
87
88 #ifdef Q_NO_DATA_RELOCATION
89 const QMetaObject &TocEngine::getStaticMetaObject() { return staticMetaObject; }
90 #endif //Q_NO_DATA_RELOCATION
91
92 const QMetaObject *TocEngine::metaObject() const
93 {
94     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
95 }
96
97 void *TocEngine::qt_metacast(const char *_clname)
98 {
99     if (!_clname) return 0;
100     if (!strcmp(_clname, qt_meta_stringdata_TocEngine))
101         return static_cast<void*>(const_cast< TocEngine*>(this));
102     return TocBaseEngine::qt_metacast(_clname);
103 }
104
105 int TocEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
106 {
107     _id = TocBaseEngine::qt_metacall(_c, _id, _a);
108     if (_id < 0)
109         return _id;
110     if (_c == QMetaObject::InvokeMetaMethod) {
111         switch (_id) {
112         case 0: onPresenceChange((*reinterpret_cast< Presence(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
113         case 1: onAddContactRequest((*reinterpret_cast< TocContact*(*)>(_a[1]))); break;
114         case 2: onEditContactRequest((*reinterpret_cast< TocContact*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
115         case 3: onRemoveContactRequest((*reinterpret_cast< QString(*)>(_a[1]))); break;
116         case 4: onSubscriptionAccepted((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
117         case 5: initializeFromSettings(); break;
118         case 6: onNewMessageReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< Message(*)>(_a[2]))); break;
119         case 7: onSessionClosed((*reinterpret_cast< QString(*)>(_a[1]))); break;
120         case 8: onStatusChange((*reinterpret_cast< QtTapioca::Connection*(*)>(_a[1])),(*reinterpret_cast< QtTapioca::Connection::Status(*)>(_a[2])),(*reinterpret_cast< QtTapioca::Connection::Reason(*)>(_a[3]))); break;
121         case 9: onPresenceUpdated((*reinterpret_cast< QtTapioca::ContactBase*(*)>(_a[1])),(*reinterpret_cast< QtTapioca::ContactBase::Presence(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
122         case 10: onSelfPresenceUpdated((*reinterpret_cast< QtTapioca::ContactBase*(*)>(_a[1])),(*reinterpret_cast< QtTapioca::ContactBase::Presence(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
123         case 11: onMessageReceived((*reinterpret_cast< const QtTapioca::TextChannel*(*)>(_a[1])),(*reinterpret_cast< const QtTapioca::TextChannel::Message(*)>(_a[2]))); break;
124         case 12: onMessageDeliveryError((*reinterpret_cast< const QtTapioca::TextChannel::Message(*)>(_a[1])),(*reinterpret_cast< QtTapioca::TextChannel::Message::DeliveryError(*)>(_a[2]))); break;
125         case 13: onChannelCreated((*reinterpret_cast< QtTapioca::Connection*(*)>(_a[1])),(*reinterpret_cast< QtTapioca::Channel*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
126         case 14: onAuthorizationRequested((*reinterpret_cast< QtTapioca::Contact*(*)>(_a[1]))); break;
127         default: ;
128         }
129         _id -= 15;
130     }
131     return _id;
132 }
133 QT_END_MOC_NAMESPACE