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