Fabcoin Core  0.16.2
P2P Digital Currency
moc_walletframe.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'walletframe.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/walletframe.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'walletframe.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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[28];
22  char stringdata0[453];
23 };
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_WalletFrame_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_WalletFrame_t qt_meta_stringdata_WalletFrame = {
30  {
31 QT_MOC_LITERAL(0, 0, 11), // "WalletFrame"
32 QT_MOC_LITERAL(1, 12, 24), // "requestedSyncWarningInfo"
33 QT_MOC_LITERAL(2, 37, 0), // ""
34 QT_MOC_LITERAL(3, 38, 16), // "gotoOverviewPage"
35 QT_MOC_LITERAL(4, 55, 15), // "gotoHistoryPage"
36 QT_MOC_LITERAL(5, 71, 20), // "gotoReceiveCoinsPage"
37 QT_MOC_LITERAL(6, 92, 17), // "gotoSendCoinsPage"
38 QT_MOC_LITERAL(7, 110, 4), // "addr"
39 QT_MOC_LITERAL(8, 115, 22), // "gotoCreateContractPage"
40 QT_MOC_LITERAL(9, 138, 22), // "gotoSendToContractPage"
41 QT_MOC_LITERAL(10, 161, 20), // "gotoCallContractPage"
42 QT_MOC_LITERAL(11, 182, 17), // "gotoSendTokenPage"
43 QT_MOC_LITERAL(12, 200, 20), // "gotoReceiveTokenPage"
44 QT_MOC_LITERAL(13, 221, 16), // "gotoAddTokenPage"
45 QT_MOC_LITERAL(14, 238, 18), // "gotoSignMessageTab"
46 QT_MOC_LITERAL(15, 257, 20), // "gotoVerifyMessageTab"
47 QT_MOC_LITERAL(16, 278, 13), // "encryptWallet"
48 QT_MOC_LITERAL(17, 292, 6), // "status"
49 QT_MOC_LITERAL(18, 299, 12), // "backupWallet"
50 QT_MOC_LITERAL(19, 312, 13), // "restoreWallet"
51 QT_MOC_LITERAL(20, 326, 16), // "changePassphrase"
52 QT_MOC_LITERAL(21, 343, 12), // "unlockWallet"
53 QT_MOC_LITERAL(22, 356, 10), // "lockWallet"
54 QT_MOC_LITERAL(23, 367, 20), // "usedSendingAddresses"
55 QT_MOC_LITERAL(24, 388, 22), // "usedReceivingAddresses"
56 QT_MOC_LITERAL(25, 411, 23), // "outOfSyncWarningClicked"
57 QT_MOC_LITERAL(26, 435, 11), // "pageChanged"
58 QT_MOC_LITERAL(27, 447, 5) // "index"
59 
60  },
61  "WalletFrame\0requestedSyncWarningInfo\0"
62  "\0gotoOverviewPage\0gotoHistoryPage\0"
63  "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
64  "addr\0gotoCreateContractPage\0"
65  "gotoSendToContractPage\0gotoCallContractPage\0"
66  "gotoSendTokenPage\0gotoReceiveTokenPage\0"
67  "gotoAddTokenPage\0gotoSignMessageTab\0"
68  "gotoVerifyMessageTab\0encryptWallet\0"
69  "status\0backupWallet\0restoreWallet\0"
70  "changePassphrase\0unlockWallet\0lockWallet\0"
71  "usedSendingAddresses\0usedReceivingAddresses\0"
72  "outOfSyncWarningClicked\0pageChanged\0"
73  "index"
74 };
75 #undef QT_MOC_LITERAL
76 
77 static const uint qt_meta_data_WalletFrame[] = {
78 
79  // content:
80  7, // revision
81  0, // classname
82  0, 0, // classinfo
83  26, 14, // methods
84  0, 0, // properties
85  0, 0, // enums/sets
86  0, 0, // constructors
87  0, // flags
88  1, // signalCount
89 
90  // signals: name, argc, parameters, tag, flags
91  1, 0, 144, 2, 0x06 /* Public */,
92 
93  // slots: name, argc, parameters, tag, flags
94  3, 0, 145, 2, 0x0a /* Public */,
95  4, 0, 146, 2, 0x0a /* Public */,
96  5, 0, 147, 2, 0x0a /* Public */,
97  6, 1, 148, 2, 0x0a /* Public */,
98  6, 0, 151, 2, 0x2a /* Public | MethodCloned */,
99  8, 0, 152, 2, 0x0a /* Public */,
100  9, 0, 153, 2, 0x0a /* Public */,
101  10, 0, 154, 2, 0x0a /* Public */,
102  11, 0, 155, 2, 0x0a /* Public */,
103  12, 0, 156, 2, 0x0a /* Public */,
104  13, 0, 157, 2, 0x0a /* Public */,
105  14, 1, 158, 2, 0x0a /* Public */,
106  14, 0, 161, 2, 0x2a /* Public | MethodCloned */,
107  15, 1, 162, 2, 0x0a /* Public */,
108  15, 0, 165, 2, 0x2a /* Public | MethodCloned */,
109  16, 1, 166, 2, 0x0a /* Public */,
110  18, 0, 169, 2, 0x0a /* Public */,
111  19, 0, 170, 2, 0x0a /* Public */,
112  20, 0, 171, 2, 0x0a /* Public */,
113  21, 0, 172, 2, 0x0a /* Public */,
114  22, 0, 173, 2, 0x0a /* Public */,
115  23, 0, 174, 2, 0x0a /* Public */,
116  24, 0, 175, 2, 0x0a /* Public */,
117  25, 0, 176, 2, 0x0a /* Public */,
118  26, 1, 177, 2, 0x0a /* Public */,
119 
120  // signals: parameters
121  QMetaType::Void,
122 
123  // slots: parameters
124  QMetaType::Void,
125  QMetaType::Void,
126  QMetaType::Void,
127  QMetaType::Void, QMetaType::QString, 7,
128  QMetaType::Void,
129  QMetaType::Void,
130  QMetaType::Void,
131  QMetaType::Void,
132  QMetaType::Void,
133  QMetaType::Void,
134  QMetaType::Void,
135  QMetaType::Void, QMetaType::QString, 7,
136  QMetaType::Void,
137  QMetaType::Void, QMetaType::QString, 7,
138  QMetaType::Void,
139  QMetaType::Void, QMetaType::Bool, 17,
140  QMetaType::Void,
141  QMetaType::Void,
142  QMetaType::Void,
143  QMetaType::Void,
144  QMetaType::Void,
145  QMetaType::Void,
146  QMetaType::Void,
147  QMetaType::Void,
148  QMetaType::Void, QMetaType::Int, 27,
149 
150  0 // eod
151 };
152 
153 void WalletFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
154 {
155  if (_c == QMetaObject::InvokeMetaMethod) {
156  WalletFrame *_t = static_cast<WalletFrame *>(_o);
157  Q_UNUSED(_t)
158  switch (_id) {
159  case 0: _t->requestedSyncWarningInfo(); break;
160  case 1: _t->gotoOverviewPage(); break;
161  case 2: _t->gotoHistoryPage(); break;
162  case 3: _t->gotoReceiveCoinsPage(); break;
163  case 4: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
164  case 5: _t->gotoSendCoinsPage(); break;
165  case 6: _t->gotoCreateContractPage(); break;
166  case 7: _t->gotoSendToContractPage(); break;
167  case 8: _t->gotoCallContractPage(); break;
168  case 9: _t->gotoSendTokenPage(); break;
169  case 10: _t->gotoReceiveTokenPage(); break;
170  case 11: _t->gotoAddTokenPage(); break;
171  case 12: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
172  case 13: _t->gotoSignMessageTab(); break;
173  case 14: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
174  case 15: _t->gotoVerifyMessageTab(); break;
175  case 16: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break;
176  case 17: _t->backupWallet(); break;
177  case 18: _t->restoreWallet(); break;
178  case 19: _t->changePassphrase(); break;
179  case 20: _t->unlockWallet(); break;
180  case 21: _t->lockWallet(); break;
181  case 22: _t->usedSendingAddresses(); break;
182  case 23: _t->usedReceivingAddresses(); break;
183  case 24: _t->outOfSyncWarningClicked(); break;
184  case 25: _t->pageChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
185  default: ;
186  }
187  } else if (_c == QMetaObject::IndexOfMethod) {
188  int *result = reinterpret_cast<int *>(_a[0]);
189  void **func = reinterpret_cast<void **>(_a[1]);
190  {
191  typedef void (WalletFrame::*_t)();
192  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletFrame::requestedSyncWarningInfo)) {
193  *result = 0;
194  }
195  }
196  }
197 }
198 
199 const QMetaObject WalletFrame::staticMetaObject = {
200  { &QFrame::staticMetaObject, qt_meta_stringdata_WalletFrame.data,
201  qt_meta_data_WalletFrame, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
202 };
203 
204 
205 const QMetaObject *WalletFrame::metaObject() const
206 {
207  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
208 }
209 
210 void *WalletFrame::qt_metacast(const char *_clname)
211 {
212  if (!_clname) return Q_NULLPTR;
213  if (!strcmp(_clname, qt_meta_stringdata_WalletFrame.stringdata0))
214  return static_cast<void*>(const_cast< WalletFrame*>(this));
215  return QFrame::qt_metacast(_clname);
216 }
217 
218 int WalletFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
219 {
220  _id = QFrame::qt_metacall(_c, _id, _a);
221  if (_id < 0)
222  return _id;
223  if (_c == QMetaObject::InvokeMetaMethod) {
224  if (_id < 26)
225  qt_static_metacall(this, _c, _id, _a);
226  _id -= 26;
227  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
228  if (_id < 26)
229  *reinterpret_cast<int*>(_a[0]) = -1;
230  _id -= 26;
231  }
232  return _id;
233 }
234 
235 // SIGNAL 0
237 {
238  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
239 }
240 QT_END_MOC_NAMESPACE
void lockWallet()
Lock the wallet.
void gotoAddTokenPage()
Switch to Add Token page.
void restoreWallet()
Restore the wallet.
void gotoCreateContractPage()
Switch to create contract page.
void usedReceivingAddresses()
Show used receiving addresses.
uint32_t uint
Definition: libclwrapper.h:40
void encryptWallet(bool status)
Encrypt the wallet.
void outOfSyncWarningClicked()
Pass on signal over requested out-of-sync-warning information.
#define QT_MOC_LITERAL(idx, ofs, len)
void gotoSendTokenPage()
Switch to Send Token page.
void gotoCallContractPage()
Switch to call contract page.
void gotoHistoryPage()
Switch to history (transactions) page.
void gotoOverviewPage()
Switch to overview (home) page.
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
void changePassphrase()
Change encrypted wallet passphrase.
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
void requestedSyncWarningInfo()
Notify that the user has requested more information about the out-of-sync warning.
void pageChanged(int index)
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
void gotoReceiveCoinsPage()
Switch to receive coins page.
void backupWallet()
Backup the wallet.
void gotoSendToContractPage()
Switch to send contract page.
A container for embedding all wallet-related controls into FabcoinGUI.
Definition: walletframe.h:29
void usedSendingAddresses()
Show used sending addresses.
void gotoReceiveTokenPage()
Switch to Receive Token page.