Fabcoin Core  0.16.2
P2P Digital Currency
moc_optionsmodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'optionsmodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/optionsmodel.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'optionsmodel.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.5.1. 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
21  QByteArrayData data[9];
22  char stringdata0[146];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  qptrdiff(offsetof(qt_meta_stringdata_OptionsModel_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_OptionsModel_t qt_meta_stringdata_OptionsModel = {
30  {
31 QT_MOC_LITERAL(0, 0, 12), // "OptionsModel"
32 QT_MOC_LITERAL(1, 13, 18), // "displayUnitChanged"
33 QT_MOC_LITERAL(2, 32, 0), // ""
34 QT_MOC_LITERAL(3, 33, 4), // "unit"
35 QT_MOC_LITERAL(4, 38, 26), // "coinControlFeaturesChanged"
36 QT_MOC_LITERAL(5, 65, 19), // "hideTrayIconChanged"
37 QT_MOC_LITERAL(6, 85, 21), // "reserveBalanceChanged"
38 QT_MOC_LITERAL(7, 107, 7), // "CAmount"
39 QT_MOC_LITERAL(8, 115, 30) // "zeroBalanceAddressTokenChanged"
40 
41  },
42  "OptionsModel\0displayUnitChanged\0\0unit\0"
43  "coinControlFeaturesChanged\0"
44  "hideTrayIconChanged\0reserveBalanceChanged\0"
45  "CAmount\0zeroBalanceAddressTokenChanged"
46 };
47 #undef QT_MOC_LITERAL
48 
49 static const uint qt_meta_data_OptionsModel[] = {
50 
51  // content:
52  7, // revision
53  0, // classname
54  0, 0, // classinfo
55  5, 14, // methods
56  0, 0, // properties
57  0, 0, // enums/sets
58  0, 0, // constructors
59  0, // flags
60  5, // signalCount
61 
62  // signals: name, argc, parameters, tag, flags
63  1, 1, 39, 2, 0x06 /* Public */,
64  4, 1, 42, 2, 0x06 /* Public */,
65  5, 1, 45, 2, 0x06 /* Public */,
66  6, 1, 48, 2, 0x06 /* Public */,
67  8, 1, 51, 2, 0x06 /* Public */,
68 
69  // signals: parameters
70  QMetaType::Void, QMetaType::Int, 3,
71  QMetaType::Void, QMetaType::Bool, 2,
72  QMetaType::Void, QMetaType::Bool, 2,
73  QMetaType::Void, 0x80000000 | 7, 2,
74  QMetaType::Void, QMetaType::Bool, 2,
75 
76  0 // eod
77 };
78 
79 void OptionsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80 {
81  if (_c == QMetaObject::InvokeMetaMethod) {
82  OptionsModel *_t = static_cast<OptionsModel *>(_o);
83  Q_UNUSED(_t)
84  switch (_id) {
85  case 0: _t->displayUnitChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
86  case 1: _t->coinControlFeaturesChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
87  case 2: _t->hideTrayIconChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
88  case 3: _t->reserveBalanceChanged((*reinterpret_cast< CAmount(*)>(_a[1]))); break;
89  case 4: _t->zeroBalanceAddressTokenChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
90  default: ;
91  }
92  } else if (_c == QMetaObject::IndexOfMethod) {
93  int *result = reinterpret_cast<int *>(_a[0]);
94  void **func = reinterpret_cast<void **>(_a[1]);
95  {
96  typedef void (OptionsModel::*_t)(int );
97  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::displayUnitChanged)) {
98  *result = 0;
99  }
100  }
101  {
102  typedef void (OptionsModel::*_t)(bool );
103  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::coinControlFeaturesChanged)) {
104  *result = 1;
105  }
106  }
107  {
108  typedef void (OptionsModel::*_t)(bool );
109  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::hideTrayIconChanged)) {
110  *result = 2;
111  }
112  }
113  {
114  typedef void (OptionsModel::*_t)(CAmount );
115  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::reserveBalanceChanged)) {
116  *result = 3;
117  }
118  }
119  {
120  typedef void (OptionsModel::*_t)(bool );
121  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::zeroBalanceAddressTokenChanged)) {
122  *result = 4;
123  }
124  }
125  }
126 }
127 
128 const QMetaObject OptionsModel::staticMetaObject = {
129  { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_OptionsModel.data,
130  qt_meta_data_OptionsModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
131 };
132 
133 
134 const QMetaObject *OptionsModel::metaObject() const
135 {
136  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
137 }
138 
139 void *OptionsModel::qt_metacast(const char *_clname)
140 {
141  if (!_clname) return Q_NULLPTR;
142  if (!strcmp(_clname, qt_meta_stringdata_OptionsModel.stringdata0))
143  return static_cast<void*>(const_cast< OptionsModel*>(this));
144  return QAbstractListModel::qt_metacast(_clname);
145 }
146 
147 int OptionsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
148 {
149  _id = QAbstractListModel::qt_metacall(_c, _id, _a);
150  if (_id < 0)
151  return _id;
152  if (_c == QMetaObject::InvokeMetaMethod) {
153  if (_id < 5)
154  qt_static_metacall(this, _c, _id, _a);
155  _id -= 5;
156  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
157  if (_id < 5)
158  *reinterpret_cast<int*>(_a[0]) = -1;
159  _id -= 5;
160  }
161  return _id;
162 }
163 
164 // SIGNAL 0
166 {
167  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
168  QMetaObject::activate(this, &staticMetaObject, 0, _a);
169 }
170 
171 // SIGNAL 1
173 {
174  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
175  QMetaObject::activate(this, &staticMetaObject, 1, _a);
176 }
177 
178 // SIGNAL 2
180 {
181  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
182  QMetaObject::activate(this, &staticMetaObject, 2, _a);
183 }
184 
185 // SIGNAL 3
187 {
188  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
189  QMetaObject::activate(this, &staticMetaObject, 3, _a);
190 }
191 
192 // SIGNAL 4
194 {
195  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
196  QMetaObject::activate(this, &staticMetaObject, 4, _a);
197 }
198 QT_END_MOC_NAMESPACE
void hideTrayIconChanged(bool)
uint32_t uint
Definition: libclwrapper.h:40
void coinControlFeaturesChanged(bool)
int64_t CAmount
Amount in lius (Can be negative)
Definition: amount.h:15
void zeroBalanceAddressTokenChanged(bool)
#define QT_MOC_LITERAL(idx, ofs, len)
void displayUnitChanged(int unit)
void reserveBalanceChanged(CAmount)
Interface from Qt to configuration data structure for Fabcoin client.
Definition: optionsmodel.h:22