Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc_clientmodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'clientmodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "clientmodel.h"
9 #if !defined(Q_MOC_OUTPUT_REVISION)
10 #error "The header file 'clientmodel.h' doesn't include <QObject>."
11 #elif Q_MOC_OUTPUT_REVISION != 63
12 #error "This file was generated using the moc from 4.8.6. It"
13 #error "cannot be used with the include files from this version of Qt."
14 #error "(The moc has changed too much.)"
15 #endif
16 
17 QT_BEGIN_MOC_NAMESPACE
18 static const uint qt_meta_data_ClientModel[] = {
19 
20  // content:
21  6, // revision
22  0, // classname
23  0, 0, // classinfo
24  8, 14, // methods
25  0, 0, // properties
26  0, 0, // enums/sets
27  0, 0, // constructors
28  0, // flags
29  5, // signalCount
30 
31  // signals: signature, parameters, type, tag, flags
32  19, 13, 12, 12, 0x05,
33  46, 13, 12, 12, 0x05,
34  77, 68, 12, 12, 0x05,
35  127, 100, 12, 12, 0x05,
36  177, 157, 12, 12, 0x05,
37 
38  // slots: signature, parameters, type, tag, flags
39  207, 12, 12, 12, 0x0a,
40  236, 221, 12, 12, 0x0a,
41  274, 262, 12, 12, 0x0a,
42 
43  0 // eod
44 };
45 
46 static const char qt_meta_stringdata_ClientModel[] = {
47  "ClientModel\0\0count\0numConnectionsChanged(int)\0"
48  "numBlocksChanged(int)\0warnings\0"
49  "alertsChanged(QString)\0"
50  "totalBytesIn,totalBytesOut\0"
51  "bytesChanged(quint64,quint64)\0"
52  "title,message,style\0message(QString,QString,uint)\0"
53  "updateTimer()\0numConnections\0"
54  "updateNumConnections(int)\0hash,status\0"
55  "updateAlert(QString,int)\0"
56 };
57 
58 void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
59 {
60  if (_c == QMetaObject::InvokeMetaMethod) {
61  Q_ASSERT(staticMetaObject.cast(_o));
62  ClientModel *_t = static_cast<ClientModel *>(_o);
63  switch (_id) {
64  case 0: _t->numConnectionsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
65  case 1: _t->numBlocksChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
66  case 2: _t->alertsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
67  case 3: _t->bytesChanged((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
68  case 4: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
69  case 5: _t->updateTimer(); break;
70  case 6: _t->updateNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break;
71  case 7: _t->updateAlert((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
72  default: ;
73  }
74  }
75 }
76 
77 const QMetaObjectExtraData ClientModel::staticMetaObjectExtraData = {
78  0, qt_static_metacall
79 };
80 
81 const QMetaObject ClientModel::staticMetaObject = {
82  { &QObject::staticMetaObject, qt_meta_stringdata_ClientModel,
83  qt_meta_data_ClientModel, &staticMetaObjectExtraData }
84 };
85 
86 #ifdef Q_NO_DATA_RELOCATION
87 const QMetaObject &ClientModel::getStaticMetaObject() { return staticMetaObject; }
88 #endif //Q_NO_DATA_RELOCATION
89 
90 const QMetaObject *ClientModel::metaObject() const
91 {
92  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
93 }
94 
95 void *ClientModel::qt_metacast(const char *_clname)
96 {
97  if (!_clname) return 0;
98  if (!strcmp(_clname, qt_meta_stringdata_ClientModel))
99  return static_cast<void*>(const_cast< ClientModel*>(this));
100  return QObject::qt_metacast(_clname);
101 }
102 
103 int ClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
104 {
105  _id = QObject::qt_metacall(_c, _id, _a);
106  if (_id < 0)
107  return _id;
108  if (_c == QMetaObject::InvokeMetaMethod) {
109  if (_id < 8)
110  qt_static_metacall(this, _c, _id, _a);
111  _id -= 8;
112  }
113  return _id;
114 }
115 
116 // SIGNAL 0
118 {
119  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
120  QMetaObject::activate(this, &staticMetaObject, 0, _a);
121 }
122 
123 // SIGNAL 1
125 {
126  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
127  QMetaObject::activate(this, &staticMetaObject, 1, _a);
128 }
129 
130 // SIGNAL 2
131 void ClientModel::alertsChanged(const QString & _t1)
132 {
133  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
134  QMetaObject::activate(this, &staticMetaObject, 2, _a);
135 }
136 
137 // SIGNAL 3
138 void ClientModel::bytesChanged(quint64 _t1, quint64 _t2)
139 {
140  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
141  QMetaObject::activate(this, &staticMetaObject, 3, _a);
142 }
143 
144 // SIGNAL 4
145 void ClientModel::message(const QString & _t1, const QString & _t2, unsigned int _t3)
146 {
147  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)) };
148  QMetaObject::activate(this, &staticMetaObject, 4, _a);
149 }
150 QT_END_MOC_NAMESPACE
void numBlocksChanged(int count)
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void numConnectionsChanged(int count)
void alertsChanged(const QString &warnings)
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
static const char qt_meta_stringdata_ClientModel[]
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_ClientModel[]
Model for Bitcoin network client.
Definition: clientmodel.h:36