1
/****************************************************************************
2
** Meta object code from reading C++ file 'totreewidget.h'
4
** Created: Mon Nov 3 14:34:33 2008
5
** by: The Qt Meta Object Compiler version 59 (Qt 4.4.0)
7
** WARNING! All changes made in this file will be lost!
8
*****************************************************************************/
10
#include "totreewidget.h"
11
#if !defined(Q_MOC_OUTPUT_REVISION)
12
#error "The header file 'totreewidget.h' doesn't include <QObject>."
13
#elif Q_MOC_OUTPUT_REVISION != 59
14
#error "This file was generated using the moc from 4.4.0. 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_toTreeWidget[] = {
30
// signals: signature, parameters, type, tag, flags
34
107, 102, 13, 13, 0x05,
35
134, 13, 13, 13, 0x05,
36
162, 13, 13, 13, 0x05,
37
191, 13, 13, 13, 0x05,
39
// slots: signature, parameters, type, tag, flags
40
224, 13, 13, 13, 0x0a,
41
240, 13, 13, 13, 0x0a,
42
257, 13, 13, 13, 0x0a,
43
293, 281, 13, 13, 0x0a,
44
333, 281, 13, 13, 0x0a,
45
367, 102, 13, 13, 0x0a,
46
400, 281, 13, 13, 0x0a,
47
438, 102, 13, 13, 0x0a,
48
472, 13, 13, 13, 0x0a,
53
static const char qt_meta_stringdata_toTreeWidget[] = {
54
"toTreeWidget\0\0selectionChanged()\0"
55
"selectionChanged(toTreeWidgetItem*)\0"
56
"doubleClicked(toTreeWidgetItem*)\0item\0"
57
"clicked(toTreeWidgetItem*)\0"
58
"expanded(toTreeWidgetItem*)\0"
59
"collapsed(toTreeWidgetItem*)\0"
60
"returnPressed(toTreeWidgetItem*)\0"
61
"selectAll(bool)\0updateContents()\0"
62
"handleSelectionChange()\0item,column\0"
63
"handleDoubleClick(QTreeWidgetItem*,int)\0"
64
"handleClick(QTreeWidgetItem*,int)\0"
65
"handleExpanded(QTreeWidgetItem*)\0"
66
"handleActivated(QTreeWidgetItem*,int)\0"
67
"handleCollapsed(QTreeWidgetItem*)\0"
71
const QMetaObject toTreeWidget::staticMetaObject = {
72
{ &QTreeWidget::staticMetaObject, qt_meta_stringdata_toTreeWidget,
73
qt_meta_data_toTreeWidget, 0 }
76
const QMetaObject *toTreeWidget::metaObject() const
78
return &staticMetaObject;
81
void *toTreeWidget::qt_metacast(const char *_clname)
83
if (!_clname) return 0;
84
if (!strcmp(_clname, qt_meta_stringdata_toTreeWidget))
85
return static_cast<void*>(const_cast< toTreeWidget*>(this));
86
return QTreeWidget::qt_metacast(_clname);
89
int toTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
91
_id = QTreeWidget::qt_metacall(_c, _id, _a);
94
if (_c == QMetaObject::InvokeMetaMethod) {
96
case 0: selectionChanged(); break;
97
case 1: selectionChanged((*reinterpret_cast< toTreeWidgetItem*(*)>(_a[1]))); break;
98
case 2: doubleClicked((*reinterpret_cast< toTreeWidgetItem*(*)>(_a[1]))); break;
99
case 3: clicked((*reinterpret_cast< toTreeWidgetItem*(*)>(_a[1]))); break;
100
case 4: expanded((*reinterpret_cast< toTreeWidgetItem*(*)>(_a[1]))); break;
101
case 5: collapsed((*reinterpret_cast< toTreeWidgetItem*(*)>(_a[1]))); break;
102
case 6: returnPressed((*reinterpret_cast< toTreeWidgetItem*(*)>(_a[1]))); break;
103
case 7: selectAll((*reinterpret_cast< bool(*)>(_a[1]))); break;
104
case 8: updateContents(); break;
105
case 9: handleSelectionChange(); break;
106
case 10: handleDoubleClick((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
107
case 11: handleClick((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
108
case 12: handleExpanded((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
109
case 13: handleActivated((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
110
case 14: handleCollapsed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
111
case 15: clear(); break;
119
void toTreeWidget::selectionChanged()
121
QMetaObject::activate(this, &staticMetaObject, 0, 0);
125
void toTreeWidget::selectionChanged(toTreeWidgetItem * _t1)
127
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
128
QMetaObject::activate(this, &staticMetaObject, 1, _a);
132
void toTreeWidget::doubleClicked(toTreeWidgetItem * _t1)
134
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
135
QMetaObject::activate(this, &staticMetaObject, 2, _a);
139
void toTreeWidget::clicked(toTreeWidgetItem * _t1)
141
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
142
QMetaObject::activate(this, &staticMetaObject, 3, _a);
146
void toTreeWidget::expanded(toTreeWidgetItem * _t1)
148
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
149
QMetaObject::activate(this, &staticMetaObject, 4, _a);
153
void toTreeWidget::collapsed(toTreeWidgetItem * _t1)
155
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
156
QMetaObject::activate(this, &staticMetaObject, 5, _a);
160
void toTreeWidget::returnPressed(toTreeWidgetItem * _t1)
162
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
163
QMetaObject::activate(this, &staticMetaObject, 6, _a);