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