Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'bitcoingui.h'
3 : **
4 : **
5 : ** WARNING! All changes made in this file will be lost!
6 : *****************************************************************************/
7 :
8 : #include <memory>
9 : #include "qt/bitcoingui.h"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'bitcoingui.h' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.15.0. It"
16 : #error "cannot be used with the include files from this version of Qt."
17 : #error "(The moc has changed too much.)"
18 : #endif
19 :
20 : QT_BEGIN_MOC_NAMESPACE
21 : QT_WARNING_PUSH
22 : QT_WARNING_DISABLE_DEPRECATED
23 : struct qt_meta_stringdata_BitcoinGUI_t {
24 : QByteArrayData data[67];
25 : char stringdata0[893];
26 : };
27 : #define QT_MOC_LITERAL(idx, ofs, len) \
28 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 : qptrdiff(offsetof(qt_meta_stringdata_BitcoinGUI_t, stringdata0) + ofs \
30 : - idx * sizeof(QByteArrayData)) \
31 : )
32 : static const qt_meta_stringdata_BitcoinGUI_t qt_meta_stringdata_BitcoinGUI = {
33 : {
34 : QT_MOC_LITERAL(0, 0, 10), // "BitcoinGUI"
35 : QT_MOC_LITERAL(1, 11, 11), // "receivedURI"
36 : QT_MOC_LITERAL(2, 23, 0), // ""
37 : QT_MOC_LITERAL(3, 24, 3), // "uri"
38 : QT_MOC_LITERAL(4, 28, 12), // "consoleShown"
39 : QT_MOC_LITERAL(5, 41, 11), // "RPCConsole*"
40 : QT_MOC_LITERAL(6, 53, 7), // "console"
41 : QT_MOC_LITERAL(7, 61, 10), // "setPrivacy"
42 : QT_MOC_LITERAL(8, 72, 7), // "privacy"
43 : QT_MOC_LITERAL(9, 80, 17), // "setNumConnections"
44 : QT_MOC_LITERAL(10, 98, 5), // "count"
45 : QT_MOC_LITERAL(11, 104, 16), // "setNetworkActive"
46 : QT_MOC_LITERAL(12, 121, 13), // "networkActive"
47 : QT_MOC_LITERAL(13, 135, 12), // "setNumBlocks"
48 : QT_MOC_LITERAL(14, 148, 9), // "blockDate"
49 : QT_MOC_LITERAL(15, 158, 21), // "nVerificationProgress"
50 : QT_MOC_LITERAL(16, 180, 7), // "headers"
51 : QT_MOC_LITERAL(17, 188, 20), // "SynchronizationState"
52 : QT_MOC_LITERAL(18, 209, 10), // "sync_state"
53 : QT_MOC_LITERAL(19, 220, 7), // "message"
54 : QT_MOC_LITERAL(20, 228, 5), // "title"
55 : QT_MOC_LITERAL(21, 234, 5), // "style"
56 : QT_MOC_LITERAL(22, 240, 5), // "bool*"
57 : QT_MOC_LITERAL(23, 246, 3), // "ret"
58 : QT_MOC_LITERAL(24, 250, 16), // "detailed_message"
59 : QT_MOC_LITERAL(25, 267, 16), // "setCurrentWallet"
60 : QT_MOC_LITERAL(26, 284, 12), // "WalletModel*"
61 : QT_MOC_LITERAL(27, 297, 12), // "wallet_model"
62 : QT_MOC_LITERAL(28, 310, 31), // "setCurrentWalletBySelectorIndex"
63 : QT_MOC_LITERAL(29, 342, 5), // "index"
64 : QT_MOC_LITERAL(30, 348, 18), // "updateWalletStatus"
65 : QT_MOC_LITERAL(31, 367, 20), // "handlePaymentRequest"
66 : QT_MOC_LITERAL(32, 388, 18), // "SendCoinsRecipient"
67 : QT_MOC_LITERAL(33, 407, 9), // "recipient"
68 : QT_MOC_LITERAL(34, 417, 19), // "incomingTransaction"
69 : QT_MOC_LITERAL(35, 437, 4), // "date"
70 : QT_MOC_LITERAL(36, 442, 4), // "unit"
71 : QT_MOC_LITERAL(37, 447, 7), // "CAmount"
72 : QT_MOC_LITERAL(38, 455, 6), // "amount"
73 : QT_MOC_LITERAL(39, 462, 4), // "type"
74 : QT_MOC_LITERAL(40, 467, 7), // "address"
75 : QT_MOC_LITERAL(41, 475, 5), // "label"
76 : QT_MOC_LITERAL(42, 481, 10), // "walletName"
77 : QT_MOC_LITERAL(43, 492, 16), // "gotoOverviewPage"
78 : QT_MOC_LITERAL(44, 509, 15), // "gotoHistoryPage"
79 : QT_MOC_LITERAL(45, 525, 20), // "gotoReceiveCoinsPage"
80 : QT_MOC_LITERAL(46, 546, 17), // "gotoSendCoinsPage"
81 : QT_MOC_LITERAL(47, 564, 4), // "addr"
82 : QT_MOC_LITERAL(48, 569, 18), // "gotoSignMessageTab"
83 : QT_MOC_LITERAL(49, 588, 20), // "gotoVerifyMessageTab"
84 : QT_MOC_LITERAL(50, 609, 12), // "gotoLoadPSBT"
85 : QT_MOC_LITERAL(51, 622, 14), // "from_clipboard"
86 : QT_MOC_LITERAL(52, 637, 11), // "openClicked"
87 : QT_MOC_LITERAL(53, 649, 14), // "optionsClicked"
88 : QT_MOC_LITERAL(54, 664, 12), // "aboutClicked"
89 : QT_MOC_LITERAL(55, 677, 15), // "showDebugWindow"
90 : QT_MOC_LITERAL(56, 693, 30), // "showDebugWindowActivateConsole"
91 : QT_MOC_LITERAL(57, 724, 22), // "showHelpMessageClicked"
92 : QT_MOC_LITERAL(58, 747, 22), // "macosDockIconActivated"
93 : QT_MOC_LITERAL(59, 770, 21), // "showNormalIfMinimized"
94 : QT_MOC_LITERAL(60, 792, 13), // "fToggleHidden"
95 : QT_MOC_LITERAL(61, 806, 12), // "toggleHidden"
96 : QT_MOC_LITERAL(62, 819, 14), // "detectShutdown"
97 : QT_MOC_LITERAL(63, 834, 12), // "showProgress"
98 : QT_MOC_LITERAL(64, 847, 9), // "nProgress"
99 : QT_MOC_LITERAL(65, 857, 18), // "setTrayIconVisible"
100 : QT_MOC_LITERAL(66, 876, 16) // "showModalOverlay"
101 :
102 : },
103 : "BitcoinGUI\0receivedURI\0\0uri\0consoleShown\0"
104 : "RPCConsole*\0console\0setPrivacy\0privacy\0"
105 : "setNumConnections\0count\0setNetworkActive\0"
106 : "networkActive\0setNumBlocks\0blockDate\0"
107 : "nVerificationProgress\0headers\0"
108 : "SynchronizationState\0sync_state\0message\0"
109 : "title\0style\0bool*\0ret\0detailed_message\0"
110 : "setCurrentWallet\0WalletModel*\0"
111 : "wallet_model\0setCurrentWalletBySelectorIndex\0"
112 : "index\0updateWalletStatus\0handlePaymentRequest\0"
113 : "SendCoinsRecipient\0recipient\0"
114 : "incomingTransaction\0date\0unit\0CAmount\0"
115 : "amount\0type\0address\0label\0walletName\0"
116 : "gotoOverviewPage\0gotoHistoryPage\0"
117 : "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
118 : "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
119 : "gotoLoadPSBT\0from_clipboard\0openClicked\0"
120 : "optionsClicked\0aboutClicked\0showDebugWindow\0"
121 : "showDebugWindowActivateConsole\0"
122 : "showHelpMessageClicked\0macosDockIconActivated\0"
123 : "showNormalIfMinimized\0fToggleHidden\0"
124 : "toggleHidden\0detectShutdown\0showProgress\0"
125 : "nProgress\0setTrayIconVisible\0"
126 : "showModalOverlay"
127 : };
128 : #undef QT_MOC_LITERAL
129 :
130 : static const uint qt_meta_data_BitcoinGUI[] = {
131 :
132 : // content:
133 : 8, // revision
134 : 0, // classname
135 : 0, 0, // classinfo
136 : 39, 14, // methods
137 : 0, 0, // properties
138 : 0, 0, // enums/sets
139 : 0, 0, // constructors
140 : 0, // flags
141 : 3, // signalCount
142 :
143 : // signals: name, argc, parameters, tag, flags
144 : 1, 1, 209, 2, 0x06 /* Public */,
145 : 4, 1, 212, 2, 0x06 /* Public */,
146 : 7, 1, 215, 2, 0x06 /* Public */,
147 :
148 : // slots: name, argc, parameters, tag, flags
149 : 9, 1, 218, 2, 0x0a /* Public */,
150 : 11, 1, 221, 2, 0x0a /* Public */,
151 : 13, 5, 224, 2, 0x0a /* Public */,
152 : 19, 5, 235, 2, 0x0a /* Public */,
153 : 19, 4, 246, 2, 0x2a /* Public | MethodCloned */,
154 : 19, 3, 255, 2, 0x2a /* Public | MethodCloned */,
155 : 25, 1, 262, 2, 0x0a /* Public */,
156 : 28, 1, 265, 2, 0x0a /* Public */,
157 : 30, 0, 268, 2, 0x0a /* Public */,
158 : 31, 1, 269, 2, 0x0a /* Public */,
159 : 34, 7, 272, 2, 0x0a /* Public */,
160 : 43, 0, 287, 2, 0x0a /* Public */,
161 : 44, 0, 288, 2, 0x0a /* Public */,
162 : 45, 0, 289, 2, 0x0a /* Public */,
163 : 46, 1, 290, 2, 0x0a /* Public */,
164 : 46, 0, 293, 2, 0x2a /* Public | MethodCloned */,
165 : 48, 1, 294, 2, 0x0a /* Public */,
166 : 48, 0, 297, 2, 0x2a /* Public | MethodCloned */,
167 : 49, 1, 298, 2, 0x0a /* Public */,
168 : 49, 0, 301, 2, 0x2a /* Public | MethodCloned */,
169 : 50, 1, 302, 2, 0x0a /* Public */,
170 : 50, 0, 305, 2, 0x2a /* Public | MethodCloned */,
171 : 52, 0, 306, 2, 0x0a /* Public */,
172 : 53, 0, 307, 2, 0x0a /* Public */,
173 : 54, 0, 308, 2, 0x0a /* Public */,
174 : 55, 0, 309, 2, 0x0a /* Public */,
175 : 56, 0, 310, 2, 0x0a /* Public */,
176 : 57, 0, 311, 2, 0x0a /* Public */,
177 : 58, 0, 312, 2, 0x0a /* Public */,
178 : 59, 0, 313, 2, 0x0a /* Public */,
179 : 59, 1, 314, 2, 0x0a /* Public */,
180 : 61, 0, 317, 2, 0x0a /* Public */,
181 : 62, 0, 318, 2, 0x0a /* Public */,
182 : 63, 2, 319, 2, 0x0a /* Public */,
183 : 65, 1, 324, 2, 0x0a /* Public */,
184 : 66, 0, 327, 2, 0x0a /* Public */,
185 :
186 : // signals: parameters
187 : QMetaType::Void, QMetaType::QString, 3,
188 : QMetaType::Void, 0x80000000 | 5, 6,
189 : QMetaType::Void, QMetaType::Bool, 8,
190 :
191 : // slots: parameters
192 : QMetaType::Void, QMetaType::Int, 10,
193 : QMetaType::Void, QMetaType::Bool, 12,
194 : QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 0x80000000 | 17, 10, 14, 15, 16, 18,
195 : QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 0x80000000 | 22, QMetaType::QString, 20, 19, 21, 23, 24,
196 : QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 0x80000000 | 22, 20, 19, 21, 23,
197 : QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 20, 19, 21,
198 : QMetaType::Void, 0x80000000 | 26, 27,
199 : QMetaType::Void, QMetaType::Int, 29,
200 : QMetaType::Void,
201 : QMetaType::Bool, 0x80000000 | 32, 33,
202 : QMetaType::Void, QMetaType::QString, QMetaType::Int, 0x80000000 | 37, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 35, 36, 38, 39, 40, 41, 42,
203 : QMetaType::Void,
204 : QMetaType::Void,
205 : QMetaType::Void,
206 : QMetaType::Void, QMetaType::QString, 47,
207 : QMetaType::Void,
208 : QMetaType::Void, QMetaType::QString, 47,
209 : QMetaType::Void,
210 : QMetaType::Void, QMetaType::QString, 47,
211 : QMetaType::Void,
212 : QMetaType::Void, QMetaType::Bool, 51,
213 : QMetaType::Void,
214 : QMetaType::Void,
215 : QMetaType::Void,
216 : QMetaType::Void,
217 : QMetaType::Void,
218 : QMetaType::Void,
219 : QMetaType::Void,
220 : QMetaType::Void,
221 : QMetaType::Void,
222 : QMetaType::Void, QMetaType::Bool, 60,
223 : QMetaType::Void,
224 : QMetaType::Void,
225 : QMetaType::Void, QMetaType::QString, QMetaType::Int, 20, 64,
226 : QMetaType::Void, QMetaType::Bool, 2,
227 : QMetaType::Void,
228 :
229 : 0 // eod
230 : };
231 :
232 0 : void BitcoinGUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
233 : {
234 0 : if (_c == QMetaObject::InvokeMetaMethod) {
235 0 : auto *_t = static_cast<BitcoinGUI *>(_o);
236 : Q_UNUSED(_t)
237 0 : switch (_id) {
238 0 : case 0: _t->receivedURI((*reinterpret_cast< const QString(*)>(_a[1]))); break;
239 0 : case 1: _t->consoleShown((*reinterpret_cast< RPCConsole*(*)>(_a[1]))); break;
240 0 : case 2: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
241 0 : case 3: _t->setNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break;
242 0 : case 4: _t->setNetworkActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
243 0 : case 5: _t->setNumBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< SynchronizationState(*)>(_a[5]))); break;
244 0 : case 6: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5]))); break;
245 0 : case 7: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< bool*(*)>(_a[4]))); break;
246 0 : case 8: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
247 0 : case 9: _t->setCurrentWallet((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
248 0 : case 10: _t->setCurrentWalletBySelectorIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
249 0 : case 11: _t->updateWalletStatus(); break;
250 0 : case 12: { bool _r = _t->handlePaymentRequest((*reinterpret_cast< const SendCoinsRecipient(*)>(_a[1])));
251 0 : if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
252 0 : case 13: _t->incomingTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const CAmount(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< const QString(*)>(_a[6])),(*reinterpret_cast< const QString(*)>(_a[7]))); break;
253 0 : case 14: _t->gotoOverviewPage(); break;
254 0 : case 15: _t->gotoHistoryPage(); break;
255 0 : case 16: _t->gotoReceiveCoinsPage(); break;
256 0 : case 17: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
257 0 : case 18: _t->gotoSendCoinsPage(); break;
258 0 : case 19: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
259 0 : case 20: _t->gotoSignMessageTab(); break;
260 0 : case 21: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
261 0 : case 22: _t->gotoVerifyMessageTab(); break;
262 0 : case 23: _t->gotoLoadPSBT((*reinterpret_cast< bool(*)>(_a[1]))); break;
263 0 : case 24: _t->gotoLoadPSBT(); break;
264 0 : case 25: _t->openClicked(); break;
265 0 : case 26: _t->optionsClicked(); break;
266 0 : case 27: _t->aboutClicked(); break;
267 0 : case 28: _t->showDebugWindow(); break;
268 0 : case 29: _t->showDebugWindowActivateConsole(); break;
269 0 : case 30: _t->showHelpMessageClicked(); break;
270 0 : case 31: _t->macosDockIconActivated(); break;
271 0 : case 32: _t->showNormalIfMinimized(); break;
272 0 : case 33: _t->showNormalIfMinimized((*reinterpret_cast< bool(*)>(_a[1]))); break;
273 0 : case 34: _t->toggleHidden(); break;
274 0 : case 35: _t->detectShutdown(); break;
275 0 : case 36: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
276 0 : case 37: _t->setTrayIconVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
277 0 : case 38: _t->showModalOverlay(); break;
278 : default: ;
279 : }
280 0 : } else if (_c == QMetaObject::IndexOfMethod) {
281 0 : int *result = reinterpret_cast<int *>(_a[0]);
282 : {
283 : using _t = void (BitcoinGUI::*)(const QString & );
284 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinGUI::receivedURI)) {
285 0 : *result = 0;
286 0 : return;
287 : }
288 : }
289 : {
290 : using _t = void (BitcoinGUI::*)(RPCConsole * );
291 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinGUI::consoleShown)) {
292 0 : *result = 1;
293 0 : return;
294 : }
295 : }
296 : {
297 : using _t = void (BitcoinGUI::*)(bool );
298 0 : if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinGUI::setPrivacy)) {
299 0 : *result = 2;
300 0 : return;
301 : }
302 : }
303 0 : }
304 0 : }
305 :
306 : QT_INIT_METAOBJECT const QMetaObject BitcoinGUI::staticMetaObject = { {
307 : QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
308 : qt_meta_stringdata_BitcoinGUI.data,
309 : qt_meta_data_BitcoinGUI,
310 : qt_static_metacall,
311 : nullptr,
312 : nullptr
313 : } };
314 :
315 :
316 0 : const QMetaObject *BitcoinGUI::metaObject() const
317 : {
318 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
319 : }
320 :
321 0 : void *BitcoinGUI::qt_metacast(const char *_clname)
322 : {
323 0 : if (!_clname) return nullptr;
324 0 : if (!strcmp(_clname, qt_meta_stringdata_BitcoinGUI.stringdata0))
325 0 : return static_cast<void*>(this);
326 0 : return QMainWindow::qt_metacast(_clname);
327 0 : }
328 :
329 0 : int BitcoinGUI::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
330 : {
331 0 : _id = QMainWindow::qt_metacall(_c, _id, _a);
332 0 : if (_id < 0)
333 0 : return _id;
334 0 : if (_c == QMetaObject::InvokeMetaMethod) {
335 0 : if (_id < 39)
336 0 : qt_static_metacall(this, _c, _id, _a);
337 0 : _id -= 39;
338 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
339 0 : if (_id < 39)
340 0 : *reinterpret_cast<int*>(_a[0]) = -1;
341 0 : _id -= 39;
342 0 : }
343 0 : return _id;
344 0 : }
345 :
346 : // SIGNAL 0
347 0 : void BitcoinGUI::receivedURI(const QString & _t1)
348 : {
349 0 : void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
350 0 : QMetaObject::activate(this, &staticMetaObject, 0, _a);
351 0 : }
352 :
353 : // SIGNAL 1
354 0 : void BitcoinGUI::consoleShown(RPCConsole * _t1)
355 : {
356 0 : void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
357 0 : QMetaObject::activate(this, &staticMetaObject, 1, _a);
358 0 : }
359 :
360 : // SIGNAL 2
361 0 : void BitcoinGUI::setPrivacy(bool _t1)
362 : {
363 0 : void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
364 0 : QMetaObject::activate(this, &staticMetaObject, 2, _a);
365 0 : }
366 : struct qt_meta_stringdata_UnitDisplayStatusBarControl_t {
367 : QByteArrayData data[7];
368 : char stringdata0[88];
369 : };
370 : #define QT_MOC_LITERAL(idx, ofs, len) \
371 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
372 : qptrdiff(offsetof(qt_meta_stringdata_UnitDisplayStatusBarControl_t, stringdata0) + ofs \
373 : - idx * sizeof(QByteArrayData)) \
374 : )
375 : static const qt_meta_stringdata_UnitDisplayStatusBarControl_t qt_meta_stringdata_UnitDisplayStatusBarControl = {
376 : {
377 : QT_MOC_LITERAL(0, 0, 27), // "UnitDisplayStatusBarControl"
378 : QT_MOC_LITERAL(1, 28, 17), // "updateDisplayUnit"
379 : QT_MOC_LITERAL(2, 46, 0), // ""
380 : QT_MOC_LITERAL(3, 47, 8), // "newUnits"
381 : QT_MOC_LITERAL(4, 56, 15), // "onMenuSelection"
382 : QT_MOC_LITERAL(5, 72, 8), // "QAction*"
383 : QT_MOC_LITERAL(6, 81, 6) // "action"
384 :
385 : },
386 : "UnitDisplayStatusBarControl\0"
387 : "updateDisplayUnit\0\0newUnits\0onMenuSelection\0"
388 : "QAction*\0action"
389 : };
390 : #undef QT_MOC_LITERAL
391 :
392 : static const uint qt_meta_data_UnitDisplayStatusBarControl[] = {
393 :
394 : // content:
395 : 8, // revision
396 : 0, // classname
397 : 0, 0, // classinfo
398 : 2, 14, // methods
399 : 0, 0, // properties
400 : 0, 0, // enums/sets
401 : 0, 0, // constructors
402 : 0, // flags
403 : 0, // signalCount
404 :
405 : // slots: name, argc, parameters, tag, flags
406 : 1, 1, 24, 2, 0x08 /* Private */,
407 : 4, 1, 27, 2, 0x08 /* Private */,
408 :
409 : // slots: parameters
410 : QMetaType::Void, QMetaType::Int, 3,
411 : QMetaType::Void, 0x80000000 | 5, 6,
412 :
413 : 0 // eod
414 : };
415 :
416 0 : void UnitDisplayStatusBarControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
417 : {
418 0 : if (_c == QMetaObject::InvokeMetaMethod) {
419 0 : auto *_t = static_cast<UnitDisplayStatusBarControl *>(_o);
420 : Q_UNUSED(_t)
421 0 : switch (_id) {
422 0 : case 0: _t->updateDisplayUnit((*reinterpret_cast< int(*)>(_a[1]))); break;
423 0 : case 1: _t->onMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
424 : default: ;
425 : }
426 0 : }
427 0 : }
428 :
429 : QT_INIT_METAOBJECT const QMetaObject UnitDisplayStatusBarControl::staticMetaObject = { {
430 : QMetaObject::SuperData::link<QLabel::staticMetaObject>(),
431 : qt_meta_stringdata_UnitDisplayStatusBarControl.data,
432 : qt_meta_data_UnitDisplayStatusBarControl,
433 : qt_static_metacall,
434 : nullptr,
435 : nullptr
436 : } };
437 :
438 :
439 0 : const QMetaObject *UnitDisplayStatusBarControl::metaObject() const
440 : {
441 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
442 : }
443 :
444 0 : void *UnitDisplayStatusBarControl::qt_metacast(const char *_clname)
445 : {
446 0 : if (!_clname) return nullptr;
447 0 : if (!strcmp(_clname, qt_meta_stringdata_UnitDisplayStatusBarControl.stringdata0))
448 0 : return static_cast<void*>(this);
449 0 : return QLabel::qt_metacast(_clname);
450 0 : }
451 :
452 0 : int UnitDisplayStatusBarControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
453 : {
454 0 : _id = QLabel::qt_metacall(_c, _id, _a);
455 0 : if (_id < 0)
456 0 : return _id;
457 0 : if (_c == QMetaObject::InvokeMetaMethod) {
458 0 : if (_id < 2)
459 0 : qt_static_metacall(this, _c, _id, _a);
460 0 : _id -= 2;
461 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
462 0 : if (_id < 2)
463 0 : *reinterpret_cast<int*>(_a[0]) = -1;
464 0 : _id -= 2;
465 0 : }
466 0 : return _id;
467 0 : }
468 : QT_WARNING_POP
469 : QT_END_MOC_NAMESPACE
|