1
/****************************************************************************
2
** Meta object code from reading C++ file 'toresultmodel.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 "toresultmodel.h"
11
#if !defined(Q_MOC_OUTPUT_REVISION)
12
#error "The header file 'toresultmodel.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_toResultModel[] = {
30
// signals: signature, parameters, type, tag, flags
34
152, 148, 14, 14, 0x05,
35
181, 148, 14, 14, 0x05,
37
// slots: signature, parameters, type, tag, flags
38
212, 14, 14, 14, 0x08,
39
222, 14, 14, 14, 0x08,
40
258, 14, 14, 14, 0x0a,
41
268, 14, 14, 14, 0x0a,
42
280, 14, 14, 14, 0x09,
43
291, 14, 14, 14, 0x09,
48
static const char qt_meta_stringdata_toResultModel[] = {
49
"toResultModel\0\0done()\0res,error\0"
50
"firstResult(toConnection::exception,bool)\0"
51
"index,newValue,row\0"
52
"columnChanged(QModelIndex,toQValue,toResultModel::Row)\0"
53
"row\0rowAdded(toResultModel::Row)\0"
54
"rowDeleted(toResultModel::Row)\0cleanup()\0"
55
"queryError(toConnection::exception)\0"
56
"readAll()\0fetchMore()\0readData()\0"
60
const QMetaObject toResultModel::staticMetaObject = {
61
{ &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_toResultModel,
62
qt_meta_data_toResultModel, 0 }
65
const QMetaObject *toResultModel::metaObject() const
67
return &staticMetaObject;
70
void *toResultModel::qt_metacast(const char *_clname)
72
if (!_clname) return 0;
73
if (!strcmp(_clname, qt_meta_stringdata_toResultModel))
74
return static_cast<void*>(const_cast< toResultModel*>(this));
75
return QAbstractTableModel::qt_metacast(_clname);
78
int toResultModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
80
_id = QAbstractTableModel::qt_metacall(_c, _id, _a);
83
if (_c == QMetaObject::InvokeMetaMethod) {
85
case 0: done(); break;
86
case 1: firstResult((*reinterpret_cast< const toConnection::exception(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
87
case 2: columnChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const toQValue(*)>(_a[2])),(*reinterpret_cast< const toResultModel::Row(*)>(_a[3]))); break;
88
case 3: rowAdded((*reinterpret_cast< const toResultModel::Row(*)>(_a[1]))); break;
89
case 4: rowDeleted((*reinterpret_cast< const toResultModel::Row(*)>(_a[1]))); break;
90
case 5: cleanup(); break;
91
case 6: queryError((*reinterpret_cast< const toConnection::exception(*)>(_a[1]))); break;
92
case 7: readAll(); break;
93
case 8: fetchMore(); break;
94
case 9: readData(); break;
95
case 10: readHeaders(); break;
103
void toResultModel::done()
105
QMetaObject::activate(this, &staticMetaObject, 0, 0);
109
void toResultModel::firstResult(const toConnection::exception & _t1, bool _t2)
111
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
112
QMetaObject::activate(this, &staticMetaObject, 1, _a);
116
void toResultModel::columnChanged(const QModelIndex & _t1, const toQValue & _t2, const toResultModel::Row & _t3)
118
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)) };
119
QMetaObject::activate(this, &staticMetaObject, 2, _a);
123
void toResultModel::rowAdded(const toResultModel::Row & _t1)
125
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
126
QMetaObject::activate(this, &staticMetaObject, 3, _a);
130
void toResultModel::rowDeleted(const toResultModel::Row & _t1)
132
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
133
QMetaObject::activate(this, &staticMetaObject, 4, _a);