Initial commit
[tietoopcom] / build / release / moc_tecbaseengine.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'tecbaseengine.h'
3 **
4 ** Created: Fri Jun 18 17:41:03 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/TecEngine/tecbaseengine.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'tecbaseengine.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_TecBaseEngine[] = {
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        7,       // signalCount
32
33  // signals: signature, parameters, type, tag, flags
34       29,   15,   14,   14, 0x05,
35       79,   58,   14,   14, 0x05,
36      138,  113,   14,   14, 0x05,
37      199,  187,   14,   14, 0x05,
38      244,  232,   14,   14, 0x05,
39      284,  280,   14,   14, 0x05,
40      314,  280,   14,   14, 0x05,
41
42  // slots: signature, parameters, type, tag, flags
43      344,   14,   14,   14, 0x0a,
44      369,   58,   14,   14, 0x0a,
45      404,  280,   14,   14, 0x0a,
46      429,  187,   14,   14, 0x0a,
47      473,  464,   14,   14, 0x0a,
48      522,  506,   14,   14, 0x0a,
49      564,  280,   14,   14, 0x0a,
50      612,  596,   14,   14, 0x0a,
51
52        0        // eod
53 };
54
55 static const char qt_meta_stringdata_TecBaseEngine[] = {
56     "TecBaseEngine\0\0status,reason\0"
57     "statusChanged(Status,Reason)\0"
58     "presence,description\0"
59     "presenceUpdated(Presence,QString)\0"
60     "uid,presence,description\0"
61     "contactPresenceUpdated(QString,Presence,QString)\0"
62     "uid,message\0incomingMessage(QString,Message)\0"
63     "contactList\0contactListReceived(TecContactList)\0"
64     "uid\0subscriptionAccepted(QString)\0"
65     "authorizationRequest(QString)\0"
66     "initializeFromSettings()\0"
67     "onPresenceChange(Presence,QString)\0"
68     "onSessionClosed(QString)\0"
69     "onNewMessageReady(QString,Message)\0"
70     "pContact\0onAddContactRequest(TecContact*)\0"
71     "pContact,oldUid\0"
72     "onEditContactRequest(TecContact*,QString)\0"
73     "onRemoveContactRequest(QString)\0"
74     "uid,bAuthorized\0onSubscriptionAccepted(QString,bool)\0"
75 };
76
77 const QMetaObject TecBaseEngine::staticMetaObject = {
78     { &QObject::staticMetaObject, qt_meta_stringdata_TecBaseEngine,
79       qt_meta_data_TecBaseEngine, 0 }
80 };
81
82 #ifdef Q_NO_DATA_RELOCATION
83 const QMetaObject &TecBaseEngine::getStaticMetaObject() { return staticMetaObject; }
84 #endif //Q_NO_DATA_RELOCATION
85
86 const QMetaObject *TecBaseEngine::metaObject() const
87 {
88     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
89 }
90
91 void *TecBaseEngine::qt_metacast(const char *_clname)
92 {
93     if (!_clname) return 0;
94     if (!strcmp(_clname, qt_meta_stringdata_TecBaseEngine))
95         return static_cast<void*>(const_cast< TecBaseEngine*>(this));
96     return QObject::qt_metacast(_clname);
97 }
98
99 int TecBaseEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100 {
101     _id = QObject::qt_metacall(_c, _id, _a);
102     if (_id < 0)
103         return _id;
104     if (_c == QMetaObject::InvokeMetaMethod) {
105         switch (_id) {
106         case 0: statusChanged((*reinterpret_cast< Status(*)>(_a[1])),(*reinterpret_cast< Reason(*)>(_a[2]))); break;
107         case 1: presenceUpdated((*reinterpret_cast< Presence(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
108         case 2: contactPresenceUpdated((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< Presence(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
109         case 3: incomingMessage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< Message(*)>(_a[2]))); break;
110         case 4: contactListReceived((*reinterpret_cast< const TecContactList(*)>(_a[1]))); break;
111         case 5: subscriptionAccepted((*reinterpret_cast< QString(*)>(_a[1]))); break;
112         case 6: authorizationRequest((*reinterpret_cast< QString(*)>(_a[1]))); break;
113         case 7: initializeFromSettings(); break;
114         case 8: onPresenceChange((*reinterpret_cast< Presence(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
115         case 9: onSessionClosed((*reinterpret_cast< QString(*)>(_a[1]))); break;
116         case 10: onNewMessageReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< Message(*)>(_a[2]))); break;
117         case 11: onAddContactRequest((*reinterpret_cast< TecContact*(*)>(_a[1]))); break;
118         case 12: onEditContactRequest((*reinterpret_cast< TecContact*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
119         case 13: onRemoveContactRequest((*reinterpret_cast< QString(*)>(_a[1]))); break;
120         case 14: onSubscriptionAccepted((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
121         default: ;
122         }
123         _id -= 15;
124     }
125     return _id;
126 }
127
128 // SIGNAL 0
129 void TecBaseEngine::statusChanged(Status _t1, Reason _t2)
130 {
131     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
132     QMetaObject::activate(this, &staticMetaObject, 0, _a);
133 }
134
135 // SIGNAL 1
136 void TecBaseEngine::presenceUpdated(Presence _t1, QString _t2)
137 {
138     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
139     QMetaObject::activate(this, &staticMetaObject, 1, _a);
140 }
141
142 // SIGNAL 2
143 void TecBaseEngine::contactPresenceUpdated(QString _t1, Presence _t2, QString _t3)
144 {
145     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)) };
146     QMetaObject::activate(this, &staticMetaObject, 2, _a);
147 }
148
149 // SIGNAL 3
150 void TecBaseEngine::incomingMessage(QString _t1, Message _t2)
151 {
152     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
153     QMetaObject::activate(this, &staticMetaObject, 3, _a);
154 }
155
156 // SIGNAL 4
157 void TecBaseEngine::contactListReceived(const TecContactList & _t1)
158 {
159     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
160     QMetaObject::activate(this, &staticMetaObject, 4, _a);
161 }
162
163 // SIGNAL 5
164 void TecBaseEngine::subscriptionAccepted(QString _t1)
165 {
166     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
167     QMetaObject::activate(this, &staticMetaObject, 5, _a);
168 }
169
170 // SIGNAL 6
171 void TecBaseEngine::authorizationRequest(QString _t1)
172 {
173     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
174     QMetaObject::activate(this, &staticMetaObject, 6, _a);
175 }
176 QT_END_MOC_NAMESPACE