Bitcoin Core  27.1.0
P2P Digital Currency
moc_bitcoin.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'bitcoin.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "qt/bitcoin.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'bitcoin.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.12.7. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[15];
25  char stringdata0[228];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_BitcoinApplication_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 18), // "BitcoinApplication"
35 QT_MOC_LITERAL(1, 19, 19), // "requestedInitialize"
36 QT_MOC_LITERAL(2, 39, 0), // ""
37 QT_MOC_LITERAL(3, 40, 17), // "requestedShutdown"
38 QT_MOC_LITERAL(4, 58, 11), // "windowShown"
39 QT_MOC_LITERAL(5, 70, 11), // "BitcoinGUI*"
40 QT_MOC_LITERAL(6, 82, 6), // "window"
41 QT_MOC_LITERAL(7, 89, 16), // "initializeResult"
42 QT_MOC_LITERAL(8, 106, 7), // "success"
43 QT_MOC_LITERAL(9, 114, 33), // "interfaces::BlockAndHeaderTip..."
44 QT_MOC_LITERAL(10, 148, 8), // "tip_info"
45 QT_MOC_LITERAL(11, 157, 15), // "requestShutdown"
46 QT_MOC_LITERAL(12, 173, 22), // "handleRunawayException"
47 QT_MOC_LITERAL(13, 196, 7), // "message"
48 QT_MOC_LITERAL(14, 204, 23) // "handleNonFatalException"
49 
50  },
51  "BitcoinApplication\0requestedInitialize\0"
52  "\0requestedShutdown\0windowShown\0"
53  "BitcoinGUI*\0window\0initializeResult\0"
54  "success\0interfaces::BlockAndHeaderTipInfo\0"
55  "tip_info\0requestShutdown\0"
56  "handleRunawayException\0message\0"
57  "handleNonFatalException"
58 };
59 #undef QT_MOC_LITERAL
60 
61 static const uint qt_meta_data_BitcoinApplication[] = {
62 
63  // content:
64  8, // revision
65  0, // classname
66  0, 0, // classinfo
67  7, 14, // methods
68  0, 0, // properties
69  0, 0, // enums/sets
70  0, 0, // constructors
71  0, // flags
72  3, // signalCount
73 
74  // signals: name, argc, parameters, tag, flags
75  1, 0, 49, 2, 0x06 /* Public */,
76  3, 0, 50, 2, 0x06 /* Public */,
77  4, 1, 51, 2, 0x06 /* Public */,
78 
79  // slots: name, argc, parameters, tag, flags
80  7, 2, 54, 2, 0x0a /* Public */,
81  11, 0, 59, 2, 0x0a /* Public */,
82  12, 1, 60, 2, 0x0a /* Public */,
83  14, 1, 63, 2, 0x0a /* Public */,
84 
85  // signals: parameters
86  QMetaType::Void,
87  QMetaType::Void,
88  QMetaType::Void, 0x80000000 | 5, 6,
89 
90  // slots: parameters
91  QMetaType::Void, QMetaType::Bool, 0x80000000 | 9, 8, 10,
92  QMetaType::Void,
93  QMetaType::Void, QMetaType::QString, 13,
94  QMetaType::Void, QMetaType::QString, 13,
95 
96  0 // eod
97 };
98 
99 void BitcoinApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
100 {
101  if (_c == QMetaObject::InvokeMetaMethod) {
102  auto *_t = static_cast<BitcoinApplication *>(_o);
103  Q_UNUSED(_t)
104  switch (_id) {
105  case 0: _t->requestedInitialize(); break;
106  case 1: _t->requestedShutdown(); break;
107  case 2: _t->windowShown((*reinterpret_cast< BitcoinGUI*(*)>(_a[1]))); break;
108  case 3: _t->initializeResult((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< interfaces::BlockAndHeaderTipInfo(*)>(_a[2]))); break;
109  case 4: _t->requestShutdown(); break;
110  case 5: _t->handleRunawayException((*reinterpret_cast< const QString(*)>(_a[1]))); break;
111  case 6: _t->handleNonFatalException((*reinterpret_cast< const QString(*)>(_a[1]))); break;
112  default: ;
113  }
114  } else if (_c == QMetaObject::IndexOfMethod) {
115  int *result = reinterpret_cast<int *>(_a[0]);
116  {
117  using _t = void (BitcoinApplication::*)();
118  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinApplication::requestedInitialize)) {
119  *result = 0;
120  return;
121  }
122  }
123  {
124  using _t = void (BitcoinApplication::*)();
125  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinApplication::requestedShutdown)) {
126  *result = 1;
127  return;
128  }
129  }
130  {
131  using _t = void (BitcoinApplication::*)(BitcoinGUI * );
132  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinApplication::windowShown)) {
133  *result = 2;
134  return;
135  }
136  }
137  }
138 }
139 
140 QT_INIT_METAOBJECT const QMetaObject BitcoinApplication::staticMetaObject = { {
141  &QApplication::staticMetaObject,
144  qt_static_metacall,
145  nullptr,
146  nullptr
147 } };
148 
149 
150 const QMetaObject *BitcoinApplication::metaObject() const
151 {
152  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
153 }
154 
155 void *BitcoinApplication::qt_metacast(const char *_clname)
156 {
157  if (!_clname) return nullptr;
159  return static_cast<void*>(this);
160  return QApplication::qt_metacast(_clname);
161 }
162 
163 int BitcoinApplication::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
164 {
165  _id = QApplication::qt_metacall(_c, _id, _a);
166  if (_id < 0)
167  return _id;
168  if (_c == QMetaObject::InvokeMetaMethod) {
169  if (_id < 7)
170  qt_static_metacall(this, _c, _id, _a);
171  _id -= 7;
172  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
173  if (_id < 7)
174  *reinterpret_cast<int*>(_a[0]) = -1;
175  _id -= 7;
176  }
177  return _id;
178 }
179 
180 // SIGNAL 0
182 {
183  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
184 }
185 
186 // SIGNAL 1
188 {
189  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
190 }
191 
192 // SIGNAL 2
194 {
195  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
196  QMetaObject::activate(this, &staticMetaObject, 2, _a);
197 }
198 QT_WARNING_POP
199 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_bitcoin.cpp:27
Bitcoin GUI main class.
Definition: bitcoingui.h:69
static const qt_meta_stringdata_BitcoinApplication_t qt_meta_stringdata_BitcoinApplication
Definition: moc_bitcoin.cpp:32
Main Bitcoin application object.
Definition: bitcoin.h:36
static const uint qt_meta_data_BitcoinApplication[]
Definition: moc_bitcoin.cpp:61
Block and header tip information.
Definition: node.h:49
void windowShown(BitcoinGUI *window)