Bitcoin Core  26.1.0
P2P Digital Currency
moc_bitcoinunits.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'bitcoinunits.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.8)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "qt/bitcoinunits.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'bitcoinunits.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.8. 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 
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
25  QByteArrayData data[6];
26  char stringdata0[36];
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_BitcoinUnits_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 12), // "BitcoinUnits"
36 QT_MOC_LITERAL(1, 13, 4), // "Unit"
37 QT_MOC_LITERAL(2, 18, 3), // "BTC"
38 QT_MOC_LITERAL(3, 22, 4), // "mBTC"
39 QT_MOC_LITERAL(4, 27, 4), // "uBTC"
40 QT_MOC_LITERAL(5, 32, 3) // "SAT"
41 
42  },
43  "BitcoinUnits\0Unit\0BTC\0mBTC\0uBTC\0SAT"
44 };
45 #undef QT_MOC_LITERAL
46 
47 static const uint qt_meta_data_BitcoinUnits[] = {
48 
49  // content:
50  8, // revision
51  0, // classname
52  0, 0, // classinfo
53  0, 0, // methods
54  0, 0, // properties
55  1, 14, // enums/sets
56  0, 0, // constructors
57  0, // flags
58  0, // signalCount
59 
60  // enums: name, alias, flags, count, data
61  1, 1, 0x2, 4, 19,
62 
63  // enum data: key, value
64  2, uint(BitcoinUnits::Unit::BTC),
65  3, uint(BitcoinUnits::Unit::mBTC),
66  4, uint(BitcoinUnits::Unit::uBTC),
67  5, uint(BitcoinUnits::Unit::SAT),
68 
69  0 // eod
70 };
71 
72 void BitcoinUnits::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73 {
74  (void)_o;
75  (void)_id;
76  (void)_c;
77  (void)_a;
78 }
79 
80 QT_INIT_METAOBJECT const QMetaObject BitcoinUnits::staticMetaObject = { {
81  QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
84  qt_static_metacall,
85  nullptr,
86  nullptr
87 } };
88 
89 
90 const QMetaObject *BitcoinUnits::metaObject() const
91 {
92  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
93 }
94 
95 void *BitcoinUnits::qt_metacast(const char *_clname)
96 {
97  if (!_clname) return nullptr;
98  if (!strcmp(_clname, qt_meta_stringdata_BitcoinUnits.stringdata0))
99  return static_cast<void*>(this);
100  return QAbstractListModel::qt_metacast(_clname);
101 }
102 
103 int BitcoinUnits::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
104 {
105  _id = QAbstractListModel::qt_metacall(_c, _id, _a);
106  return _id;
107 }
108 QT_WARNING_POP
109 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_BitcoinUnits_t qt_meta_stringdata_BitcoinUnits
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_BitcoinUnits[]