Bitcoin Core  0.21.1
P2P Digital Currency
moc_paymentserver.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'paymentserver.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/paymentserver.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'paymentserver.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.9.4. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
20 QT_WARNING_PUSH
21 QT_WARNING_DISABLE_DEPRECATED
23  QByteArrayData data[11];
24  char stringdata0[123];
25 };
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28  qptrdiff(offsetof(qt_meta_stringdata_PaymentServer_t, stringdata0) + ofs \
29  - idx * sizeof(QByteArrayData)) \
30  )
32  {
33 QT_MOC_LITERAL(0, 0, 13), // "PaymentServer"
34 QT_MOC_LITERAL(1, 14, 22), // "receivedPaymentRequest"
35 QT_MOC_LITERAL(2, 37, 0), // ""
36 QT_MOC_LITERAL(3, 38, 18), // "SendCoinsRecipient"
37 QT_MOC_LITERAL(4, 57, 7), // "message"
38 QT_MOC_LITERAL(5, 65, 5), // "title"
39 QT_MOC_LITERAL(6, 71, 5), // "style"
40 QT_MOC_LITERAL(7, 77, 7), // "uiReady"
41 QT_MOC_LITERAL(8, 85, 15), // "handleURIOrFile"
42 QT_MOC_LITERAL(9, 101, 1), // "s"
43 QT_MOC_LITERAL(10, 103, 19) // "handleURIConnection"
44 
45  },
46  "PaymentServer\0receivedPaymentRequest\0"
47  "\0SendCoinsRecipient\0message\0title\0"
48  "style\0uiReady\0handleURIOrFile\0s\0"
49  "handleURIConnection"
50 };
51 #undef QT_MOC_LITERAL
52 
53 static const uint qt_meta_data_PaymentServer[] = {
54 
55  // content:
56  7, // revision
57  0, // classname
58  0, 0, // classinfo
59  5, 14, // methods
60  0, 0, // properties
61  0, 0, // enums/sets
62  0, 0, // constructors
63  0, // flags
64  2, // signalCount
65 
66  // signals: name, argc, parameters, tag, flags
67  1, 1, 39, 2, 0x06 /* Public */,
68  4, 3, 42, 2, 0x06 /* Public */,
69 
70  // slots: name, argc, parameters, tag, flags
71  7, 0, 49, 2, 0x0a /* Public */,
72  8, 1, 50, 2, 0x0a /* Public */,
73  10, 0, 53, 2, 0x08 /* Private */,
74 
75  // signals: parameters
76  QMetaType::Void, 0x80000000 | 3, 2,
77  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 5, 4, 6,
78 
79  // slots: parameters
80  QMetaType::Void,
81  QMetaType::Void, QMetaType::QString, 9,
82  QMetaType::Void,
83 
84  0 // eod
85 };
86 
87 void PaymentServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
88 {
89  if (_c == QMetaObject::InvokeMetaMethod) {
90  PaymentServer *_t = static_cast<PaymentServer *>(_o);
91  Q_UNUSED(_t)
92  switch (_id) {
93  case 0: _t->receivedPaymentRequest((*reinterpret_cast< SendCoinsRecipient(*)>(_a[1]))); break;
94  case 1: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
95  case 2: _t->uiReady(); break;
96  case 3: _t->handleURIOrFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
97  case 4: _t->handleURIConnection(); break;
98  default: ;
99  }
100  } else if (_c == QMetaObject::IndexOfMethod) {
101  int *result = reinterpret_cast<int *>(_a[0]);
102  {
103  typedef void (PaymentServer::*_t)(SendCoinsRecipient );
104  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PaymentServer::receivedPaymentRequest)) {
105  *result = 0;
106  return;
107  }
108  }
109  {
110  typedef void (PaymentServer::*_t)(const QString & , const QString & , unsigned int );
111  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PaymentServer::message)) {
112  *result = 1;
113  return;
114  }
115  }
116  }
117 }
118 
119 const QMetaObject PaymentServer::staticMetaObject = {
120  { &QObject::staticMetaObject, qt_meta_stringdata_PaymentServer.data,
121  qt_meta_data_PaymentServer, qt_static_metacall, nullptr, nullptr}
122 };
123 
124 
125 const QMetaObject *PaymentServer::metaObject() const
126 {
127  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
128 }
129 
130 void *PaymentServer::qt_metacast(const char *_clname)
131 {
132  if (!_clname) return nullptr;
133  if (!strcmp(_clname, qt_meta_stringdata_PaymentServer.stringdata0))
134  return static_cast<void*>(this);
135  return QObject::qt_metacast(_clname);
136 }
137 
138 int PaymentServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
139 {
140  _id = QObject::qt_metacall(_c, _id, _a);
141  if (_id < 0)
142  return _id;
143  if (_c == QMetaObject::InvokeMetaMethod) {
144  if (_id < 5)
145  qt_static_metacall(this, _c, _id, _a);
146  _id -= 5;
147  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
148  if (_id < 5)
149  *reinterpret_cast<int*>(_a[0]) = -1;
150  _id -= 5;
151  }
152  return _id;
153 }
154 
155 // SIGNAL 0
157 {
158  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
159  QMetaObject::activate(this, &staticMetaObject, 0, _a);
160 }
161 
162 // SIGNAL 1
163 void PaymentServer::message(const QString & _t1, const QString & _t2, unsigned int _t3)
164 {
165  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
166  QMetaObject::activate(this, &staticMetaObject, 1, _a);
167 }
168 QT_WARNING_POP
169 QT_END_MOC_NAMESPACE
void message(const QString &title, const QString &message, unsigned int style)
void receivedPaymentRequest(SendCoinsRecipient)
void handleURIOrFile(const QString &s)
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_PaymentServer_t qt_meta_stringdata_PaymentServer
static const uint qt_meta_data_PaymentServer[]
void handleURIConnection()