Bitcoin Core 22.99.0
P2P Digital Currency
moc_optionsmodel.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'optionsmodel.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/optionsmodel.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'optionsmodel.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[7];
26 char stringdata0[118];
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_OptionsModel_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 12), // "OptionsModel"
36QT_MOC_LITERAL(1, 13, 18), // "displayUnitChanged"
37QT_MOC_LITERAL(2, 32, 0), // ""
38QT_MOC_LITERAL(3, 33, 4), // "unit"
39QT_MOC_LITERAL(4, 38, 26), // "coinControlFeaturesChanged"
40QT_MOC_LITERAL(5, 65, 19), // "showTrayIconChanged"
41QT_MOC_LITERAL(6, 85, 32) // "useEmbeddedMonospacedFontChanged"
42
43 },
44 "OptionsModel\0displayUnitChanged\0\0unit\0"
45 "coinControlFeaturesChanged\0"
46 "showTrayIconChanged\0"
47 "useEmbeddedMonospacedFontChanged"
48};
49#undef QT_MOC_LITERAL
50
51static const uint qt_meta_data_OptionsModel[] = {
52
53 // content:
54 8, // revision
55 0, // classname
56 0, 0, // classinfo
57 4, 14, // methods
58 0, 0, // properties
59 0, 0, // enums/sets
60 0, 0, // constructors
61 0, // flags
62 4, // signalCount
63
64 // signals: name, argc, parameters, tag, flags
65 1, 1, 34, 2, 0x06 /* Public */,
66 4, 1, 37, 2, 0x06 /* Public */,
67 5, 1, 40, 2, 0x06 /* Public */,
68 6, 1, 43, 2, 0x06 /* Public */,
69
70 // signals: parameters
71 QMetaType::Void, QMetaType::Int, 3,
72 QMetaType::Void, QMetaType::Bool, 2,
73 QMetaType::Void, QMetaType::Bool, 2,
74 QMetaType::Void, QMetaType::Bool, 2,
75
76 0 // eod
77};
78
79void OptionsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80{
81 if (_c == QMetaObject::InvokeMetaMethod) {
82 auto *_t = static_cast<OptionsModel *>(_o);
83 (void)_t;
84 switch (_id) {
85 case 0: _t->displayUnitChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
86 case 1: _t->coinControlFeaturesChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
87 case 2: _t->showTrayIconChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
88 case 3: _t->useEmbeddedMonospacedFontChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
89 default: ;
90 }
91 } else if (_c == QMetaObject::IndexOfMethod) {
92 int *result = reinterpret_cast<int *>(_a[0]);
93 {
94 using _t = void (OptionsModel::*)(int );
95 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsModel::displayUnitChanged)) {
96 *result = 0;
97 return;
98 }
99 }
100 {
101 using _t = void (OptionsModel::*)(bool );
102 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsModel::coinControlFeaturesChanged)) {
103 *result = 1;
104 return;
105 }
106 }
107 {
108 using _t = void (OptionsModel::*)(bool );
109 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsModel::showTrayIconChanged)) {
110 *result = 2;
111 return;
112 }
113 }
114 {
115 using _t = void (OptionsModel::*)(bool );
116 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OptionsModel::useEmbeddedMonospacedFontChanged)) {
117 *result = 3;
118 return;
119 }
120 }
121 }
122}
123
124QT_INIT_METAOBJECT const QMetaObject OptionsModel::staticMetaObject = { {
125 QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
128 qt_static_metacall,
129 nullptr,
130 nullptr
131} };
132
133
134const QMetaObject *OptionsModel::metaObject() const
135{
136 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
137}
138
139void *OptionsModel::qt_metacast(const char *_clname)
140{
141 if (!_clname) return nullptr;
142 if (!strcmp(_clname, qt_meta_stringdata_OptionsModel.stringdata0))
143 return static_cast<void*>(this);
144 return QAbstractListModel::qt_metacast(_clname);
145}
146
147int OptionsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
148{
149 _id = QAbstractListModel::qt_metacall(_c, _id, _a);
150 if (_id < 0)
151 return _id;
152 if (_c == QMetaObject::InvokeMetaMethod) {
153 if (_id < 4)
154 qt_static_metacall(this, _c, _id, _a);
155 _id -= 4;
156 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
157 if (_id < 4)
158 *reinterpret_cast<int*>(_a[0]) = -1;
159 _id -= 4;
160 }
161 return _id;
162}
163
164// SIGNAL 0
166{
167 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
168 QMetaObject::activate(this, &staticMetaObject, 0, _a);
169}
170
171// SIGNAL 1
173{
174 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
175 QMetaObject::activate(this, &staticMetaObject, 1, _a);
176}
177
178// SIGNAL 2
180{
181 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
182 QMetaObject::activate(this, &staticMetaObject, 2, _a);
183}
184
185// SIGNAL 3
187{
188 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
189 QMetaObject::activate(this, &staticMetaObject, 3, _a);
190}
191QT_WARNING_POP
192QT_END_MOC_NAMESPACE
Interface from Qt to configuration data structure for Bitcoin client.
Definition: optionsmodel.h:39
void coinControlFeaturesChanged(bool)
void displayUnitChanged(int unit)
void showTrayIconChanged(bool)
void useEmbeddedMonospacedFontChanged(bool)
static const qt_meta_stringdata_OptionsModel_t qt_meta_stringdata_OptionsModel
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_OptionsModel[]