Bitcoin Core  24.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.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
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.12.7. 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[20];
25  char stringdata0[299];
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, 20), // "LimitTransactionRows"
46 QT_MOC_LITERAL(12, 162, 17), // "updateDisplayUnit"
47 QT_MOC_LITERAL(13, 180, 24), // "handleTransactionClicked"
48 QT_MOC_LITERAL(14, 205, 12), // "updateAlerts"
49 QT_MOC_LITERAL(15, 218, 8), // "warnings"
50 QT_MOC_LITERAL(16, 227, 21), // "updateWatchOnlyLabels"
51 QT_MOC_LITERAL(17, 249, 13), // "showWatchOnly"
52 QT_MOC_LITERAL(18, 263, 17), // "setMonospacedFont"
53 QT_MOC_LITERAL(19, 281, 17) // "use_embedded_font"
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\0"
64  "use_embedded_font"
65 };
66 #undef QT_MOC_LITERAL
67 
68 static const uint qt_meta_data_OverviewPage[] = {
69 
70  // content:
71  8, // revision
72  0, // classname
73  0, 0, // classinfo
74  10, 14, // methods
75  0, 0, // properties
76  0, 0, // enums/sets
77  0, 0, // constructors
78  0, // flags
79  2, // signalCount
80 
81  // signals: name, argc, parameters, tag, flags
82  1, 1, 64, 2, 0x06 /* Public */,
83  5, 0, 67, 2, 0x06 /* Public */,
84 
85  // slots: name, argc, parameters, tag, flags
86  6, 1, 68, 2, 0x0a /* Public */,
87  9, 1, 71, 2, 0x0a /* Public */,
88  11, 0, 74, 2, 0x08 /* Private */,
89  12, 0, 75, 2, 0x08 /* Private */,
90  13, 1, 76, 2, 0x08 /* Private */,
91  14, 1, 79, 2, 0x08 /* Private */,
92  16, 1, 82, 2, 0x08 /* Private */,
93  18, 1, 85, 2, 0x08 /* Private */,
94 
95  // signals: parameters
96  QMetaType::Void, 0x80000000 | 3, 4,
97  QMetaType::Void,
98 
99  // slots: parameters
100  QMetaType::Void, 0x80000000 | 7, 8,
101  QMetaType::Void, QMetaType::Bool, 10,
102  QMetaType::Void,
103  QMetaType::Void,
104  QMetaType::Void, 0x80000000 | 3, 4,
105  QMetaType::Void, QMetaType::QString, 15,
106  QMetaType::Void, QMetaType::Bool, 17,
107  QMetaType::Void, QMetaType::Bool, 19,
108 
109  0 // eod
110 };
111 
112 void OverviewPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
113 {
114  if (_c == QMetaObject::InvokeMetaMethod) {
115  auto *_t = static_cast<OverviewPage *>(_o);
116  Q_UNUSED(_t)
117  switch (_id) {
118  case 0: _t->transactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
119  case 1: _t->outOfSyncWarningClicked(); break;
120  case 2: _t->setBalance((*reinterpret_cast< const interfaces::WalletBalances(*)>(_a[1]))); break;
121  case 3: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
122  case 4: _t->LimitTransactionRows(); break;
123  case 5: _t->updateDisplayUnit(); break;
124  case 6: _t->handleTransactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
125  case 7: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
126  case 8: _t->updateWatchOnlyLabels((*reinterpret_cast< bool(*)>(_a[1]))); break;
127  case 9: _t->setMonospacedFont((*reinterpret_cast< bool(*)>(_a[1]))); break;
128  default: ;
129  }
130  } else if (_c == QMetaObject::IndexOfMethod) {
131  int *result = reinterpret_cast<int *>(_a[0]);
132  {
133  using _t = void (OverviewPage::*)(const QModelIndex & );
134  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverviewPage::transactionClicked)) {
135  *result = 0;
136  return;
137  }
138  }
139  {
140  using _t = void (OverviewPage::*)();
141  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverviewPage::outOfSyncWarningClicked)) {
142  *result = 1;
143  return;
144  }
145  }
146  }
147 }
148 
149 QT_INIT_METAOBJECT const QMetaObject OverviewPage::staticMetaObject = { {
150  &QWidget::staticMetaObject,
153  qt_static_metacall,
154  nullptr,
155  nullptr
156 } };
157 
158 
159 const QMetaObject *OverviewPage::metaObject() const
160 {
161  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
162 }
163 
164 void *OverviewPage::qt_metacast(const char *_clname)
165 {
166  if (!_clname) return nullptr;
167  if (!strcmp(_clname, qt_meta_stringdata_OverviewPage.stringdata0))
168  return static_cast<void*>(this);
169  return QWidget::qt_metacast(_clname);
170 }
171 
172 int OverviewPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
173 {
174  _id = QWidget::qt_metacall(_c, _id, _a);
175  if (_id < 0)
176  return _id;
177  if (_c == QMetaObject::InvokeMetaMethod) {
178  if (_id < 10)
179  qt_static_metacall(this, _c, _id, _a);
180  _id -= 10;
181  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
182  if (_id < 10)
183  *reinterpret_cast<int*>(_a[0]) = -1;
184  _id -= 10;
185  }
186  return _id;
187 }
188 
189 // SIGNAL 0
190 void OverviewPage::transactionClicked(const QModelIndex & _t1)
191 {
192  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
193  QMetaObject::activate(this, &staticMetaObject, 0, _a);
194 }
195 
196 // SIGNAL 1
198 {
199  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
200 }
201 QT_WARNING_POP
202 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:365
void transactionClicked(const QModelIndex &index)
Overview ("home") page widget.
Definition: overviewpage.h:28