Initial commit
[tietoopcom] / build / release / moc_toccontactlistwidget.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'toccontactlistwidget.h'
3 **
4 ** Created: Thu Jul 8 08:48:15 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/TocUi/toccontactlistwidget.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'toccontactlistwidget.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_TocContactListWidget[] = {
21
22  // content:
23        4,       // revision
24        0,       // classname
25        0,    0, // classinfo
26       13,   14, // methods
27        1,   79, // 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       40,   22,   21,   21, 0x05,
35       82,   76,   21,   21, 0x05,
36      123,  119,   21,   21, 0x05,
37      156,  147,   21,   21, 0x05,
38      196,  180,   21,   21, 0x05,
39      238,  229,   21,   21, 0x05,
40      280,  276,   21,   21, 0x05,
41
42  // slots: signature, parameters, type, tag, flags
43      317,  305,   21,   21, 0x0a,
44      359,  350,   21,   21, 0x0a,
45      399,  387,   21,   21, 0x0a,
46      428,   21,   21,   21, 0x08,
47      446,   21,   21,   21, 0x08,
48      466,  276,   21,   21, 0x08,
49
50  // properties: name, type, flags
51      497,  490, 0x43495103,
52
53  // properties: notify_signal_id
54        6,
55
56        0        // eod
57 };
58
59 static const char qt_meta_stringdata_TocContactListWidget[] = {
60     "TocContactListWidget\0\0uid,name,presence\0"
61     "triggered(QString,QString,Presence)\0"
62     "pItem\0contactInfoRequest(QListWidgetItem*)\0"
63     "uid\0removedContact(QString)\0pContact\0"
64     "addContact(TocContact*)\0pContact,oldUid\0"
65     "editContact(TocContact*,QString)\0"
66     "uid,name\0displayedNameChanged(QString,QString)\0"
67     "rgb\0logoColorChanged(QColor)\0contactList\0"
68     "onNewContactList(TocContactList)\0"
69     "pNewItem\0commitAdd(QListWidgetItem*)\0"
70     "pEditedItem\0commitEdit(QListWidgetItem*)\0"
71     "onEditRequested()\0onRemoveRequested()\0"
72     "changeLogoColor(QColor)\0QColor\0logoColor\0"
73 };
74
75 const QMetaObject TocContactListWidget::staticMetaObject = {
76     { &QListWidget::staticMetaObject, qt_meta_stringdata_TocContactListWidget,
77       qt_meta_data_TocContactListWidget, 0 }
78 };
79
80 #ifdef Q_NO_DATA_RELOCATION
81 const QMetaObject &TocContactListWidget::getStaticMetaObject() { return staticMetaObject; }
82 #endif //Q_NO_DATA_RELOCATION
83
84 const QMetaObject *TocContactListWidget::metaObject() const
85 {
86     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
87 }
88
89 void *TocContactListWidget::qt_metacast(const char *_clname)
90 {
91     if (!_clname) return 0;
92     if (!strcmp(_clname, qt_meta_stringdata_TocContactListWidget))
93         return static_cast<void*>(const_cast< TocContactListWidget*>(this));
94     return QListWidget::qt_metacast(_clname);
95 }
96
97 int TocContactListWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
98 {
99     _id = QListWidget::qt_metacall(_c, _id, _a);
100     if (_id < 0)
101         return _id;
102     if (_c == QMetaObject::InvokeMetaMethod) {
103         switch (_id) {
104         case 0: triggered((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< Presence(*)>(_a[3]))); break;
105         case 1: contactInfoRequest((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
106         case 2: removedContact((*reinterpret_cast< const QString(*)>(_a[1]))); break;
107         case 3: addContact((*reinterpret_cast< TocContact*(*)>(_a[1]))); break;
108         case 4: editContact((*reinterpret_cast< TocContact*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
109         case 5: displayedNameChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
110         case 6: logoColorChanged((*reinterpret_cast< QColor(*)>(_a[1]))); break;
111         case 7: onNewContactList((*reinterpret_cast< const TocContactList(*)>(_a[1]))); break;
112         case 8: commitAdd((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
113         case 9: commitEdit((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
114         case 10: onEditRequested(); break;
115         case 11: onRemoveRequested(); break;
116         case 12: changeLogoColor((*reinterpret_cast< QColor(*)>(_a[1]))); break;
117         default: ;
118         }
119         _id -= 13;
120     }
121 #ifndef QT_NO_PROPERTIES
122       else if (_c == QMetaObject::ReadProperty) {
123         void *_v = _a[0];
124         switch (_id) {
125         case 0: *reinterpret_cast< QColor*>(_v) = logoColor(); break;
126         }
127         _id -= 1;
128     } else if (_c == QMetaObject::WriteProperty) {
129         void *_v = _a[0];
130         switch (_id) {
131         case 0: setLogoColor(*reinterpret_cast< QColor*>(_v)); break;
132         }
133         _id -= 1;
134     } else if (_c == QMetaObject::ResetProperty) {
135         _id -= 1;
136     } else if (_c == QMetaObject::QueryPropertyDesignable) {
137         _id -= 1;
138     } else if (_c == QMetaObject::QueryPropertyScriptable) {
139         _id -= 1;
140     } else if (_c == QMetaObject::QueryPropertyStored) {
141         _id -= 1;
142     } else if (_c == QMetaObject::QueryPropertyEditable) {
143         _id -= 1;
144     } else if (_c == QMetaObject::QueryPropertyUser) {
145         _id -= 1;
146     }
147 #endif // QT_NO_PROPERTIES
148     return _id;
149 }
150
151 // SIGNAL 0
152 void TocContactListWidget::triggered(const QString & _t1, const QString & _t2, Presence _t3)
153 {
154     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)) };
155     QMetaObject::activate(this, &staticMetaObject, 0, _a);
156 }
157
158 // SIGNAL 1
159 void TocContactListWidget::contactInfoRequest(QListWidgetItem * _t1)
160 {
161     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
162     QMetaObject::activate(this, &staticMetaObject, 1, _a);
163 }
164
165 // SIGNAL 2
166 void TocContactListWidget::removedContact(const QString & _t1)
167 {
168     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
169     QMetaObject::activate(this, &staticMetaObject, 2, _a);
170 }
171
172 // SIGNAL 3
173 void TocContactListWidget::addContact(TocContact * _t1)
174 {
175     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
176     QMetaObject::activate(this, &staticMetaObject, 3, _a);
177 }
178
179 // SIGNAL 4
180 void TocContactListWidget::editContact(TocContact * _t1, QString _t2)
181 {
182     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
183     QMetaObject::activate(this, &staticMetaObject, 4, _a);
184 }
185
186 // SIGNAL 5
187 void TocContactListWidget::displayedNameChanged(const QString & _t1, const QString & _t2)
188 {
189     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
190     QMetaObject::activate(this, &staticMetaObject, 5, _a);
191 }
192
193 // SIGNAL 6
194 void TocContactListWidget::logoColorChanged(QColor _t1)
195 {
196     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
197     QMetaObject::activate(this, &staticMetaObject, 6, _a);
198 }
199 QT_END_MOC_NAMESPACE