Fabcoin Core  0.16.2
P2P Digital Currency
moc_overviewpage.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'overviewpage.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/overviewpage.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'overviewpage.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[25];
22  char stringdata0[401];
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_OverviewPage_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_OverviewPage_t qt_meta_stringdata_OverviewPage = {
30  {
31 QT_MOC_LITERAL(0, 0, 12), // "OverviewPage"
32 QT_MOC_LITERAL(1, 13, 15), // "showMoreClicked"
33 QT_MOC_LITERAL(2, 29, 0), // ""
34 QT_MOC_LITERAL(3, 30, 23), // "outOfSyncWarningClicked"
35 QT_MOC_LITERAL(4, 54, 15), // "addTokenClicked"
36 QT_MOC_LITERAL(5, 70, 10), // "setBalance"
37 QT_MOC_LITERAL(6, 81, 7), // "CAmount"
38 QT_MOC_LITERAL(7, 89, 7), // "balance"
39 QT_MOC_LITERAL(8, 97, 18), // "unconfirmedBalance"
40 QT_MOC_LITERAL(9, 116, 15), // "immatureBalance"
41 QT_MOC_LITERAL(10, 132, 5), // "stake"
42 QT_MOC_LITERAL(11, 138, 16), // "watchOnlyBalance"
43 QT_MOC_LITERAL(12, 155, 18), // "watchUnconfBalance"
44 QT_MOC_LITERAL(13, 174, 20), // "watchImmatureBalance"
45 QT_MOC_LITERAL(14, 195, 14), // "watchOnlyStake"
46 QT_MOC_LITERAL(15, 210, 21), // "checkForInvalidTokens"
47 QT_MOC_LITERAL(16, 232, 17), // "updateDisplayUnit"
48 QT_MOC_LITERAL(17, 250, 12), // "updateAlerts"
49 QT_MOC_LITERAL(18, 263, 8), // "warnings"
50 QT_MOC_LITERAL(19, 272, 21), // "updateWatchOnlyLabels"
51 QT_MOC_LITERAL(20, 294, 13), // "showWatchOnly"
52 QT_MOC_LITERAL(21, 308, 28), // "handleOutOfSyncWarningClicks"
53 QT_MOC_LITERAL(22, 337, 25), // "on_buttonAddToken_clicked"
54 QT_MOC_LITERAL(23, 363, 25), // "on_showMoreButton_clicked"
55 QT_MOC_LITERAL(24, 389, 11) // "showDetails"
56 
57  },
58  "OverviewPage\0showMoreClicked\0\0"
59  "outOfSyncWarningClicked\0addTokenClicked\0"
60  "setBalance\0CAmount\0balance\0"
61  "unconfirmedBalance\0immatureBalance\0"
62  "stake\0watchOnlyBalance\0watchUnconfBalance\0"
63  "watchImmatureBalance\0watchOnlyStake\0"
64  "checkForInvalidTokens\0updateDisplayUnit\0"
65  "updateAlerts\0warnings\0updateWatchOnlyLabels\0"
66  "showWatchOnly\0handleOutOfSyncWarningClicks\0"
67  "on_buttonAddToken_clicked\0"
68  "on_showMoreButton_clicked\0showDetails"
69 };
70 #undef QT_MOC_LITERAL
71 
72 static const uint qt_meta_data_OverviewPage[] = {
73 
74  // content:
75  7, // revision
76  0, // classname
77  0, 0, // classinfo
78  12, 14, // methods
79  0, 0, // properties
80  0, 0, // enums/sets
81  0, 0, // constructors
82  0, // flags
83  3, // signalCount
84 
85  // signals: name, argc, parameters, tag, flags
86  1, 0, 74, 2, 0x06 /* Public */,
87  3, 0, 75, 2, 0x06 /* Public */,
88  4, 0, 76, 2, 0x06 /* Public */,
89 
90  // slots: name, argc, parameters, tag, flags
91  5, 8, 77, 2, 0x0a /* Public */,
92  15, 0, 94, 2, 0x0a /* Public */,
93  16, 0, 95, 2, 0x08 /* Private */,
94  17, 1, 96, 2, 0x08 /* Private */,
95  19, 1, 99, 2, 0x08 /* Private */,
96  21, 0, 102, 2, 0x08 /* Private */,
97  22, 0, 103, 2, 0x08 /* Private */,
98  23, 0, 104, 2, 0x08 /* Private */,
99  24, 0, 105, 2, 0x08 /* Private */,
100 
101  // signals: parameters
102  QMetaType::Void,
103  QMetaType::Void,
104  QMetaType::Void,
105 
106  // slots: parameters
107  QMetaType::Void, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, 7, 8, 9, 10, 11, 12, 13, 14,
108  QMetaType::Void,
109  QMetaType::Void,
110  QMetaType::Void, QMetaType::QString, 18,
111  QMetaType::Void, QMetaType::Bool, 20,
112  QMetaType::Void,
113  QMetaType::Void,
114  QMetaType::Void,
115  QMetaType::Void,
116 
117  0 // eod
118 };
119 
120 void OverviewPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
121 {
122  if (_c == QMetaObject::InvokeMetaMethod) {
123  OverviewPage *_t = static_cast<OverviewPage *>(_o);
124  Q_UNUSED(_t)
125  switch (_id) {
126  case 0: _t->showMoreClicked(); break;
127  case 1: _t->outOfSyncWarningClicked(); break;
128  case 2: _t->addTokenClicked(); break;
129  case 3: _t->setBalance((*reinterpret_cast< const CAmount(*)>(_a[1])),(*reinterpret_cast< const CAmount(*)>(_a[2])),(*reinterpret_cast< const CAmount(*)>(_a[3])),(*reinterpret_cast< const CAmount(*)>(_a[4])),(*reinterpret_cast< const CAmount(*)>(_a[5])),(*reinterpret_cast< const CAmount(*)>(_a[6])),(*reinterpret_cast< const CAmount(*)>(_a[7])),(*reinterpret_cast< const CAmount(*)>(_a[8]))); break;
130  case 4: _t->checkForInvalidTokens(); break;
131  case 5: _t->updateDisplayUnit(); break;
132  case 6: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
133  case 7: _t->updateWatchOnlyLabels((*reinterpret_cast< bool(*)>(_a[1]))); break;
134  case 8: _t->handleOutOfSyncWarningClicks(); break;
135  case 9: _t->on_buttonAddToken_clicked(); break;
136  case 10: _t->on_showMoreButton_clicked(); break;
137  case 11: _t->showDetails(); break;
138  default: ;
139  }
140  } else if (_c == QMetaObject::IndexOfMethod) {
141  int *result = reinterpret_cast<int *>(_a[0]);
142  void **func = reinterpret_cast<void **>(_a[1]);
143  {
144  typedef void (OverviewPage::*_t)();
145  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OverviewPage::showMoreClicked)) {
146  *result = 0;
147  }
148  }
149  {
150  typedef void (OverviewPage::*_t)();
151  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OverviewPage::outOfSyncWarningClicked)) {
152  *result = 1;
153  }
154  }
155  {
156  typedef void (OverviewPage::*_t)();
157  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OverviewPage::addTokenClicked)) {
158  *result = 2;
159  }
160  }
161  }
162 }
163 
164 const QMetaObject OverviewPage::staticMetaObject = {
165  { &QWidget::staticMetaObject, qt_meta_stringdata_OverviewPage.data,
166  qt_meta_data_OverviewPage, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
167 };
168 
169 
170 const QMetaObject *OverviewPage::metaObject() const
171 {
172  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
173 }
174 
175 void *OverviewPage::qt_metacast(const char *_clname)
176 {
177  if (!_clname) return Q_NULLPTR;
178  if (!strcmp(_clname, qt_meta_stringdata_OverviewPage.stringdata0))
179  return static_cast<void*>(const_cast< OverviewPage*>(this));
180  return QWidget::qt_metacast(_clname);
181 }
182 
183 int OverviewPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
184 {
185  _id = QWidget::qt_metacall(_c, _id, _a);
186  if (_id < 0)
187  return _id;
188  if (_c == QMetaObject::InvokeMetaMethod) {
189  if (_id < 12)
190  qt_static_metacall(this, _c, _id, _a);
191  _id -= 12;
192  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
193  if (_id < 12)
194  *reinterpret_cast<int*>(_a[0]) = -1;
195  _id -= 12;
196  }
197  return _id;
198 }
199 
200 // SIGNAL 0
202 {
203  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
204 }
205 
206 // SIGNAL 1
208 {
209  QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
210 }
211 
212 // SIGNAL 2
214 {
215  QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
216 }
217 QT_END_MOC_NAMESPACE
void showDetails()
void updateAlerts(const QString &warnings)
uint32_t uint
Definition: libclwrapper.h:40
void outOfSyncWarningClicked()
int64_t CAmount
Amount in lius (Can be negative)
Definition: amount.h:15
#define QT_MOC_LITERAL(idx, ofs, len)
void updateWatchOnlyLabels(bool showWatchOnly)
void checkForInvalidTokens()
void on_showMoreButton_clicked()
void updateDisplayUnit()
void handleOutOfSyncWarningClicks()
Overview ("home") page widget.
Definition: overviewpage.h:29
void on_buttonAddToken_clicked()
void setBalance(const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &stake, const CAmount &watchOnlyBalance, const CAmount &watchUnconfBalance, const CAmount &watchImmatureBalance, const CAmount &watchOnlyStake)