1 /****************************************************************************
2 ** Meta object code from reading C++ file 'teccontactlistwidget.h'
4 ** Created: Fri Jun 18 17:41:01 2010
5 ** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #include "../../include/TecUi/teccontactlistwidget.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'teccontactlistwidget.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.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_TecContactListWidget[] = {
33 // signals: signature, parameters, type, tag, flags
36 123, 119, 21, 21, 0x05,
37 156, 147, 21, 21, 0x05,
38 196, 180, 21, 21, 0x05,
39 238, 229, 21, 21, 0x05,
41 // slots: signature, parameters, type, tag, flags
42 288, 276, 21, 21, 0x0a,
43 330, 321, 21, 21, 0x0a,
44 370, 358, 21, 21, 0x0a,
45 399, 21, 21, 21, 0x08,
46 417, 21, 21, 21, 0x08,
51 static const char qt_meta_stringdata_TecContactListWidget[] = {
52 "TecContactListWidget\0\0uid,name,presence\0"
53 "triggered(QString,QString,Presence)\0"
54 "pItem\0contactInfoRequest(QListWidgetItem*)\0"
55 "uid\0removedContact(QString)\0pContact\0"
56 "addContact(TecContact*)\0pContact,oldUid\0"
57 "editContact(TecContact*,QString)\0"
58 "uid,name\0displayedNameChanged(QString,QString)\0"
59 "contactList\0onNewContactList(TecContactList)\0"
60 "pNewItem\0commitAdd(QListWidgetItem*)\0"
61 "pEditedItem\0commitEdit(QListWidgetItem*)\0"
62 "onEditRequested()\0onRemoveRequested()\0"
65 const QMetaObject TecContactListWidget::staticMetaObject = {
66 { &QListWidget::staticMetaObject, qt_meta_stringdata_TecContactListWidget,
67 qt_meta_data_TecContactListWidget, 0 }
70 #ifdef Q_NO_DATA_RELOCATION
71 const QMetaObject &TecContactListWidget::getStaticMetaObject() { return staticMetaObject; }
72 #endif //Q_NO_DATA_RELOCATION
74 const QMetaObject *TecContactListWidget::metaObject() const
76 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
79 void *TecContactListWidget::qt_metacast(const char *_clname)
81 if (!_clname) return 0;
82 if (!strcmp(_clname, qt_meta_stringdata_TecContactListWidget))
83 return static_cast<void*>(const_cast< TecContactListWidget*>(this));
84 return QListWidget::qt_metacast(_clname);
87 int TecContactListWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 _id = QListWidget::qt_metacall(_c, _id, _a);
92 if (_c == QMetaObject::InvokeMetaMethod) {
94 case 0: triggered((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< Presence(*)>(_a[3]))); break;
95 case 1: contactInfoRequest((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
96 case 2: removedContact((*reinterpret_cast< const QString(*)>(_a[1]))); break;
97 case 3: addContact((*reinterpret_cast< TecContact*(*)>(_a[1]))); break;
98 case 4: editContact((*reinterpret_cast< TecContact*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
99 case 5: displayedNameChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
100 case 6: onNewContactList((*reinterpret_cast< const TecContactList(*)>(_a[1]))); break;
101 case 7: commitAdd((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
102 case 8: commitEdit((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
103 case 9: onEditRequested(); break;
104 case 10: onRemoveRequested(); break;
113 void TecContactListWidget::triggered(const QString & _t1, const QString & _t2, Presence _t3)
115 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)) };
116 QMetaObject::activate(this, &staticMetaObject, 0, _a);
120 void TecContactListWidget::contactInfoRequest(QListWidgetItem * _t1)
122 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
123 QMetaObject::activate(this, &staticMetaObject, 1, _a);
127 void TecContactListWidget::removedContact(const QString & _t1)
129 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
130 QMetaObject::activate(this, &staticMetaObject, 2, _a);
134 void TecContactListWidget::addContact(TecContact * _t1)
136 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
137 QMetaObject::activate(this, &staticMetaObject, 3, _a);
141 void TecContactListWidget::editContact(TecContact * _t1, QString _t2)
143 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
144 QMetaObject::activate(this, &staticMetaObject, 4, _a);
148 void TecContactListWidget::displayedNameChanged(const QString & _t1, const QString & _t2)
150 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
151 QMetaObject::activate(this, &staticMetaObject, 5, _a);