9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'anoncoingui.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.2.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 offsetof(qt_meta_stringdata_AnoncoinGUI_t, stringdata) + ofs \
27 - idx * sizeof(QByteArrayData) \
77 "AnoncoinGUI\0receivedURI\0\0uri\0"
78 "setNumConnections\0count\0setNumBlocks\0"
79 "message\0title\0style\0bool*\0ret\0"
80 "setEncryptionStatus\0status\0"
81 "handlePaymentRequest\0SendCoinsRecipient\0"
82 "recipient\0incomingTransaction\0date\0"
83 "unit\0amount\0type\0address\0setNumI2PConnections\0"
84 "showGeneratedI2PAddr\0caption\0pub\0priv\0"
85 "b32\0configFileName\0gotoOverviewPage\0"
86 "gotoHistoryPage\0gotoReceiveCoinsPage\0"
87 "gotoSendCoinsPage\0addr\0gotoSignMessageTab\0"
88 "gotoVerifyMessageTab\0openClicked\0"
89 "optionsClicked\0aboutClicked\0"
90 "showHelpMessageClicked\0showNormalIfMinimized\0"
91 "fToggleHidden\0toggleHidden\0detectShutdown\0"
95 static const uint qt_meta_data_AnoncoinGUI[] = {
140 QMetaType::Void, QMetaType::QString, 3,
143 QMetaType::Void, QMetaType::Int, 5,
144 QMetaType::Void, QMetaType::Int, 5,
145 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 0x80000000 | 10, 8, 7, 9, 11,
146 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 8, 7, 9,
147 QMetaType::Void, QMetaType::Int, 13,
148 QMetaType::Bool, 0x80000000 | 15, 16,
149 QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::LongLong, QMetaType::QString, QMetaType::QString, 18, 19, 20, 21, 22,
150 QMetaType::Void, QMetaType::Int, 5,
151 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 25, 26, 27, 28, 29,
155 QMetaType::Void, QMetaType::QString, 34,
157 QMetaType::Void, QMetaType::QString, 34,
159 QMetaType::Void, QMetaType::QString, 34,
165 QMetaType::Void, QMetaType::Bool, 42,
173 void AnoncoinGUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
175 if (_c == QMetaObject::InvokeMetaMethod) {
178 case 0: _t->
receivedURI((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
180 case 2: _t->
setNumBlocks((*
reinterpret_cast< int(*)
>(_a[1])));
break;
181 case 3: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])),(*
reinterpret_cast< bool*(*)
>(_a[4])));
break;
182 case 4: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
183 case 5: _t->setEncryptionStatus((*
reinterpret_cast< int(*)
>(_a[1])));
break;
184 case 6: {
bool _r = _t->handlePaymentRequest((*
reinterpret_cast< const SendCoinsRecipient(*)
>(_a[1])));
185 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = _r; }
break;
186 case 7: _t->incomingTransaction((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< qint64(*)
>(_a[3])),(*
reinterpret_cast< const QString(*)
>(_a[4])),(*
reinterpret_cast< const QString(*)
>(_a[5])));
break;
187 case 8: _t->setNumI2PConnections((*
reinterpret_cast< int(*)
>(_a[1])));
break;
188 case 9: _t->showGeneratedI2PAddr((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< const QString(*)
>(_a[3])),(*
reinterpret_cast< const QString(*)
>(_a[4])),(*
reinterpret_cast< const QString(*)
>(_a[5])));
break;
189 case 10: _t->gotoOverviewPage();
break;
190 case 11: _t->gotoHistoryPage();
break;
191 case 12: _t->gotoReceiveCoinsPage();
break;
192 case 13: _t->gotoSendCoinsPage((*
reinterpret_cast< QString(*)
>(_a[1])));
break;
193 case 14: _t->gotoSendCoinsPage();
break;
194 case 15: _t->gotoSignMessageTab((*
reinterpret_cast< QString(*)
>(_a[1])));
break;
195 case 16: _t->gotoSignMessageTab();
break;
196 case 17: _t->gotoVerifyMessageTab((*
reinterpret_cast< QString(*)
>(_a[1])));
break;
197 case 18: _t->gotoVerifyMessageTab();
break;
198 case 19: _t->openClicked();
break;
208 }
else if (_c == QMetaObject::IndexOfMethod) {
209 int *result =
reinterpret_cast<int *
>(_a[0]);
210 void **func =
reinterpret_cast<void **
>(_a[1]);
220 const QMetaObject AnoncoinGUI::staticMetaObject = {
221 { &QMainWindow::staticMetaObject, qt_meta_stringdata_AnoncoinGUI.
data,
222 qt_meta_data_AnoncoinGUI, qt_static_metacall, 0, 0}
226 const QMetaObject *AnoncoinGUI::metaObject()
const
228 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
231 void *AnoncoinGUI::qt_metacast(
const char *_clname)
233 if (!_clname)
return 0;
234 if (!strcmp(_clname, qt_meta_stringdata_AnoncoinGUI.
stringdata))
235 return static_cast<void*
>(
const_cast< AnoncoinGUI*
>(
this));
236 return QMainWindow::qt_metacast(_clname);
239 int AnoncoinGUI::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
241 _id = QMainWindow::qt_metacall(_c, _id, _a);
244 if (_c == QMetaObject::InvokeMetaMethod) {
246 qt_static_metacall(
this, _c, _id, _a);
248 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
250 *
reinterpret_cast<int*
>(_a[0]) = -1;
259 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
260 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
266 #define QT_MOC_LITERAL(idx, ofs, len) \
267 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
268 offsetof(qt_meta_stringdata_UnitDisplayStatusBarControl_t, stringdata) + ofs \
269 - idx * sizeof(QByteArrayData) \
281 "UnitDisplayStatusBarControl\0"
282 "updateDisplayUnit\0\0newUnits\0onMenuSelection\0"
285 #undef QT_MOC_LITERAL
287 static const uint qt_meta_data_UnitDisplayStatusBarControl[] = {
305 QMetaType::Void, QMetaType::Int, 3,
306 QMetaType::Void, 0x80000000 | 5, 6,
311 void UnitDisplayStatusBarControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
313 if (_c == QMetaObject::InvokeMetaMethod) {
317 case 1: _t->
onMenuSelection((*
reinterpret_cast< QAction*(*)
>(_a[1])));
break;
320 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
322 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
324 switch (*reinterpret_cast<int*>(_a[1])) {
325 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
327 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QAction* >();
break;
334 const QMetaObject UnitDisplayStatusBarControl::staticMetaObject = {
335 { &QLabel::staticMetaObject, qt_meta_stringdata_UnitDisplayStatusBarControl.
data,
336 qt_meta_data_UnitDisplayStatusBarControl, qt_static_metacall, 0, 0}
340 const QMetaObject *UnitDisplayStatusBarControl::metaObject()
const
342 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
345 void *UnitDisplayStatusBarControl::qt_metacast(
const char *_clname)
347 if (!_clname)
return 0;
348 if (!strcmp(_clname, qt_meta_stringdata_UnitDisplayStatusBarControl.
stringdata))
350 return QLabel::qt_metacast(_clname);
353 int UnitDisplayStatusBarControl::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
355 _id = QLabel::qt_metacall(_c, _id, _a);
358 if (_c == QMetaObject::InvokeMetaMethod) {
360 qt_static_metacall(
this, _c, _id, _a);
362 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
364 qt_static_metacall(
this, _c, _id, _a);
void detectShutdown()
called by a timer to check if fRequestShutdown has been set
void aboutClicked()
Show about dialog.
void receivedURI(const QString &uri)
Signal raised when a URI was entered or dragged to the GUI.
void message(const QString &title, const QString &message, unsigned int style, bool *ret=NULL)
Notify the user of an event from the core network or transaction handling code.
void optionsClicked()
Show configuration dialog.
void setNumConnections(int count)
Set number of connections 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...
void showNormalIfMinimized(bool fToggleHidden=false)
Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHid...
#define QT_MOC_LITERAL(idx, ofs, len)
void showHelpMessageClicked()
Show help message dialog.
void toggleHidden()
Simply calls showNormalIfMinimized(true) for use in SLOT() macro.
void setNumBlocks(int count)
Set number of blocks shown in the UI.
void onMenuSelection(QAction *action)
Tells underlying optionsModel to update its current display unit.