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.6.1. 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
21  QByteArrayData data[11];
22  char stringdata0[123];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  qptrdiff(offsetof(qt_meta_stringdata_PaymentServer_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
30  {
31 QT_MOC_LITERAL(0, 0, 13), // "PaymentServer"
32 QT_MOC_LITERAL(1, 14, 22), // "receivedPaymentRequest"
33 QT_MOC_LITERAL(2, 37, 0), // ""
34 QT_MOC_LITERAL(3, 38, 18), // "SendCoinsRecipient"
35 QT_MOC_LITERAL(4, 57, 7), // "message"
36 QT_MOC_LITERAL(5, 65, 5), // "title"
37 QT_MOC_LITERAL(6, 71, 5), // "style"
38 QT_MOC_LITERAL(7, 77, 7), // "uiReady"
39 QT_MOC_LITERAL(8, 85, 15), // "handleURIOrFile"
40 QT_MOC_LITERAL(9, 101, 1), // "s"
41 QT_MOC_LITERAL(10, 103, 19) // "handleURIConnection"
42 
43  },
44  "PaymentServer\0receivedPaymentRequest\0"
45  "\0SendCoinsRecipient\0message\0title\0"
46  "style\0uiReady\0handleURIOrFile\0s\0"
47  "handleURIConnection"
48 };
49 #undef QT_MOC_LITERAL
50 
51 static const uint qt_meta_data_PaymentServer[] = {
52 
53  // content:
54  7, // revision
55  0, // classname
56  0, 0, // classinfo
57  5, 14, // methods
58  0, 0, // properties
59  0, 0, // enums/sets
60  0, 0, // constructors
61  0, // flags
62  2, // signalCount
63 
64  // signals: name, argc, parameters, tag, flags
65  1, 1, 39, 2, 0x06 /* Public */,
66  4, 3, 42, 2, 0x06 /* Public */,
67 
68  // slots: name, argc, parameters, tag, flags
69  7, 0, 49, 2, 0x0a /* Public */,
70  8, 1, 50, 2, 0x0a /* Public */,
71  10, 0, 53, 2, 0x08 /* Private */,
72 
73  // signals: parameters
74  QMetaType::Void, 0x80000000 | 3, 2,
75  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 5, 4, 6,
76 
77  // slots: parameters
78  QMetaType::Void,
79  QMetaType::Void, QMetaType::QString, 9,
80  QMetaType::Void,
81 
82  0 // eod
83 };
84 
85 void PaymentServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
86 {
87  if (_c == QMetaObject::InvokeMetaMethod) {
88  PaymentServer *_t = static_cast<PaymentServer *>(_o);
89  Q_UNUSED(_t)
90  switch (_id) {
91  case 0: _t->receivedPaymentRequest((*reinterpret_cast< SendCoinsRecipient(*)>(_a[1]))); break;
92  case 1: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
93  case 2: _t->uiReady(); break;
94  case 3: _t->handleURIOrFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
95  case 4: _t->handleURIConnection(); break;
96  default: ;
97  }
98  } else if (_c == QMetaObject::IndexOfMethod) {
99  int *result = reinterpret_cast<int *>(_a[0]);
100  void **func = reinterpret_cast<void **>(_a[1]);
101  {
102  typedef void (PaymentServer::*_t)(SendCoinsRecipient );
103  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PaymentServer::receivedPaymentRequest)) {
104  *result = 0;
105  return;
106  }
107  }
108  {
109  typedef void (PaymentServer::*_t)(const QString & , const QString & , unsigned int );
110  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PaymentServer::message)) {
111  *result = 1;
112  return;
113  }
114  }
115  }
116 }
117 
118 const QMetaObject PaymentServer::staticMetaObject = {
119  { &QObject::staticMetaObject, qt_meta_stringdata_PaymentServer.data,
120  qt_meta_data_PaymentServer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
121 };
122 
123 
124 const QMetaObject *PaymentServer::metaObject() const
125 {
126  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
127 }
128 
129 void *PaymentServer::qt_metacast(const char *_clname)
130 {
131  if (!_clname) return Q_NULLPTR;
132  if (!strcmp(_clname, qt_meta_stringdata_PaymentServer.stringdata0))
133  return static_cast<void*>(const_cast< PaymentServer*>(this));
134  return QObject::qt_metacast(_clname);
135 }
136 
137 int PaymentServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
138 {
139  _id = QObject::qt_metacall(_c, _id, _a);
140  if (_id < 0)
141  return _id;
142  if (_c == QMetaObject::InvokeMetaMethod) {
143  if (_id < 5)
144  qt_static_metacall(this, _c, _id, _a);
145  _id -= 5;
146  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
147  if (_id < 5)
148  *reinterpret_cast<int*>(_a[0]) = -1;
149  _id -= 5;
150  }
151  return _id;
152 }
153 
154 // SIGNAL 0
156 {
157  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
158  QMetaObject::activate(this, &staticMetaObject, 0, _a);
159 }
160 
161 // SIGNAL 1
162 void PaymentServer::message(const QString & _t1, const QString & _t2, unsigned int _t3)
163 {
164  void *_a[] = { Q_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)) };
165  QMetaObject::activate(this, &staticMetaObject, 1, _a);
166 }
167 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()