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.9.4. 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
21 QT_WARNING_DISABLE_DEPRECATED
26 #define QT_MOC_LITERAL(idx, ofs, len) \ 27 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 28 qptrdiff(offsetof(qt_meta_stringdata_BitcoinCore_t, stringdata0) + ofs \ 29 - idx * sizeof(QByteArrayData)) \ 46 "BitcoinCore\0initializeResult\0\0success\0" 47 "interfaces::BlockAndHeaderTipInfo\0" 48 "tip_info\0shutdownResult\0runawayException\0" 49 "message\0initialize\0shutdown" 76 QMetaType::Void, QMetaType::Bool, 0x80000000 | 4, 3, 5,
78 QMetaType::Void, QMetaType::QString, 8,
87 void BitcoinCore::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
89 if (_c == QMetaObject::InvokeMetaMethod) {
95 case 2: _t->
runawayException((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
100 }
else if (_c == QMetaObject::IndexOfMethod) {
101 int *result =
reinterpret_cast<int *
>(_a[0]);
126 const QMetaObject BitcoinCore::staticMetaObject = {
132 const QMetaObject *BitcoinCore::metaObject()
const 134 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
137 void *BitcoinCore::qt_metacast(
const char *_clname)
139 if (!_clname)
return nullptr;
141 return static_cast<void*
>(
this);
142 return QObject::qt_metacast(_clname);
145 int BitcoinCore::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
147 _id = QObject::qt_metacall(_c, _id, _a);
150 if (_c == QMetaObject::InvokeMetaMethod) {
152 qt_static_metacall(
this, _c, _id, _a);
154 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
156 *
reinterpret_cast<int*
>(_a[0]) = -1;
165 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
166 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
172 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
178 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
179 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
185 #define QT_MOC_LITERAL(idx, ofs, len) \ 186 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 187 qptrdiff(offsetof(qt_meta_stringdata_BitcoinApplication_t, stringdata0) + ofs \ 188 - idx * sizeof(QByteArrayData)) \ 209 "BitcoinApplication\0requestedInitialize\0" 210 "\0requestedShutdown\0splashFinished\0" 211 "windowShown\0BitcoinGUI*\0window\0" 212 "initializeResult\0success\0" 213 "interfaces::BlockAndHeaderTipInfo\0" 214 "tip_info\0shutdownResult\0handleRunawayException\0" 217 #undef QT_MOC_LITERAL 247 QMetaType::Void, 0x80000000 | 6, 7,
250 QMetaType::Void, QMetaType::Bool, 0x80000000 | 10, 9, 11,
252 QMetaType::Void, QMetaType::QString, 14,
257 void BitcoinApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
259 if (_c == QMetaObject::InvokeMetaMethod) {
272 }
else if (_c == QMetaObject::IndexOfMethod) {
273 int *result =
reinterpret_cast<int *
>(_a[0]);
305 const QMetaObject BitcoinApplication::staticMetaObject = {
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 nullptr;
320 return static_cast<void*
>(
this);
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,
nullptr);
350 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
356 QMetaObject::activate(
this, &staticMetaObject, 2,
nullptr);
362 void *_a[] = {
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)