~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to src/moc_toresultmodel.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2009-04-07 13:16:05 UTC
  • mfrom: (1.2.7 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090407131605-u422yigfv7jgg0l0
Tags: 2.0.0-3
* Cleaned up packaging a little bit.
* Added homepage information to control file.
* Bumped Standards-Version to 3.8.1.
* Released to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** Meta object code from reading C++ file 'toresultmodel.h'
 
3
**
 
4
** Created: Mon Nov 3 14:34:33 2008
 
5
**      by: The Qt Meta Object Compiler version 59 (Qt 4.4.0)
 
6
**
 
7
** WARNING! All changes made in this file will be lost!
 
8
*****************************************************************************/
 
9
 
 
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.)"
 
17
#endif
 
18
 
 
19
QT_BEGIN_MOC_NAMESPACE
 
20
static const uint qt_meta_data_toResultModel[] = {
 
21
 
 
22
 // content:
 
23
       1,       // revision
 
24
       0,       // classname
 
25
       0,    0, // classinfo
 
26
      11,   10, // methods
 
27
       0,    0, // properties
 
28
       0,    0, // enums/sets
 
29
 
 
30
 // signals: signature, parameters, type, tag, flags
 
31
      15,   14,   14,   14, 0x05,
 
32
      32,   22,   14,   14, 0x05,
 
33
      93,   74,   14,   14, 0x05,
 
34
     152,  148,   14,   14, 0x05,
 
35
     181,  148,   14,   14, 0x05,
 
36
 
 
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,
 
44
 
 
45
       0        // eod
 
46
};
 
47
 
 
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"
 
57
    "readHeaders()\0"
 
58
};
 
59
 
 
60
const QMetaObject toResultModel::staticMetaObject = {
 
61
    { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_toResultModel,
 
62
      qt_meta_data_toResultModel, 0 }
 
63
};
 
64
 
 
65
const QMetaObject *toResultModel::metaObject() const
 
66
{
 
67
    return &staticMetaObject;
 
68
}
 
69
 
 
70
void *toResultModel::qt_metacast(const char *_clname)
 
71
{
 
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);
 
76
}
 
77
 
 
78
int toResultModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
79
{
 
80
    _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
 
81
    if (_id < 0)
 
82
        return _id;
 
83
    if (_c == QMetaObject::InvokeMetaMethod) {
 
84
        switch (_id) {
 
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;
 
96
        }
 
97
        _id -= 11;
 
98
    }
 
99
    return _id;
 
100
}
 
101
 
 
102
// SIGNAL 0
 
103
void toResultModel::done()
 
104
{
 
105
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
 
106
}
 
107
 
 
108
// SIGNAL 1
 
109
void toResultModel::firstResult(const toConnection::exception & _t1, bool _t2)
 
110
{
 
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);
 
113
}
 
114
 
 
115
// SIGNAL 2
 
116
void toResultModel::columnChanged(const QModelIndex & _t1, const toQValue & _t2, const toResultModel::Row & _t3)
 
117
{
 
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);
 
120
}
 
121
 
 
122
// SIGNAL 3
 
123
void toResultModel::rowAdded(const toResultModel::Row & _t1)
 
124
{
 
125
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
126
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
 
127
}
 
128
 
 
129
// SIGNAL 4
 
130
void toResultModel::rowDeleted(const toResultModel::Row & _t1)
 
131
{
 
132
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
133
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
 
134
}
 
135
QT_END_MOC_NAMESPACE