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