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