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