Bitcoin Core 22.99.0
P2P Digital Currency
moc_bitcoinamountfield.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'bitcoinamountfield.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>
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'bitcoinamountfield.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[6];
26 char stringdata0[55];
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_BitcoinAmountField_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 18), // "BitcoinAmountField"
36QT_MOC_LITERAL(1, 19, 12), // "valueChanged"
37QT_MOC_LITERAL(2, 32, 0), // ""
38QT_MOC_LITERAL(3, 33, 11), // "unitChanged"
39QT_MOC_LITERAL(4, 45, 3), // "idx"
40QT_MOC_LITERAL(5, 49, 5) // "value"
41
42 },
43 "BitcoinAmountField\0valueChanged\0\0"
44 "unitChanged\0idx\0value"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_BitcoinAmountField[] = {
49
50 // content:
51 8, // revision
52 0, // classname
53 0, 0, // classinfo
54 2, 14, // methods
55 1, 28, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 1, // signalCount
60
61 // signals: name, argc, parameters, tag, flags
62 1, 0, 24, 2, 0x06 /* Public */,
63
64 // slots: name, argc, parameters, tag, flags
65 3, 1, 25, 2, 0x08 /* Private */,
66
67 // signals: parameters
68 QMetaType::Void,
69
70 // slots: parameters
71 QMetaType::Void, QMetaType::Int, 4,
72
73 // properties: name, type, flags
74 5, QMetaType::LongLong, 0x00595103,
75
76 // properties: notify_signal_id
77 0,
78
79 0 // eod
80};
81
82void BitcoinAmountField::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83{
84 if (_c == QMetaObject::InvokeMetaMethod) {
85 auto *_t = static_cast<BitcoinAmountField *>(_o);
86 (void)_t;
87 switch (_id) {
88 case 0: _t->valueChanged(); break;
89 case 1: _t->unitChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
90 default: ;
91 }
92 } else if (_c == QMetaObject::IndexOfMethod) {
93 int *result = reinterpret_cast<int *>(_a[0]);
94 {
95 using _t = void (BitcoinAmountField::*)();
96 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinAmountField::valueChanged)) {
97 *result = 0;
98 return;
99 }
100 }
101 }
102#ifndef QT_NO_PROPERTIES
103 else if (_c == QMetaObject::ReadProperty) {
104 auto *_t = static_cast<BitcoinAmountField *>(_o);
105 (void)_t;
106 void *_v = _a[0];
107 switch (_id) {
108 case 0: *reinterpret_cast< qint64*>(_v) = _t->value(); break;
109 default: break;
110 }
111 } else if (_c == QMetaObject::WriteProperty) {
112 auto *_t = static_cast<BitcoinAmountField *>(_o);
113 (void)_t;
114 void *_v = _a[0];
115 switch (_id) {
116 case 0: _t->setValue(*reinterpret_cast< qint64*>(_v)); break;
117 default: break;
118 }
119 } else if (_c == QMetaObject::ResetProperty) {
120 }
121#endif // QT_NO_PROPERTIES
122}
123
124QT_INIT_METAOBJECT const QMetaObject BitcoinAmountField::staticMetaObject = { {
125 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
128 qt_static_metacall,
129 nullptr,
130 nullptr
131} };
132
133
134const QMetaObject *BitcoinAmountField::metaObject() const
135{
136 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
137}
138
139void *BitcoinAmountField::qt_metacast(const char *_clname)
140{
141 if (!_clname) return nullptr;
143 return static_cast<void*>(this);
144 return QWidget::qt_metacast(_clname);
145}
146
147int BitcoinAmountField::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
148{
149 _id = QWidget::qt_metacall(_c, _id, _a);
150 if (_id < 0)
151 return _id;
152 if (_c == QMetaObject::InvokeMetaMethod) {
153 if (_id < 2)
154 qt_static_metacall(this, _c, _id, _a);
155 _id -= 2;
156 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
157 if (_id < 2)
158 *reinterpret_cast<int*>(_a[0]) = -1;
159 _id -= 2;
160 }
161#ifndef QT_NO_PROPERTIES
162 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
163 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
164 qt_static_metacall(this, _c, _id, _a);
165 _id -= 1;
166 } else if (_c == QMetaObject::QueryPropertyDesignable) {
167 _id -= 1;
168 } else if (_c == QMetaObject::QueryPropertyScriptable) {
169 _id -= 1;
170 } else if (_c == QMetaObject::QueryPropertyStored) {
171 _id -= 1;
172 } else if (_c == QMetaObject::QueryPropertyEditable) {
173 _id -= 1;
174 } else if (_c == QMetaObject::QueryPropertyUser) {
175 _id -= 1;
176 }
177#endif // QT_NO_PROPERTIES
178 return _id;
179}
180
181// SIGNAL 0
183{
184 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
185}
186QT_WARNING_POP
187QT_END_MOC_NAMESPACE
Widget for entering bitcoin amounts.
void setValue(const CAmount &value)
static const uint qt_meta_data_BitcoinAmountField[]
static const qt_meta_stringdata_BitcoinAmountField_t qt_meta_stringdata_BitcoinAmountField
#define QT_MOC_LITERAL(idx, ofs, len)