9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'bitcoingui.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.5.1. 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
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26 qptrdiff(offsetof(qt_meta_stringdata_BitcoinGUI_t, stringdata0) + ofs \
27 - idx * sizeof(QByteArrayData)) \
102 "BitcoinGUI\0receivedURI\0\0uri\0consoleShown\0"
103 "RPCConsole*\0console\0setPrivacy\0privacy\0"
104 "setNumConnections\0count\0setNetworkActive\0"
105 "networkActive\0setNumBlocks\0blockDate\0"
106 "nVerificationProgress\0headers\0"
107 "SynchronizationState\0sync_state\0message\0"
108 "title\0style\0bool*\0ret\0detailed_message\0"
109 "setCurrentWallet\0WalletModel*\0"
110 "wallet_model\0setCurrentWalletBySelectorIndex\0"
111 "index\0updateWalletStatus\0handlePaymentRequest\0"
112 "SendCoinsRecipient\0recipient\0"
113 "incomingTransaction\0date\0unit\0CAmount\0"
114 "amount\0type\0address\0label\0walletName\0"
115 "gotoOverviewPage\0gotoHistoryPage\0"
116 "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
117 "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
118 "gotoLoadPSBT\0from_clipboard\0openClicked\0"
119 "optionsClicked\0aboutClicked\0showDebugWindow\0"
120 "showDebugWindowActivateConsole\0"
121 "showHelpMessageClicked\0trayIconActivated\0"
122 "QSystemTrayIcon::ActivationReason\0"
123 "reason\0showNormalIfMinimized\0fToggleHidden\0"
124 "toggleHidden\0detectShutdown\0showProgress\0"
125 "nProgress\0setTrayIconVisible\0"
128 #undef QT_MOC_LITERAL
150 11, 1, 221, 2, 0x0a ,
151 13, 5, 224, 2, 0x0a ,
152 19, 5, 235, 2, 0x0a ,
153 19, 4, 246, 2, 0x2a ,
154 19, 3, 255, 2, 0x2a ,
155 25, 1, 262, 2, 0x0a ,
156 28, 1, 265, 2, 0x0a ,
157 30, 0, 268, 2, 0x0a ,
158 31, 1, 269, 2, 0x0a ,
159 34, 7, 272, 2, 0x0a ,
160 43, 0, 287, 2, 0x0a ,
161 44, 0, 288, 2, 0x0a ,
162 45, 0, 289, 2, 0x0a ,
163 46, 1, 290, 2, 0x0a ,
164 46, 0, 293, 2, 0x2a ,
165 48, 1, 294, 2, 0x0a ,
166 48, 0, 297, 2, 0x2a ,
167 49, 1, 298, 2, 0x0a ,
168 49, 0, 301, 2, 0x2a ,
169 50, 1, 302, 2, 0x0a ,
170 50, 0, 305, 2, 0x2a ,
171 52, 0, 306, 2, 0x0a ,
172 53, 0, 307, 2, 0x0a ,
173 54, 0, 308, 2, 0x0a ,
174 55, 0, 309, 2, 0x0a ,
175 56, 0, 310, 2, 0x0a ,
176 57, 0, 311, 2, 0x0a ,
177 58, 1, 312, 2, 0x0a ,
178 61, 0, 315, 2, 0x0a ,
179 61, 1, 316, 2, 0x0a ,
180 63, 0, 319, 2, 0x0a ,
181 64, 0, 320, 2, 0x0a ,
182 65, 2, 321, 2, 0x0a ,
183 67, 1, 326, 2, 0x0a ,
184 68, 0, 329, 2, 0x0a ,
187 QMetaType::Void, QMetaType::QString, 3,
188 QMetaType::Void, 0x80000000 | 5, 6,
189 QMetaType::Void, QMetaType::Bool, 8,
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,
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,
206 QMetaType::Void, QMetaType::QString, 47,
208 QMetaType::Void, QMetaType::QString, 47,
210 QMetaType::Void, QMetaType::QString, 47,
212 QMetaType::Void, QMetaType::Bool, 51,
220 QMetaType::Void, 0x80000000 | 59, 60,
222 QMetaType::Void, QMetaType::Bool, 62,
225 QMetaType::Void, QMetaType::QString, QMetaType::Int, 20, 66,
226 QMetaType::Void, QMetaType::Bool, 2,
232 void BitcoinGUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
234 if (_c == QMetaObject::InvokeMetaMethod) {
238 case 0: _t->
receivedURI((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
240 case 2: _t->
setPrivacy((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
243 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 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 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 case 8: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
247 case 9: _t->setCurrentWallet((*
reinterpret_cast< WalletModel*(*)
>(_a[1])));
break;
248 case 10: _t->setCurrentWalletBySelectorIndex((*
reinterpret_cast< int(*)
>(_a[1])));
break;
249 case 11: _t->updateWalletStatus();
break;
250 case 12: {
bool _r = _t->handlePaymentRequest((*
reinterpret_cast< const SendCoinsRecipient(*)
>(_a[1])));
251 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = _r; }
break;
252 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 case 14: _t->gotoOverviewPage();
break;
254 case 15: _t->gotoHistoryPage();
break;
255 case 16: _t->gotoReceiveCoinsPage();
break;
256 case 17: _t->gotoSendCoinsPage((*
reinterpret_cast< QString(*)
>(_a[1])));
break;
257 case 18: _t->gotoSendCoinsPage();
break;
258 case 19: _t->gotoSignMessageTab((*
reinterpret_cast< QString(*)
>(_a[1])));
break;
259 case 20: _t->gotoSignMessageTab();
break;
260 case 21: _t->gotoVerifyMessageTab((*
reinterpret_cast< QString(*)
>(_a[1])));
break;
261 case 22: _t->gotoVerifyMessageTab();
break;
262 case 23: _t->gotoLoadPSBT((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
263 case 24: _t->gotoLoadPSBT();
break;
264 case 25: _t->openClicked();
break;
270 case 31: _t->
trayIconActivated((*
reinterpret_cast< QSystemTrayIcon::ActivationReason(*)
>(_a[1])));
break;
275 case 36: _t->
showProgress((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
280 }
else if (_c == QMetaObject::IndexOfMethod) {
281 int *result =
reinterpret_cast<int *
>(_a[0]);
282 void **func =
reinterpret_cast<void **
>(_a[1]);
284 typedef void (
BitcoinGUI::*_t)(
const QString & );
304 const QMetaObject BitcoinGUI::staticMetaObject = {
305 { &QMainWindow::staticMetaObject, qt_meta_stringdata_BitcoinGUI.
data,
310 const QMetaObject *BitcoinGUI::metaObject()
const
312 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
315 void *BitcoinGUI::qt_metacast(
const char *_clname)
317 if (!_clname)
return Q_NULLPTR;
318 if (!strcmp(_clname, qt_meta_stringdata_BitcoinGUI.
stringdata0))
319 return static_cast<void*
>(
const_cast< BitcoinGUI*
>(
this));
320 return QMainWindow::qt_metacast(_clname);
323 int BitcoinGUI::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
325 _id = QMainWindow::qt_metacall(_c, _id, _a);
328 if (_c == QMetaObject::InvokeMetaMethod) {
330 qt_static_metacall(
this, _c, _id, _a);
332 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
334 *
reinterpret_cast<int*
>(_a[0]) = -1;
343 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
344 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
350 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
351 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
357 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
358 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
364 #define QT_MOC_LITERAL(idx, ofs, len) \
365 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
366 qptrdiff(offsetof(qt_meta_stringdata_UnitDisplayStatusBarControl_t, stringdata0) + ofs \
367 - idx * sizeof(QByteArrayData)) \
380 "UnitDisplayStatusBarControl\0"
381 "updateDisplayUnit\0\0newUnits\0onMenuSelection\0"
384 #undef QT_MOC_LITERAL
404 QMetaType::Void, QMetaType::Int, 3,
405 QMetaType::Void, 0x80000000 | 5, 6,
410 void UnitDisplayStatusBarControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
412 if (_c == QMetaObject::InvokeMetaMethod) {
417 case 1: _t->
onMenuSelection((*
reinterpret_cast< QAction*(*)
>(_a[1])));
break;
423 const QMetaObject UnitDisplayStatusBarControl::staticMetaObject = {
424 { &QLabel::staticMetaObject, qt_meta_stringdata_UnitDisplayStatusBarControl.
data,
429 const QMetaObject *UnitDisplayStatusBarControl::metaObject()
const
431 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
434 void *UnitDisplayStatusBarControl::qt_metacast(
const char *_clname)
436 if (!_clname)
return Q_NULLPTR;
437 if (!strcmp(_clname, qt_meta_stringdata_UnitDisplayStatusBarControl.
stringdata0))
439 return QLabel::qt_metacast(_clname);
442 int UnitDisplayStatusBarControl::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
444 _id = QLabel::qt_metacall(_c, _id, _a);
447 if (_c == QMetaObject::InvokeMetaMethod) {
449 qt_static_metacall(
this, _c, _id, _a);
451 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
453 *
reinterpret_cast<int*
>(_a[0]) = -1;
void setNetworkActive(bool networkActive)
Set network state shown in the UI.
Local Bitcoin RPC console.
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.
static const qt_meta_stringdata_BitcoinGUI_t qt_meta_stringdata_BitcoinGUI
void showNormalIfMinimized()
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHid...
void consoleShown(RPCConsole *console)
Signal raised when RPC console shown.
void showDebugWindow()
Show debug window.
int64_t CAmount
Amount in satoshis (Can be negative)
static const uint qt_meta_data_UnitDisplayStatusBarControl[]
void showProgress(const QString &title, int nProgress)
Show progress dialog e.g.
static const uint qt_meta_data_BitcoinGUI[]
void optionsClicked()
Show configuration dialog.
void setNumBlocks(int count, const QDateTime &blockDate, double nVerificationProgress, bool headers, SynchronizationState sync_state)
Set number of blocks and last block date shown in the UI.
void updateDisplayUnit(int 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)
void setTrayIconVisible(bool)
When hideTrayIcon setting is changed in OptionsModel hide or show the icon accordingly.
void detectShutdown()
called by a timer to check if ShutdownRequested() has been set
void showHelpMessageClicked()
Show help message dialog.
void message(const QString &title, QString message, unsigned int style, bool *ret=nullptr, const QString &detailed_message=QString())
Notify the user of an event from the core network or transaction handling code.
void trayIconActivated(QSystemTrayIcon::ActivationReason reason)
Handle tray icon clicked.
void setPrivacy(bool privacy)
Interface to Bitcoin wallet from Qt view code.
void toggleHidden()
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
void setNumConnections(int count)
Set number of connections shown in the UI.
void showDebugWindowActivateConsole()
Show debug window and set focus to the console.
void aboutClicked()
Show about dialog.
static const qt_meta_stringdata_UnitDisplayStatusBarControl_t qt_meta_stringdata_UnitDisplayStatusBarControl
void onMenuSelection(QAction *action)
Tells underlying optionsModel to update its current display unit.