Bitcoin Core  24.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[16];
25  char stringdata0[243];
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, 14), // "splashFinished"
39 QT_MOC_LITERAL(5, 73, 11), // "windowShown"
40 QT_MOC_LITERAL(6, 85, 11), // "BitcoinGUI*"
41 QT_MOC_LITERAL(7, 97, 6), // "window"
42 QT_MOC_LITERAL(8, 104, 16), // "initializeResult"
43 QT_MOC_LITERAL(9, 121, 7), // "success"
44 QT_MOC_LITERAL(10, 129, 33), // "interfaces::BlockAndHeaderTip..."
45 QT_MOC_LITERAL(11, 163, 8), // "tip_info"
46 QT_MOC_LITERAL(12, 172, 15), // "requestShutdown"
47 QT_MOC_LITERAL(13, 188, 22), // "handleRunawayException"
48 QT_MOC_LITERAL(14, 211, 7), // "message"
49 QT_MOC_LITERAL(15, 219, 23) // "handleNonFatalException"
50 
51  },
52  "BitcoinApplication\0requestedInitialize\0"
53  "\0requestedShutdown\0splashFinished\0"
54  "windowShown\0BitcoinGUI*\0window\0"
55  "initializeResult\0success\0"
56  "interfaces::BlockAndHeaderTipInfo\0"
57  "tip_info\0requestShutdown\0"
58  "handleRunawayException\0message\0"
59  "handleNonFatalException"
60 };
61 #undef QT_MOC_LITERAL
62 
63 static const uint qt_meta_data_BitcoinApplication[] = {
64 
65  // content:
66  8, // revision
67  0, // classname
68  0, 0, // classinfo
69  8, 14, // methods
70  0, 0, // properties
71  0, 0, // enums/sets
72  0, 0, // constructors
73  0, // flags
74  4, // signalCount
75 
76  // signals: name, argc, parameters, tag, flags
77  1, 0, 54, 2, 0x06 /* Public */,
78  3, 0, 55, 2, 0x06 /* Public */,
79  4, 0, 56, 2, 0x06 /* Public */,
80  5, 1, 57, 2, 0x06 /* Public */,
81 
82  // slots: name, argc, parameters, tag, flags
83  8, 2, 60, 2, 0x0a /* Public */,
84  12, 0, 65, 2, 0x0a /* Public */,
85  13, 1, 66, 2, 0x0a /* Public */,
86  15, 1, 69, 2, 0x0a /* Public */,
87 
88  // signals: parameters
89  QMetaType::Void,
90  QMetaType::Void,
91  QMetaType::Void,
92  QMetaType::Void, 0x80000000 | 6, 7,
93 
94  // slots: parameters
95  QMetaType::Void, QMetaType::Bool, 0x80000000 | 10, 9, 11,
96  QMetaType::Void,
97  QMetaType::Void, QMetaType::QString, 14,
98  QMetaType::Void, QMetaType::QString, 14,
99 
100  0 // eod
101 };
102 
103 void BitcoinApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
104 {
105  if (_c == QMetaObject::InvokeMetaMethod) {
106  auto *_t = static_cast<BitcoinApplication *>(_o);
107  Q_UNUSED(_t)
108  switch (_id) {
109  case 0: _t->requestedInitialize(); break;
110  case 1: _t->requestedShutdown(); break;
111  case 2: _t->splashFinished(); break;
112  case 3: _t->windowShown((*reinterpret_cast< BitcoinGUI*(*)>(_a[1]))); break;
113  case 4: _t->initializeResult((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< interfaces::BlockAndHeaderTipInfo(*)>(_a[2]))); break;
114  case 5: _t->requestShutdown(); break;
115  case 6: _t->handleRunawayException((*reinterpret_cast< const QString(*)>(_a[1]))); break;
116  case 7: _t->handleNonFatalException((*reinterpret_cast< const QString(*)>(_a[1]))); break;
117  default: ;
118  }
119  } else if (_c == QMetaObject::IndexOfMethod) {
120  int *result = reinterpret_cast<int *>(_a[0]);
121  {
122  using _t = void (BitcoinApplication::*)();
123  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinApplication::requestedInitialize)) {
124  *result = 0;
125  return;
126  }
127  }
128  {
129  using _t = void (BitcoinApplication::*)();
130  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinApplication::requestedShutdown)) {
131  *result = 1;
132  return;
133  }
134  }
135  {
136  using _t = void (BitcoinApplication::*)();
137  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinApplication::splashFinished)) {
138  *result = 2;
139  return;
140  }
141  }
142  {
143  using _t = void (BitcoinApplication::*)(BitcoinGUI * );
144  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinApplication::windowShown)) {
145  *result = 3;
146  return;
147  }
148  }
149  }
150 }
151 
152 QT_INIT_METAOBJECT const QMetaObject BitcoinApplication::staticMetaObject = { {
153  &QApplication::staticMetaObject,
156  qt_static_metacall,
157  nullptr,
158  nullptr
159 } };
160 
161 
162 const QMetaObject *BitcoinApplication::metaObject() const
163 {
164  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
165 }
166 
167 void *BitcoinApplication::qt_metacast(const char *_clname)
168 {
169  if (!_clname) return nullptr;
171  return static_cast<void*>(this);
172  return QApplication::qt_metacast(_clname);
173 }
174 
175 int BitcoinApplication::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
176 {
177  _id = QApplication::qt_metacall(_c, _id, _a);
178  if (_id < 0)
179  return _id;
180  if (_c == QMetaObject::InvokeMetaMethod) {
181  if (_id < 8)
182  qt_static_metacall(this, _c, _id, _a);
183  _id -= 8;
184  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
185  if (_id < 8)
186  *reinterpret_cast<int*>(_a[0]) = -1;
187  _id -= 8;
188  }
189  return _id;
190 }
191 
192 // SIGNAL 0
194 {
195  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
196 }
197 
198 // SIGNAL 1
200 {
201  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
202 }
203 
204 // SIGNAL 2
206 {
207  QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
208 }
209 
210 // SIGNAL 3
212 {
213  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
214  QMetaObject::activate(this, &staticMetaObject, 3, _a);
215 }
216 QT_WARNING_POP
217 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:63
Block and header tip information.
Definition: node.h:49
void windowShown(BitcoinGUI *window)