Anoncoin  0.9.4
P2P Digital Currency
moc_anoncoingui.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'anoncoingui.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/anoncoingui.h"
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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[45];
22  char stringdata[546];
23 };
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) \
28  )
29 static const qt_meta_stringdata_AnoncoinGUI_t qt_meta_stringdata_AnoncoinGUI = {
30  {
31 QT_MOC_LITERAL(0, 0, 11),
32 QT_MOC_LITERAL(1, 12, 11),
33 QT_MOC_LITERAL(2, 24, 0),
34 QT_MOC_LITERAL(3, 25, 3),
35 QT_MOC_LITERAL(4, 29, 17),
36 QT_MOC_LITERAL(5, 47, 5),
37 QT_MOC_LITERAL(6, 53, 12),
38 QT_MOC_LITERAL(7, 66, 7),
39 QT_MOC_LITERAL(8, 74, 5),
40 QT_MOC_LITERAL(9, 80, 5),
41 QT_MOC_LITERAL(10, 86, 5),
42 QT_MOC_LITERAL(11, 92, 3),
43 QT_MOC_LITERAL(12, 96, 19),
44 QT_MOC_LITERAL(13, 116, 6),
45 QT_MOC_LITERAL(14, 123, 20),
46 QT_MOC_LITERAL(15, 144, 18),
47 QT_MOC_LITERAL(16, 163, 9),
48 QT_MOC_LITERAL(17, 173, 19),
49 QT_MOC_LITERAL(18, 193, 4),
50 QT_MOC_LITERAL(19, 198, 4),
51 QT_MOC_LITERAL(20, 203, 6),
52 QT_MOC_LITERAL(21, 210, 4),
53 QT_MOC_LITERAL(22, 215, 7),
54 QT_MOC_LITERAL(23, 223, 20),
55 QT_MOC_LITERAL(24, 244, 20),
56 QT_MOC_LITERAL(25, 265, 7),
57 QT_MOC_LITERAL(26, 273, 3),
58 QT_MOC_LITERAL(27, 277, 4),
59 QT_MOC_LITERAL(28, 282, 3),
60 QT_MOC_LITERAL(29, 286, 14),
61 QT_MOC_LITERAL(30, 301, 16),
62 QT_MOC_LITERAL(31, 318, 15),
63 QT_MOC_LITERAL(32, 334, 20),
64 QT_MOC_LITERAL(33, 355, 17),
65 QT_MOC_LITERAL(34, 373, 4),
66 QT_MOC_LITERAL(35, 378, 18),
67 QT_MOC_LITERAL(36, 397, 20),
68 QT_MOC_LITERAL(37, 418, 11),
69 QT_MOC_LITERAL(38, 430, 14),
70 QT_MOC_LITERAL(39, 445, 12),
71 QT_MOC_LITERAL(40, 458, 22),
72 QT_MOC_LITERAL(41, 481, 21),
73 QT_MOC_LITERAL(42, 503, 13),
74 QT_MOC_LITERAL(43, 517, 12),
75 QT_MOC_LITERAL(44, 530, 14)
76  },
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"
92 };
93 #undef QT_MOC_LITERAL
94 
95 static const uint qt_meta_data_AnoncoinGUI[] = {
96 
97  // content:
98  7, // revision
99  0, // classname
100  0, 0, // classinfo
101  27, 14, // methods
102  0, 0, // properties
103  0, 0, // enums/sets
104  0, 0, // constructors
105  0, // flags
106  1, // signalCount
107 
108  // signals: name, argc, parameters, tag, flags
109  1, 1, 149, 2, 0x06,
110 
111  // slots: name, argc, parameters, tag, flags
112  4, 1, 152, 2, 0x0a,
113  6, 1, 155, 2, 0x0a,
114  7, 4, 158, 2, 0x0a,
115  7, 3, 167, 2, 0x2a,
116  12, 1, 174, 2, 0x0a,
117  14, 1, 177, 2, 0x0a,
118  17, 5, 180, 2, 0x0a,
119  23, 1, 191, 2, 0x0a,
120  24, 5, 194, 2, 0x0a,
121  30, 0, 205, 2, 0x08,
122  31, 0, 206, 2, 0x08,
123  32, 0, 207, 2, 0x08,
124  33, 1, 208, 2, 0x08,
125  33, 0, 211, 2, 0x28,
126  35, 1, 212, 2, 0x08,
127  35, 0, 215, 2, 0x28,
128  36, 1, 216, 2, 0x08,
129  36, 0, 219, 2, 0x28,
130  37, 0, 220, 2, 0x08,
131  38, 0, 221, 2, 0x08,
132  39, 0, 222, 2, 0x08,
133  40, 0, 223, 2, 0x08,
134  41, 1, 224, 2, 0x08,
135  41, 0, 227, 2, 0x28,
136  43, 0, 228, 2, 0x08,
137  44, 0, 229, 2, 0x08,
138 
139  // signals: parameters
140  QMetaType::Void, QMetaType::QString, 3,
141 
142  // slots: parameters
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,
152  QMetaType::Void,
153  QMetaType::Void,
154  QMetaType::Void,
155  QMetaType::Void, QMetaType::QString, 34,
156  QMetaType::Void,
157  QMetaType::Void, QMetaType::QString, 34,
158  QMetaType::Void,
159  QMetaType::Void, QMetaType::QString, 34,
160  QMetaType::Void,
161  QMetaType::Void,
162  QMetaType::Void,
163  QMetaType::Void,
164  QMetaType::Void,
165  QMetaType::Void, QMetaType::Bool, 42,
166  QMetaType::Void,
167  QMetaType::Void,
168  QMetaType::Void,
169 
170  0 // eod
171 };
172 
173 void AnoncoinGUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
174 {
175  if (_c == QMetaObject::InvokeMetaMethod) {
176  AnoncoinGUI *_t = static_cast<AnoncoinGUI *>(_o);
177  switch (_id) {
178  case 0: _t->receivedURI((*reinterpret_cast< const QString(*)>(_a[1]))); break;
179  case 1: _t->setNumConnections((*reinterpret_cast< int(*)>(_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;
199  case 20: _t->optionsClicked(); break;
200  case 21: _t->aboutClicked(); break;
201  case 22: _t->showHelpMessageClicked(); break;
202  case 23: _t->showNormalIfMinimized((*reinterpret_cast< bool(*)>(_a[1]))); break;
203  case 24: _t->showNormalIfMinimized(); break;
204  case 25: _t->toggleHidden(); break;
205  case 26: _t->detectShutdown(); break;
206  default: ;
207  }
208  } else if (_c == QMetaObject::IndexOfMethod) {
209  int *result = reinterpret_cast<int *>(_a[0]);
210  void **func = reinterpret_cast<void **>(_a[1]);
211  {
212  typedef void (AnoncoinGUI::*_t)(const QString & );
213  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AnoncoinGUI::receivedURI)) {
214  *result = 0;
215  }
216  }
217  }
218 }
219 
220 const QMetaObject AnoncoinGUI::staticMetaObject = {
221  { &QMainWindow::staticMetaObject, qt_meta_stringdata_AnoncoinGUI.data,
222  qt_meta_data_AnoncoinGUI, qt_static_metacall, 0, 0}
223 };
224 
225 
226 const QMetaObject *AnoncoinGUI::metaObject() const
227 {
228  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
229 }
230 
231 void *AnoncoinGUI::qt_metacast(const char *_clname)
232 {
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);
237 }
238 
239 int AnoncoinGUI::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
240 {
241  _id = QMainWindow::qt_metacall(_c, _id, _a);
242  if (_id < 0)
243  return _id;
244  if (_c == QMetaObject::InvokeMetaMethod) {
245  if (_id < 27)
246  qt_static_metacall(this, _c, _id, _a);
247  _id -= 27;
248  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
249  if (_id < 27)
250  *reinterpret_cast<int*>(_a[0]) = -1;
251  _id -= 27;
252  }
253  return _id;
254 }
255 
256 // SIGNAL 0
257 void AnoncoinGUI::receivedURI(const QString & _t1)
258 {
259  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
260  QMetaObject::activate(this, &staticMetaObject, 0, _a);
261 }
263  QByteArrayData data[7];
264  char stringdata[89];
265 };
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) \
270  )
271 static const qt_meta_stringdata_UnitDisplayStatusBarControl_t qt_meta_stringdata_UnitDisplayStatusBarControl = {
272  {
273 QT_MOC_LITERAL(0, 0, 27),
274 QT_MOC_LITERAL(1, 28, 17),
275 QT_MOC_LITERAL(2, 46, 0),
276 QT_MOC_LITERAL(3, 47, 8),
277 QT_MOC_LITERAL(4, 56, 15),
278 QT_MOC_LITERAL(5, 72, 8),
279 QT_MOC_LITERAL(6, 81, 6)
280  },
281  "UnitDisplayStatusBarControl\0"
282  "updateDisplayUnit\0\0newUnits\0onMenuSelection\0"
283  "QAction*\0action\0"
284 };
285 #undef QT_MOC_LITERAL
286 
287 static const uint qt_meta_data_UnitDisplayStatusBarControl[] = {
288 
289  // content:
290  7, // revision
291  0, // classname
292  0, 0, // classinfo
293  2, 14, // methods
294  0, 0, // properties
295  0, 0, // enums/sets
296  0, 0, // constructors
297  0, // flags
298  0, // signalCount
299 
300  // slots: name, argc, parameters, tag, flags
301  1, 1, 24, 2, 0x08,
302  4, 1, 27, 2, 0x08,
303 
304  // slots: parameters
305  QMetaType::Void, QMetaType::Int, 3,
306  QMetaType::Void, 0x80000000 | 5, 6,
307 
308  0 // eod
309 };
310 
311 void UnitDisplayStatusBarControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
312 {
313  if (_c == QMetaObject::InvokeMetaMethod) {
315  switch (_id) {
316  case 0: _t->updateDisplayUnit((*reinterpret_cast< int(*)>(_a[1]))); break;
317  case 1: _t->onMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
318  default: ;
319  }
320  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
321  switch (_id) {
322  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
323  case 1:
324  switch (*reinterpret_cast<int*>(_a[1])) {
325  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
326  case 0:
327  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
328  }
329  break;
330  }
331  }
332 }
333 
334 const QMetaObject UnitDisplayStatusBarControl::staticMetaObject = {
335  { &QLabel::staticMetaObject, qt_meta_stringdata_UnitDisplayStatusBarControl.data,
336  qt_meta_data_UnitDisplayStatusBarControl, qt_static_metacall, 0, 0}
337 };
338 
339 
340 const QMetaObject *UnitDisplayStatusBarControl::metaObject() const
341 {
342  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
343 }
344 
345 void *UnitDisplayStatusBarControl::qt_metacast(const char *_clname)
346 {
347  if (!_clname) return 0;
348  if (!strcmp(_clname, qt_meta_stringdata_UnitDisplayStatusBarControl.stringdata))
349  return static_cast<void*>(const_cast< UnitDisplayStatusBarControl*>(this));
350  return QLabel::qt_metacast(_clname);
351 }
352 
353 int UnitDisplayStatusBarControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
354 {
355  _id = QLabel::qt_metacall(_c, _id, _a);
356  if (_id < 0)
357  return _id;
358  if (_c == QMetaObject::InvokeMetaMethod) {
359  if (_id < 2)
360  qt_static_metacall(this, _c, _id, _a);
361  _id -= 2;
362  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
363  if (_id < 2)
364  qt_static_metacall(this, _c, _id, _a);
365  _id -= 2;
366  }
367  return _id;
368 }
369 QT_END_MOC_NAMESPACE
void detectShutdown()
called by a timer to check if fRequestShutdown has been set
void aboutClicked()
Show about dialog.
Anoncoin GUI main class.
Definition: anoncoingui.h:47
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.