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