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