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.6.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]);
125 const QMetaObject BitcoinCore::staticMetaObject = {
126 { &QObject::staticMetaObject, qt_meta_stringdata_BitcoinCore.
data,
131 const QMetaObject *BitcoinCore::metaObject()
const 133 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
136 void *BitcoinCore::qt_metacast(
const char *_clname)
138 if (!_clname)
return Q_NULLPTR;
139 if (!strcmp(_clname, qt_meta_stringdata_BitcoinCore.
stringdata0))
140 return static_cast<void*
>(
const_cast< BitcoinCore*
>(
this));
141 return QObject::qt_metacast(_clname);
144 int BitcoinCore::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
146 _id = QObject::qt_metacall(_c, _id, _a);
149 if (_c == QMetaObject::InvokeMetaMethod) {
151 qt_static_metacall(
this, _c, _id, _a);
153 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
155 *
reinterpret_cast<int*
>(_a[0]) = -1;
164 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
165 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
171 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
177 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
178 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
184 #define QT_MOC_LITERAL(idx, ofs, len) \ 185 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 186 qptrdiff(offsetof(qt_meta_stringdata_BitcoinApplication_t, stringdata0) + ofs \ 187 - idx * sizeof(QByteArrayData)) \ 208 "BitcoinApplication\0requestedInitialize\0" 209 "\0requestedShutdown\0splashFinished\0" 210 "windowShown\0BitcoinGUI*\0window\0" 211 "initializeResult\0success\0" 212 "interfaces::BlockAndHeaderTipInfo\0" 213 "tip_info\0shutdownResult\0handleRunawayException\0" 216 #undef QT_MOC_LITERAL 246 QMetaType::Void, 0x80000000 | 6, 7,
249 QMetaType::Void, QMetaType::Bool, 0x80000000 | 10, 9, 11,
251 QMetaType::Void, QMetaType::QString, 14,
256 void BitcoinApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
258 if (_c == QMetaObject::InvokeMetaMethod) {
271 }
else if (_c == QMetaObject::IndexOfMethod) {
272 int *result =
reinterpret_cast<int *
>(_a[0]);
273 void **func =
reinterpret_cast<void **
>(_a[1]);
305 const QMetaObject BitcoinApplication::staticMetaObject = {
306 { &QApplication::staticMetaObject, qt_meta_stringdata_BitcoinApplication.
data,
311 const QMetaObject *BitcoinApplication::metaObject()
const 313 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
316 void *BitcoinApplication::qt_metacast(
const char *_clname)
318 if (!_clname)
return Q_NULLPTR;
319 if (!strcmp(_clname, qt_meta_stringdata_BitcoinApplication.
stringdata0))
321 return QApplication::qt_metacast(_clname);
324 int BitcoinApplication::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
326 _id = QApplication::qt_metacall(_c, _id, _a);
329 if (_c == QMetaObject::InvokeMetaMethod) {
331 qt_static_metacall(
this, _c, _id, _a);
333 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
335 *
reinterpret_cast<int*
>(_a[0]) = -1;
344 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
350 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
356 QMetaObject::activate(
this, &staticMetaObject, 2, Q_NULLPTR);
362 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
363 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)