9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'bitcoin.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.)"
19 QT_BEGIN_MOC_NAMESPACE
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_BitcoinCore_t, stringdata0) + ofs \
27 - idx * sizeof(QByteArrayData)) \
44 "BitcoinCore\0initializeResult\0\0success\0"
45 "interfaces::BlockAndHeaderTipInfo\0"
46 "tip_info\0shutdownResult\0runawayException\0"
47 "message\0initialize\0shutdown"
74 QMetaType::Void, QMetaType::Bool, 0x80000000 | 4, 3, 5,
76 QMetaType::Void, QMetaType::QString, 8,
85 void BitcoinCore::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
87 if (_c == QMetaObject::InvokeMetaMethod) {
93 case 2: _t->
runawayException((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
98 }
else if (_c == QMetaObject::IndexOfMethod) {
99 int *result =
reinterpret_cast<int *
>(_a[0]);
100 void **func =
reinterpret_cast<void **
>(_a[1]);
122 const QMetaObject BitcoinCore::staticMetaObject = {
123 { &QObject::staticMetaObject, qt_meta_stringdata_BitcoinCore.
data,
128 const QMetaObject *BitcoinCore::metaObject()
const
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
133 void *BitcoinCore::qt_metacast(
const char *_clname)
135 if (!_clname)
return Q_NULLPTR;
136 if (!strcmp(_clname, qt_meta_stringdata_BitcoinCore.
stringdata0))
137 return static_cast<void*
>(
const_cast< BitcoinCore*
>(
this));
138 return QObject::qt_metacast(_clname);
141 int BitcoinCore::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
143 _id = QObject::qt_metacall(_c, _id, _a);
146 if (_c == QMetaObject::InvokeMetaMethod) {
148 qt_static_metacall(
this, _c, _id, _a);
150 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
152 *
reinterpret_cast<int*
>(_a[0]) = -1;
161 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
162 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
168 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
174 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
175 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
181 #define QT_MOC_LITERAL(idx, ofs, len) \
182 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
183 qptrdiff(offsetof(qt_meta_stringdata_BitcoinApplication_t, stringdata0) + ofs \
184 - idx * sizeof(QByteArrayData)) \
205 "BitcoinApplication\0requestedInitialize\0"
206 "\0requestedShutdown\0splashFinished\0"
207 "windowShown\0BitcoinGUI*\0window\0"
208 "initializeResult\0success\0"
209 "interfaces::BlockAndHeaderTipInfo\0"
210 "tip_info\0shutdownResult\0handleRunawayException\0"
213 #undef QT_MOC_LITERAL
243 QMetaType::Void, 0x80000000 | 6, 7,
246 QMetaType::Void, QMetaType::Bool, 0x80000000 | 10, 9, 11,
248 QMetaType::Void, QMetaType::QString, 14,
253 void BitcoinApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
255 if (_c == QMetaObject::InvokeMetaMethod) {
268 }
else if (_c == QMetaObject::IndexOfMethod) {
269 int *result =
reinterpret_cast<int *
>(_a[0]);
270 void **func =
reinterpret_cast<void **
>(_a[1]);
298 const QMetaObject BitcoinApplication::staticMetaObject = {
299 { &QApplication::staticMetaObject, qt_meta_stringdata_BitcoinApplication.
data,
304 const QMetaObject *BitcoinApplication::metaObject()
const
306 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
309 void *BitcoinApplication::qt_metacast(
const char *_clname)
311 if (!_clname)
return Q_NULLPTR;
312 if (!strcmp(_clname, qt_meta_stringdata_BitcoinApplication.
stringdata0))
314 return QApplication::qt_metacast(_clname);
317 int BitcoinApplication::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
319 _id = QApplication::qt_metacall(_c, _id, _a);
322 if (_c == QMetaObject::InvokeMetaMethod) {
324 qt_static_metacall(
this, _c, _id, _a);
326 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
328 *
reinterpret_cast<int*
>(_a[0]) = -1;
337 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
343 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
349 QMetaObject::activate(
this, &staticMetaObject, 2, Q_NULLPTR);
355 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
356 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
#define QT_MOC_LITERAL(idx, ofs, len)
Class encapsulating Bitcoin Core startup and shutdown.
void handleRunawayException(const QString &message)
Handle runaway exceptions. Shows a message box with the problem and quits the program.
void requestedInitialize()
static const qt_meta_stringdata_BitcoinApplication_t qt_meta_stringdata_BitcoinApplication
Main Bitcoin application object.
void initializeResult(bool success, interfaces::BlockAndHeaderTipInfo tip_info)
static const uint qt_meta_data_BitcoinApplication[]
Block and header tip information.
void windowShown(BitcoinGUI *window)
static const uint qt_meta_data_BitcoinCore[]
static const qt_meta_stringdata_BitcoinCore_t qt_meta_stringdata_BitcoinCore
void runawayException(const QString &message)
void initializeResult(bool success, interfaces::BlockAndHeaderTipInfo tip_info)