Bitcoin Core  28.1.0
P2P Digital Currency
moc_apptests.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'apptests.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/test/apptests.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'apptests.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[9];
26  char stringdata0[80];
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_AppTests_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 8), // "AppTests"
36 QT_MOC_LITERAL(1, 9, 8), // "appTests"
37 QT_MOC_LITERAL(2, 18, 0), // ""
38 QT_MOC_LITERAL(3, 19, 8), // "guiTests"
39 QT_MOC_LITERAL(4, 28, 11), // "BitcoinGUI*"
40 QT_MOC_LITERAL(5, 40, 6), // "window"
41 QT_MOC_LITERAL(6, 47, 12), // "consoleTests"
42 QT_MOC_LITERAL(7, 60, 11), // "RPCConsole*"
43 QT_MOC_LITERAL(8, 72, 7) // "console"
44 
45  },
46  "AppTests\0appTests\0\0guiTests\0BitcoinGUI*\0"
47  "window\0consoleTests\0RPCConsole*\0console"
48 };
49 #undef QT_MOC_LITERAL
50 
51 static const uint qt_meta_data_AppTests[] = {
52 
53  // content:
54  8, // revision
55  0, // classname
56  0, 0, // classinfo
57  3, 14, // methods
58  0, 0, // properties
59  0, 0, // enums/sets
60  0, 0, // constructors
61  0, // flags
62  0, // signalCount
63 
64  // slots: name, argc, parameters, tag, flags
65  1, 0, 29, 2, 0x08 /* Private */,
66  3, 1, 30, 2, 0x08 /* Private */,
67  6, 1, 33, 2, 0x08 /* Private */,
68 
69  // slots: parameters
70  QMetaType::Void,
71  QMetaType::Void, 0x80000000 | 4, 5,
72  QMetaType::Void, 0x80000000 | 7, 8,
73 
74  0 // eod
75 };
76 
77 void AppTests::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
78 {
79  if (_c == QMetaObject::InvokeMetaMethod) {
80  auto *_t = static_cast<AppTests *>(_o);
81  (void)_t;
82  switch (_id) {
83  case 0: _t->appTests(); break;
84  case 1: _t->guiTests((*reinterpret_cast< BitcoinGUI*(*)>(_a[1]))); break;
85  case 2: _t->consoleTests((*reinterpret_cast< RPCConsole*(*)>(_a[1]))); break;
86  default: ;
87  }
88  }
89 }
90 
91 QT_INIT_METAOBJECT const QMetaObject AppTests::staticMetaObject = { {
92  QMetaObject::SuperData::link<QObject::staticMetaObject>(),
95  qt_static_metacall,
96  nullptr,
97  nullptr
98 } };
99 
100 
101 const QMetaObject *AppTests::metaObject() const
102 {
103  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
104 }
105 
106 void *AppTests::qt_metacast(const char *_clname)
107 {
108  if (!_clname) return nullptr;
109  if (!strcmp(_clname, qt_meta_stringdata_AppTests.stringdata0))
110  return static_cast<void*>(this);
111  return QObject::qt_metacast(_clname);
112 }
113 
114 int AppTests::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
115 {
116  _id = QObject::qt_metacall(_c, _id, _a);
117  if (_id < 0)
118  return _id;
119  if (_c == QMetaObject::InvokeMetaMethod) {
120  if (_id < 3)
121  qt_static_metacall(this, _c, _id, _a);
122  _id -= 3;
123  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
124  if (_id < 3)
125  *reinterpret_cast<int*>(_a[0]) = -1;
126  _id -= 3;
127  }
128  return _id;
129 }
130 QT_WARNING_POP
131 QT_END_MOC_NAMESPACE
Local Bitcoin RPC console.
Definition: rpcconsole.h:41
Bitcoin GUI main class.
Definition: bitcoingui.h:67
void appTests()
Entry point for BitcoinApplication tests.
Definition: apptests.cpp:55
static const uint qt_meta_data_AppTests[]
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_AppTests_t qt_meta_stringdata_AppTests