Fabcoin Core  0.16.2
P2P Digital Currency
moc_abiparamitem.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'abiparamitem.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/abiparamitem.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'abiparamitem.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[5];
22  char stringdata0[62];
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_ABIParamItem_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_ABIParamItem_t qt_meta_stringdata_ABIParamItem = {
30  {
31 QT_MOC_LITERAL(0, 0, 12), // "ABIParamItem"
32 QT_MOC_LITERAL(1, 13, 17), // "on_addItemClicked"
33 QT_MOC_LITERAL(2, 31, 0), // ""
34 QT_MOC_LITERAL(3, 32, 8), // "position"
35 QT_MOC_LITERAL(4, 41, 20) // "on_removeItemClicked"
36 
37  },
38  "ABIParamItem\0on_addItemClicked\0\0"
39  "position\0on_removeItemClicked"
40 };
41 #undef QT_MOC_LITERAL
42 
43 static const uint qt_meta_data_ABIParamItem[] = {
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  4, 14, // methods
50  0, 0, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  2, // signalCount
55 
56  // signals: name, argc, parameters, tag, flags
57  1, 1, 34, 2, 0x06 /* Public */,
58  4, 1, 37, 2, 0x06 /* Public */,
59 
60  // slots: name, argc, parameters, tag, flags
61  1, 0, 40, 2, 0x0a /* Public */,
62  4, 0, 41, 2, 0x0a /* Public */,
63 
64  // signals: parameters
65  QMetaType::Void, QMetaType::Int, 3,
66  QMetaType::Void, QMetaType::Int, 3,
67 
68  // slots: parameters
69  QMetaType::Void,
70  QMetaType::Void,
71 
72  0 // eod
73 };
74 
75 void ABIParamItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76 {
77  if (_c == QMetaObject::InvokeMetaMethod) {
78  ABIParamItem *_t = static_cast<ABIParamItem *>(_o);
79  Q_UNUSED(_t)
80  switch (_id) {
81  case 0: _t->on_addItemClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
82  case 1: _t->on_removeItemClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
83  case 2: _t->on_addItemClicked(); break;
84  case 3: _t->on_removeItemClicked(); break;
85  default: ;
86  }
87  } else if (_c == QMetaObject::IndexOfMethod) {
88  int *result = reinterpret_cast<int *>(_a[0]);
89  void **func = reinterpret_cast<void **>(_a[1]);
90  {
91  typedef void (ABIParamItem::*_t)(int );
92  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ABIParamItem::on_addItemClicked)) {
93  *result = 0;
94  }
95  }
96  {
97  typedef void (ABIParamItem::*_t)(int );
98  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ABIParamItem::on_removeItemClicked)) {
99  *result = 1;
100  }
101  }
102  }
103 }
104 
105 const QMetaObject ABIParamItem::staticMetaObject = {
106  { &QWidget::staticMetaObject, qt_meta_stringdata_ABIParamItem.data,
107  qt_meta_data_ABIParamItem, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
108 };
109 
110 
111 const QMetaObject *ABIParamItem::metaObject() const
112 {
113  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
114 }
115 
116 void *ABIParamItem::qt_metacast(const char *_clname)
117 {
118  if (!_clname) return Q_NULLPTR;
119  if (!strcmp(_clname, qt_meta_stringdata_ABIParamItem.stringdata0))
120  return static_cast<void*>(const_cast< ABIParamItem*>(this));
121  return QWidget::qt_metacast(_clname);
122 }
123 
124 int ABIParamItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
125 {
126  _id = QWidget::qt_metacall(_c, _id, _a);
127  if (_id < 0)
128  return _id;
129  if (_c == QMetaObject::InvokeMetaMethod) {
130  if (_id < 4)
131  qt_static_metacall(this, _c, _id, _a);
132  _id -= 4;
133  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
134  if (_id < 4)
135  *reinterpret_cast<int*>(_a[0]) = -1;
136  _id -= 4;
137  }
138  return _id;
139 }
140 
141 // SIGNAL 0
143 {
144  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
145  QMetaObject::activate(this, &staticMetaObject, 0, _a);
146 }
147 
148 // SIGNAL 1
150 {
151  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
152  QMetaObject::activate(this, &staticMetaObject, 1, _a);
153 }
154 QT_END_MOC_NAMESPACE
uint32_t uint
Definition: libclwrapper.h:40
void on_removeItemClicked(int position)
void on_addItemClicked(int position)
void on_removeItemClicked()
#define QT_MOC_LITERAL(idx, ofs, len)
void on_addItemClicked()