Bitcoin Core  0.21.1
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.9.4. 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
20 QT_WARNING_PUSH
21 QT_WARNING_DISABLE_DEPRECATED
23  QByteArrayData data[17];
24  char stringdata0[259];
25 };
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28  qptrdiff(offsetof(qt_meta_stringdata_OverviewPage_t, stringdata0) + ofs \
29  - idx * sizeof(QByteArrayData)) \
30  )
32  {
33 QT_MOC_LITERAL(0, 0, 12), // "OverviewPage"
34 QT_MOC_LITERAL(1, 13, 18), // "transactionClicked"
35 QT_MOC_LITERAL(2, 32, 0), // ""
36 QT_MOC_LITERAL(3, 33, 5), // "index"
37 QT_MOC_LITERAL(4, 39, 23), // "outOfSyncWarningClicked"
38 QT_MOC_LITERAL(5, 63, 10), // "setBalance"
39 QT_MOC_LITERAL(6, 74, 26), // "interfaces::WalletBalances"
40 QT_MOC_LITERAL(7, 101, 8), // "balances"
41 QT_MOC_LITERAL(8, 110, 10), // "setPrivacy"
42 QT_MOC_LITERAL(9, 121, 7), // "privacy"
43 QT_MOC_LITERAL(10, 129, 17), // "updateDisplayUnit"
44 QT_MOC_LITERAL(11, 147, 24), // "handleTransactionClicked"
45 QT_MOC_LITERAL(12, 172, 12), // "updateAlerts"
46 QT_MOC_LITERAL(13, 185, 8), // "warnings"
47 QT_MOC_LITERAL(14, 194, 21), // "updateWatchOnlyLabels"
48 QT_MOC_LITERAL(15, 216, 13), // "showWatchOnly"
49 QT_MOC_LITERAL(16, 230, 28) // "handleOutOfSyncWarningClicks"
50 
51  },
52  "OverviewPage\0transactionClicked\0\0index\0"
53  "outOfSyncWarningClicked\0setBalance\0"
54  "interfaces::WalletBalances\0balances\0"
55  "setPrivacy\0privacy\0updateDisplayUnit\0"
56  "handleTransactionClicked\0updateAlerts\0"
57  "warnings\0updateWatchOnlyLabels\0"
58  "showWatchOnly\0handleOutOfSyncWarningClicks"
59 };
60 #undef QT_MOC_LITERAL
61 
62 static const uint qt_meta_data_OverviewPage[] = {
63 
64  // content:
65  7, // revision
66  0, // classname
67  0, 0, // classinfo
68  9, 14, // methods
69  0, 0, // properties
70  0, 0, // enums/sets
71  0, 0, // constructors
72  0, // flags
73  2, // signalCount
74 
75  // signals: name, argc, parameters, tag, flags
76  1, 1, 59, 2, 0x06 /* Public */,
77  4, 0, 62, 2, 0x06 /* Public */,
78 
79  // slots: name, argc, parameters, tag, flags
80  5, 1, 63, 2, 0x0a /* Public */,
81  8, 1, 66, 2, 0x0a /* Public */,
82  10, 0, 69, 2, 0x08 /* Private */,
83  11, 1, 70, 2, 0x08 /* Private */,
84  12, 1, 73, 2, 0x08 /* Private */,
85  14, 1, 76, 2, 0x08 /* Private */,
86  16, 0, 79, 2, 0x08 /* Private */,
87 
88  // signals: parameters
89  QMetaType::Void, QMetaType::QModelIndex, 3,
90  QMetaType::Void,
91 
92  // slots: parameters
93  QMetaType::Void, 0x80000000 | 6, 7,
94  QMetaType::Void, QMetaType::Bool, 9,
95  QMetaType::Void,
96  QMetaType::Void, QMetaType::QModelIndex, 3,
97  QMetaType::Void, QMetaType::QString, 13,
98  QMetaType::Void, QMetaType::Bool, 15,
99  QMetaType::Void,
100 
101  0 // eod
102 };
103 
104 void OverviewPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
105 {
106  if (_c == QMetaObject::InvokeMetaMethod) {
107  OverviewPage *_t = static_cast<OverviewPage *>(_o);
108  Q_UNUSED(_t)
109  switch (_id) {
110  case 0: _t->transactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
111  case 1: _t->outOfSyncWarningClicked(); break;
112  case 2: _t->setBalance((*reinterpret_cast< const interfaces::WalletBalances(*)>(_a[1]))); break;
113  case 3: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
114  case 4: _t->updateDisplayUnit(); break;
115  case 5: _t->handleTransactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
116  case 6: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
117  case 7: _t->updateWatchOnlyLabels((*reinterpret_cast< bool(*)>(_a[1]))); break;
118  case 8: _t->handleOutOfSyncWarningClicks(); break;
119  default: ;
120  }
121  } else if (_c == QMetaObject::IndexOfMethod) {
122  int *result = reinterpret_cast<int *>(_a[0]);
123  {
124  typedef void (OverviewPage::*_t)(const QModelIndex & );
125  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverviewPage::transactionClicked)) {
126  *result = 0;
127  return;
128  }
129  }
130  {
131  typedef void (OverviewPage::*_t)();
132  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverviewPage::outOfSyncWarningClicked)) {
133  *result = 1;
134  return;
135  }
136  }
137  }
138 }
139 
140 const QMetaObject OverviewPage::staticMetaObject = {
141  { &QWidget::staticMetaObject, qt_meta_stringdata_OverviewPage.data,
142  qt_meta_data_OverviewPage, qt_static_metacall, nullptr, nullptr}
143 };
144 
145 
146 const QMetaObject *OverviewPage::metaObject() const
147 {
148  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
149 }
150 
151 void *OverviewPage::qt_metacast(const char *_clname)
152 {
153  if (!_clname) return nullptr;
154  if (!strcmp(_clname, qt_meta_stringdata_OverviewPage.stringdata0))
155  return static_cast<void*>(this);
156  return QWidget::qt_metacast(_clname);
157 }
158 
159 int OverviewPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
160 {
161  _id = QWidget::qt_metacall(_c, _id, _a);
162  if (_id < 0)
163  return _id;
164  if (_c == QMetaObject::InvokeMetaMethod) {
165  if (_id < 9)
166  qt_static_metacall(this, _c, _id, _a);
167  _id -= 9;
168  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
169  if (_id < 9)
170  *reinterpret_cast<int*>(_a[0]) = -1;
171  _id -= 9;
172  }
173  return _id;
174 }
175 
176 // SIGNAL 0
177 void OverviewPage::transactionClicked(const QModelIndex & _t1)
178 {
179  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
180  QMetaObject::activate(this, &staticMetaObject, 0, _a);
181 }
182 
183 // SIGNAL 1
185 {
186  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
187 }
188 QT_WARNING_POP
189 QT_END_MOC_NAMESPACE
void updateAlerts(const QString &warnings)
void handleTransactionClicked(const QModelIndex &index)
void setPrivacy(bool privacy)
static const qt_meta_stringdata_OverviewPage_t qt_meta_stringdata_OverviewPage
void outOfSyncWarningClicked()
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_OverviewPage[]
Collection of wallet balances.
Definition: wallet.h:349
void updateWatchOnlyLabels(bool showWatchOnly)
void transactionClicked(const QModelIndex &index)
void updateDisplayUnit()
void setBalance(const interfaces::WalletBalances &balances)
void handleOutOfSyncWarningClicks()
Overview ("home") page widget.
Definition: overviewpage.h:28