Fabcoin Core  0.16.2
P2P Digital Currency
moc_addressfield.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'addressfield.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/addressfield.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'addressfield.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[114];
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_AddressField_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_AddressField_t qt_meta_stringdata_AddressField = {
30  {
31 QT_MOC_LITERAL(0, 0, 12), // "AddressField"
32 QT_MOC_LITERAL(1, 13, 18), // "addressTypeChanged"
33 QT_MOC_LITERAL(2, 32, 0), // ""
34 QT_MOC_LITERAL(3, 33, 11), // "AddressType"
35 QT_MOC_LITERAL(4, 45, 10), // "on_refresh"
36 QT_MOC_LITERAL(5, 56, 21), // "on_addressTypeChanged"
37 QT_MOC_LITERAL(6, 78, 18), // "on_editingFinished"
38 QT_MOC_LITERAL(7, 97, 11), // "addressType"
39 QT_MOC_LITERAL(8, 109, 4) // "UTXO"
40 
41  },
42  "AddressField\0addressTypeChanged\0\0"
43  "AddressType\0on_refresh\0on_addressTypeChanged\0"
44  "on_editingFinished\0addressType\0UTXO"
45 };
46 #undef QT_MOC_LITERAL
47 
48 static const uint qt_meta_data_AddressField[] = {
49 
50  // content:
51  7, // revision
52  0, // classname
53  0, 0, // classinfo
54  4, 14, // methods
55  1, 40, // properties
56  1, 44, // enums/sets
57  0, 0, // constructors
58  0, // flags
59  1, // signalCount
60 
61  // signals: name, argc, parameters, tag, flags
62  1, 1, 34, 2, 0x06 /* Public */,
63 
64  // slots: name, argc, parameters, tag, flags
65  4, 0, 37, 2, 0x0a /* Public */,
66  5, 0, 38, 2, 0x0a /* Public */,
67  6, 0, 39, 2, 0x0a /* Public */,
68 
69  // signals: parameters
70  QMetaType::Void, 0x80000000 | 3, 2,
71 
72  // slots: parameters
73  QMetaType::Void,
74  QMetaType::Void,
75  QMetaType::Void,
76 
77  // properties: name, type, flags
78  7, 0x80000000 | 3, 0x0049510b,
79 
80  // properties: notify_signal_id
81  0,
82 
83  // enums: name, flags, count, data
84  3, 0x0, 1, 48,
85 
86  // enum data: key, value
88 
89  0 // eod
90 };
91 
92 void AddressField::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
93 {
94  if (_c == QMetaObject::InvokeMetaMethod) {
95  AddressField *_t = static_cast<AddressField *>(_o);
96  Q_UNUSED(_t)
97  switch (_id) {
98  case 0: _t->addressTypeChanged((*reinterpret_cast< AddressType(*)>(_a[1]))); break;
99  case 1: _t->on_refresh(); break;
100  case 2: _t->on_addressTypeChanged(); break;
101  case 3: _t->on_editingFinished(); break;
102  default: ;
103  }
104  } else if (_c == QMetaObject::IndexOfMethod) {
105  int *result = reinterpret_cast<int *>(_a[0]);
106  void **func = reinterpret_cast<void **>(_a[1]);
107  {
108  typedef void (AddressField::*_t)(AddressType );
109  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AddressField::addressTypeChanged)) {
110  *result = 0;
111  }
112  }
113  }
114 #ifndef QT_NO_PROPERTIES
115  else if (_c == QMetaObject::ReadProperty) {
116  AddressField *_t = static_cast<AddressField *>(_o);
117  Q_UNUSED(_t)
118  void *_v = _a[0];
119  switch (_id) {
120  case 0: *reinterpret_cast< AddressType*>(_v) = _t->addressType(); break;
121  default: break;
122  }
123  } else if (_c == QMetaObject::WriteProperty) {
124  AddressField *_t = static_cast<AddressField *>(_o);
125  Q_UNUSED(_t)
126  void *_v = _a[0];
127  switch (_id) {
128  case 0: _t->setAddressType(*reinterpret_cast< AddressType*>(_v)); break;
129  default: break;
130  }
131  } else if (_c == QMetaObject::ResetProperty) {
132  }
133 #endif // QT_NO_PROPERTIES
134 }
135 
136 const QMetaObject AddressField::staticMetaObject = {
137  { &QComboBox::staticMetaObject, qt_meta_stringdata_AddressField.data,
138  qt_meta_data_AddressField, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
139 };
140 
141 
142 const QMetaObject *AddressField::metaObject() const
143 {
144  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
145 }
146 
147 void *AddressField::qt_metacast(const char *_clname)
148 {
149  if (!_clname) return Q_NULLPTR;
150  if (!strcmp(_clname, qt_meta_stringdata_AddressField.stringdata0))
151  return static_cast<void*>(const_cast< AddressField*>(this));
152  return QComboBox::qt_metacast(_clname);
153 }
154 
155 int AddressField::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
156 {
157  _id = QComboBox::qt_metacall(_c, _id, _a);
158  if (_id < 0)
159  return _id;
160  if (_c == QMetaObject::InvokeMetaMethod) {
161  if (_id < 4)
162  qt_static_metacall(this, _c, _id, _a);
163  _id -= 4;
164  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
165  if (_id < 4)
166  *reinterpret_cast<int*>(_a[0]) = -1;
167  _id -= 4;
168  }
169 #ifndef QT_NO_PROPERTIES
170  else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
171  || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
172  qt_static_metacall(this, _c, _id, _a);
173  _id -= 1;
174  } else if (_c == QMetaObject::QueryPropertyDesignable) {
175  _id -= 1;
176  } else if (_c == QMetaObject::QueryPropertyScriptable) {
177  _id -= 1;
178  } else if (_c == QMetaObject::QueryPropertyStored) {
179  _id -= 1;
180  } else if (_c == QMetaObject::QueryPropertyEditable) {
181  _id -= 1;
182  } else if (_c == QMetaObject::QueryPropertyUser) {
183  _id -= 1;
184  }
185 #endif // QT_NO_PROPERTIES
186  return _id;
187 }
188 
189 // SIGNAL 0
191 {
192  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
193  QMetaObject::activate(this, &staticMetaObject, 0, _a);
194 }
195 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
AddressType addressType
Definition: addressfield.h:18
Drop down list of addresses.
Definition: addressfield.h:15
uint32_t uint
Definition: libclwrapper.h:40
void on_refresh()
on_refresh Refresh the list of addresses
void on_editingFinished()
on_editingFinished Completer finish text update
void addressTypeChanged(AddressType)
addressTypeChanged Signal that the address type is changed
void setAddressType(AddressType addressType)
setAddressType Set the address type
Definition: addressfield.h:32
void on_addressTypeChanged()
on_addressTypeChanged Change the address type
AddressType
The AddressType enum Type of addresses that will be displayed.
Definition: addressfield.h:24