6fe95f67bedcf39df06edd206b9e6b15b1c3c7d2
[tietoopcom] / moc_teccontactlistwidget.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'teccontactlistwidget.h'
3 **
4 ** Created: Fri Jun 18 17:41:01 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/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.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_TecContactListWidget[] = {
21
22  // content:
23        4,       // revision
24        0,       // classname
25        0,    0, // classinfo
26       11,   14, // methods
27        0,    0, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        6,       // 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
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,
47
48        0        // eod
49 };
50
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"
63 };
64
65 const QMetaObject TecContactListWidget::staticMetaObject = {
66     { &QListWidget::staticMetaObject, qt_meta_stringdata_TecContactListWidget,
67       qt_meta_data_TecContactListWidget, 0 }
68 };
69
70 #ifdef Q_NO_DATA_RELOCATION
71 const QMetaObject &TecContactListWidget::getStaticMetaObject() { return staticMetaObject; }
72 #endif //Q_NO_DATA_RELOCATION
73
74 const QMetaObject *TecContactListWidget::metaObject() const
75 {
76     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
77 }
78
79 void *TecContactListWidget::qt_metacast(const char *_clname)
80 {
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);
85 }
86
87 int TecContactListWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
88 {
89     _id = QListWidget::qt_metacall(_c, _id, _a);
90     if (_id < 0)
91         return _id;
92     if (_c == QMetaObject::InvokeMetaMethod) {
93         switch (_id) {
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;
105         default: ;
106         }
107         _id -= 11;
108     }
109     return _id;
110 }
111
112 // SIGNAL 0
113 void TecContactListWidget::triggered(const QString & _t1, const QString & _t2, Presence _t3)
114 {
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);
117 }
118
119 // SIGNAL 1
120 void TecContactListWidget::contactInfoRequest(QListWidgetItem * _t1)
121 {
122     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
123     QMetaObject::activate(this, &staticMetaObject, 1, _a);
124 }
125
126 // SIGNAL 2
127 void TecContactListWidget::removedContact(const QString & _t1)
128 {
129     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
130     QMetaObject::activate(this, &staticMetaObject, 2, _a);
131 }
132
133 // SIGNAL 3
134 void TecContactListWidget::addContact(TecContact * _t1)
135 {
136     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
137     QMetaObject::activate(this, &staticMetaObject, 3, _a);
138 }
139
140 // SIGNAL 4
141 void TecContactListWidget::editContact(TecContact * _t1, QString _t2)
142 {
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);
145 }
146
147 // SIGNAL 5
148 void TecContactListWidget::displayedNameChanged(const QString & _t1, const QString & _t2)
149 {
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);
152 }
153 QT_END_MOC_NAMESPACE