Bitcoin Core 22.99.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.2)
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.2. 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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[19];
26 char stringdata0[278];
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 {
35QT_MOC_LITERAL(0, 0, 12), // "OverviewPage"
36QT_MOC_LITERAL(1, 13, 18), // "transactionClicked"
37QT_MOC_LITERAL(2, 32, 0), // ""
38QT_MOC_LITERAL(3, 33, 11), // "QModelIndex"
39QT_MOC_LITERAL(4, 45, 5), // "index"
40QT_MOC_LITERAL(5, 51, 23), // "outOfSyncWarningClicked"
41QT_MOC_LITERAL(6, 75, 10), // "setBalance"
42QT_MOC_LITERAL(7, 86, 26), // "interfaces::WalletBalances"
43QT_MOC_LITERAL(8, 113, 8), // "balances"
44QT_MOC_LITERAL(9, 122, 10), // "setPrivacy"
45QT_MOC_LITERAL(10, 133, 7), // "privacy"
46QT_MOC_LITERAL(11, 141, 17), // "updateDisplayUnit"
47QT_MOC_LITERAL(12, 159, 24), // "handleTransactionClicked"
48QT_MOC_LITERAL(13, 184, 12), // "updateAlerts"
49QT_MOC_LITERAL(14, 197, 8), // "warnings"
50QT_MOC_LITERAL(15, 206, 21), // "updateWatchOnlyLabels"
51QT_MOC_LITERAL(16, 228, 13), // "showWatchOnly"
52QT_MOC_LITERAL(17, 242, 17), // "setMonospacedFont"
53QT_MOC_LITERAL(18, 260, 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 "updateDisplayUnit\0handleTransactionClicked\0"
61 "updateAlerts\0warnings\0updateWatchOnlyLabels\0"
62 "showWatchOnly\0setMonospacedFont\0"
63 "use_embedded_font"
64};
65#undef QT_MOC_LITERAL
66
67static const uint qt_meta_data_OverviewPage[] = {
68
69 // content:
70 8, // revision
71 0, // classname
72 0, 0, // classinfo
73 9, 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, 59, 2, 0x06 /* Public */,
82 5, 0, 62, 2, 0x06 /* Public */,
83
84 // slots: name, argc, parameters, tag, flags
85 6, 1, 63, 2, 0x0a /* Public */,
86 9, 1, 66, 2, 0x0a /* Public */,
87 11, 0, 69, 2, 0x08 /* Private */,
88 12, 1, 70, 2, 0x08 /* Private */,
89 13, 1, 73, 2, 0x08 /* Private */,
90 15, 1, 76, 2, 0x08 /* Private */,
91 17, 1, 79, 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, 0x80000000 | 3, 4,
102 QMetaType::Void, QMetaType::QString, 14,
103 QMetaType::Void, QMetaType::Bool, 16,
104 QMetaType::Void, QMetaType::Bool, 18,
105
106 0 // eod
107};
108
109void OverviewPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
110{
111 if (_c == QMetaObject::InvokeMetaMethod) {
112 auto *_t = static_cast<OverviewPage *>(_o);
113 (void)_t;
114 switch (_id) {
115 case 0: _t->transactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
116 case 1: _t->outOfSyncWarningClicked(); break;
117 case 2: _t->setBalance((*reinterpret_cast< const interfaces::WalletBalances(*)>(_a[1]))); break;
118 case 3: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
119 case 4: _t->updateDisplayUnit(); break;
120 case 5: _t->handleTransactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
121 case 6: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
122 case 7: _t->updateWatchOnlyLabels((*reinterpret_cast< bool(*)>(_a[1]))); break;
123 case 8: _t->setMonospacedFont((*reinterpret_cast< bool(*)>(_a[1]))); break;
124 default: ;
125 }
126 } else if (_c == QMetaObject::IndexOfMethod) {
127 int *result = reinterpret_cast<int *>(_a[0]);
128 {
129 using _t = void (OverviewPage::*)(const QModelIndex & );
130 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverviewPage::transactionClicked)) {
131 *result = 0;
132 return;
133 }
134 }
135 {
136 using _t = void (OverviewPage::*)();
137 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverviewPage::outOfSyncWarningClicked)) {
138 *result = 1;
139 return;
140 }
141 }
142 }
143}
144
145QT_INIT_METAOBJECT const QMetaObject OverviewPage::staticMetaObject = { {
146 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
149 qt_static_metacall,
150 nullptr,
151 nullptr
152} };
153
154
155const QMetaObject *OverviewPage::metaObject() const
156{
157 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
158}
159
160void *OverviewPage::qt_metacast(const char *_clname)
161{
162 if (!_clname) return nullptr;
163 if (!strcmp(_clname, qt_meta_stringdata_OverviewPage.stringdata0))
164 return static_cast<void*>(this);
165 return QWidget::qt_metacast(_clname);
166}
167
168int OverviewPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
169{
170 _id = QWidget::qt_metacall(_c, _id, _a);
171 if (_id < 0)
172 return _id;
173 if (_c == QMetaObject::InvokeMetaMethod) {
174 if (_id < 9)
175 qt_static_metacall(this, _c, _id, _a);
176 _id -= 9;
177 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
178 if (_id < 9)
179 *reinterpret_cast<int*>(_a[0]) = -1;
180 _id -= 9;
181 }
182 return _id;
183}
184
185// SIGNAL 0
186void OverviewPage::transactionClicked(const QModelIndex & _t1)
187{
188 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
189 QMetaObject::activate(this, &staticMetaObject, 0, _a);
190}
191
192// SIGNAL 1
194{
195 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
196}
197QT_WARNING_POP
198QT_END_MOC_NAMESPACE
Overview ("home") page widget.
Definition: overviewpage.h:29
void transactionClicked(const QModelIndex &index)
void outOfSyncWarningClicked()
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_OverviewPage[]
static const qt_meta_stringdata_OverviewPage_t qt_meta_stringdata_OverviewPage
Collection of wallet balances.
Definition: wallet.h:356