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