Anoncoin  0.9.4
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.2.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[6];
22  char stringdata[88];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  offsetof(qt_meta_stringdata_OptionsModel_t, stringdata) + 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),
32 QT_MOC_LITERAL(1, 13, 18),
33 QT_MOC_LITERAL(2, 32, 0),
34 QT_MOC_LITERAL(3, 33, 4),
35 QT_MOC_LITERAL(4, 38, 21),
36 QT_MOC_LITERAL(5, 60, 26)
37  },
38  "OptionsModel\0displayUnitChanged\0\0unit\0"
39  "transactionFeeChanged\0coinControlFeaturesChanged\0"
40 };
41 #undef QT_MOC_LITERAL
42 
43 static const uint qt_meta_data_OptionsModel[] = {
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  3, 14, // methods
50  0, 0, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  3, // signalCount
55 
56  // signals: name, argc, parameters, tag, flags
57  1, 1, 29, 2, 0x06,
58  4, 1, 32, 2, 0x06,
59  5, 1, 35, 2, 0x06,
60 
61  // signals: parameters
62  QMetaType::Void, QMetaType::Int, 3,
63  QMetaType::Void, QMetaType::LongLong, 2,
64  QMetaType::Void, QMetaType::Bool, 2,
65 
66  0 // eod
67 };
68 
69 void OptionsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
70 {
71  if (_c == QMetaObject::InvokeMetaMethod) {
72  OptionsModel *_t = static_cast<OptionsModel *>(_o);
73  switch (_id) {
74  case 0: _t->displayUnitChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
75  case 1: _t->transactionFeeChanged((*reinterpret_cast< qint64(*)>(_a[1]))); break;
76  case 2: _t->coinControlFeaturesChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
77  default: ;
78  }
79  } else if (_c == QMetaObject::IndexOfMethod) {
80  int *result = reinterpret_cast<int *>(_a[0]);
81  void **func = reinterpret_cast<void **>(_a[1]);
82  {
83  typedef void (OptionsModel::*_t)(int );
84  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::displayUnitChanged)) {
85  *result = 0;
86  }
87  }
88  {
89  typedef void (OptionsModel::*_t)(qint64 );
90  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::transactionFeeChanged)) {
91  *result = 1;
92  }
93  }
94  {
95  typedef void (OptionsModel::*_t)(bool );
96  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OptionsModel::coinControlFeaturesChanged)) {
97  *result = 2;
98  }
99  }
100  }
101 }
102 
103 const QMetaObject OptionsModel::staticMetaObject = {
104  { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_OptionsModel.data,
105  qt_meta_data_OptionsModel, qt_static_metacall, 0, 0}
106 };
107 
108 
109 const QMetaObject *OptionsModel::metaObject() const
110 {
111  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112 }
113 
114 void *OptionsModel::qt_metacast(const char *_clname)
115 {
116  if (!_clname) return 0;
117  if (!strcmp(_clname, qt_meta_stringdata_OptionsModel.stringdata))
118  return static_cast<void*>(const_cast< OptionsModel*>(this));
119  return QAbstractListModel::qt_metacast(_clname);
120 }
121 
122 int OptionsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
123 {
124  _id = QAbstractListModel::qt_metacall(_c, _id, _a);
125  if (_id < 0)
126  return _id;
127  if (_c == QMetaObject::InvokeMetaMethod) {
128  if (_id < 3)
129  qt_static_metacall(this, _c, _id, _a);
130  _id -= 3;
131  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
132  if (_id < 3)
133  *reinterpret_cast<int*>(_a[0]) = -1;
134  _id -= 3;
135  }
136  return _id;
137 }
138 
139 // SIGNAL 0
141 {
142  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
143  QMetaObject::activate(this, &staticMetaObject, 0, _a);
144 }
145 
146 // SIGNAL 1
148 {
149  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
150  QMetaObject::activate(this, &staticMetaObject, 1, _a);
151 }
152 
153 // SIGNAL 2
155 {
156  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
157  QMetaObject::activate(this, &staticMetaObject, 2, _a);
158 }
159 QT_END_MOC_NAMESPACE
void transactionFeeChanged(qint64)
void coinControlFeaturesChanged(bool)
#define QT_MOC_LITERAL(idx, ofs, len)
void displayUnitChanged(int unit)
Interface from Qt to configuration data structure for Anoncoin client.
Definition: optionsmodel.h:27