Fabcoin Core  0.16.2
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 #include <QtCore/QList>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'paymentserver.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.5.1. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
22  QByteArrayData data[23];
23  char stringdata0[294];
24 };
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27  qptrdiff(offsetof(qt_meta_stringdata_PaymentServer_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_PaymentServer_t qt_meta_stringdata_PaymentServer = {
31  {
32 QT_MOC_LITERAL(0, 0, 13), // "PaymentServer"
33 QT_MOC_LITERAL(1, 14, 22), // "receivedPaymentRequest"
34 QT_MOC_LITERAL(2, 37, 0), // ""
35 QT_MOC_LITERAL(3, 38, 18), // "SendCoinsRecipient"
36 QT_MOC_LITERAL(4, 57, 18), // "receivedPaymentACK"
37 QT_MOC_LITERAL(5, 76, 13), // "paymentACKMsg"
38 QT_MOC_LITERAL(6, 90, 7), // "message"
39 QT_MOC_LITERAL(7, 98, 5), // "title"
40 QT_MOC_LITERAL(8, 104, 5), // "style"
41 QT_MOC_LITERAL(9, 110, 7), // "uiReady"
42 QT_MOC_LITERAL(10, 118, 15), // "fetchPaymentACK"
43 QT_MOC_LITERAL(11, 134, 8), // "CWallet*"
44 QT_MOC_LITERAL(12, 143, 6), // "wallet"
45 QT_MOC_LITERAL(13, 150, 9), // "recipient"
46 QT_MOC_LITERAL(14, 160, 11), // "transaction"
47 QT_MOC_LITERAL(15, 172, 15), // "handleURIOrFile"
48 QT_MOC_LITERAL(16, 188, 1), // "s"
49 QT_MOC_LITERAL(17, 190, 19), // "handleURIConnection"
50 QT_MOC_LITERAL(18, 210, 18), // "netRequestFinished"
51 QT_MOC_LITERAL(19, 229, 14), // "QNetworkReply*"
52 QT_MOC_LITERAL(20, 244, 15), // "reportSslErrors"
53 QT_MOC_LITERAL(21, 260, 16), // "QList<QSslError>"
54 QT_MOC_LITERAL(22, 277, 16) // "handlePaymentACK"
55 
56  },
57  "PaymentServer\0receivedPaymentRequest\0"
58  "\0SendCoinsRecipient\0receivedPaymentACK\0"
59  "paymentACKMsg\0message\0title\0style\0"
60  "uiReady\0fetchPaymentACK\0CWallet*\0"
61  "wallet\0recipient\0transaction\0"
62  "handleURIOrFile\0s\0handleURIConnection\0"
63  "netRequestFinished\0QNetworkReply*\0"
64  "reportSslErrors\0QList<QSslError>\0"
65  "handlePaymentACK"
66 };
67 #undef QT_MOC_LITERAL
68 
69 static const uint qt_meta_data_PaymentServer[] = {
70 
71  // content:
72  7, // revision
73  0, // classname
74  0, 0, // classinfo
75  10, 14, // methods
76  0, 0, // properties
77  0, 0, // enums/sets
78  0, 0, // constructors
79  0, // flags
80  3, // signalCount
81 
82  // signals: name, argc, parameters, tag, flags
83  1, 1, 64, 2, 0x06 /* Public */,
84  4, 1, 67, 2, 0x06 /* Public */,
85  6, 3, 70, 2, 0x06 /* Public */,
86 
87  // slots: name, argc, parameters, tag, flags
88  9, 0, 77, 2, 0x0a /* Public */,
89  10, 3, 78, 2, 0x0a /* Public */,
90  15, 1, 85, 2, 0x0a /* Public */,
91  17, 0, 88, 2, 0x08 /* Private */,
92  18, 1, 89, 2, 0x08 /* Private */,
93  20, 2, 92, 2, 0x08 /* Private */,
94  22, 1, 97, 2, 0x08 /* Private */,
95 
96  // signals: parameters
97  QMetaType::Void, 0x80000000 | 3, 2,
98  QMetaType::Void, QMetaType::QString, 5,
99  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 7, 6, 8,
100 
101  // slots: parameters
102  QMetaType::Void,
103  QMetaType::Void, 0x80000000 | 11, 0x80000000 | 3, QMetaType::QByteArray, 12, 13, 14,
104  QMetaType::Void, QMetaType::QString, 16,
105  QMetaType::Void,
106  QMetaType::Void, 0x80000000 | 19, 2,
107  QMetaType::Void, 0x80000000 | 19, 0x80000000 | 21, 2, 2,
108  QMetaType::Void, QMetaType::QString, 5,
109 
110  0 // eod
111 };
112 
113 void PaymentServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
114 {
115  if (_c == QMetaObject::InvokeMetaMethod) {
116  PaymentServer *_t = static_cast<PaymentServer *>(_o);
117  Q_UNUSED(_t)
118  switch (_id) {
119  case 0: _t->receivedPaymentRequest((*reinterpret_cast< SendCoinsRecipient(*)>(_a[1]))); break;
120  case 1: _t->receivedPaymentACK((*reinterpret_cast< const QString(*)>(_a[1]))); break;
121  case 2: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
122  case 3: _t->uiReady(); break;
123  case 4: _t->fetchPaymentACK((*reinterpret_cast< CWallet*(*)>(_a[1])),(*reinterpret_cast< SendCoinsRecipient(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3]))); break;
124  case 5: _t->handleURIOrFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
125  case 6: _t->handleURIConnection(); break;
126  case 7: _t->netRequestFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
127  case 8: _t->reportSslErrors((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const QList<QSslError>(*)>(_a[2]))); break;
128  case 9: _t->handlePaymentACK((*reinterpret_cast< const QString(*)>(_a[1]))); break;
129  default: ;
130  }
131  } else if (_c == QMetaObject::IndexOfMethod) {
132  int *result = reinterpret_cast<int *>(_a[0]);
133  void **func = reinterpret_cast<void **>(_a[1]);
134  {
135  typedef void (PaymentServer::*_t)(SendCoinsRecipient );
136  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PaymentServer::receivedPaymentRequest)) {
137  *result = 0;
138  }
139  }
140  {
141  typedef void (PaymentServer::*_t)(const QString & );
142  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PaymentServer::receivedPaymentACK)) {
143  *result = 1;
144  }
145  }
146  {
147  typedef void (PaymentServer::*_t)(const QString & , const QString & , unsigned int );
148  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PaymentServer::message)) {
149  *result = 2;
150  }
151  }
152  }
153 }
154 
155 const QMetaObject PaymentServer::staticMetaObject = {
156  { &QObject::staticMetaObject, qt_meta_stringdata_PaymentServer.data,
157  qt_meta_data_PaymentServer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
158 };
159 
160 
161 const QMetaObject *PaymentServer::metaObject() const
162 {
163  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
164 }
165 
166 void *PaymentServer::qt_metacast(const char *_clname)
167 {
168  if (!_clname) return Q_NULLPTR;
169  if (!strcmp(_clname, qt_meta_stringdata_PaymentServer.stringdata0))
170  return static_cast<void*>(const_cast< PaymentServer*>(this));
171  return QObject::qt_metacast(_clname);
172 }
173 
174 int PaymentServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
175 {
176  _id = QObject::qt_metacall(_c, _id, _a);
177  if (_id < 0)
178  return _id;
179  if (_c == QMetaObject::InvokeMetaMethod) {
180  if (_id < 10)
181  qt_static_metacall(this, _c, _id, _a);
182  _id -= 10;
183  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
184  if (_id < 10)
185  *reinterpret_cast<int*>(_a[0]) = -1;
186  _id -= 10;
187  }
188  return _id;
189 }
190 
191 // SIGNAL 0
193 {
194  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
195  QMetaObject::activate(this, &staticMetaObject, 0, _a);
196 }
197 
198 // SIGNAL 1
199 void PaymentServer::receivedPaymentACK(const QString & _t1)
200 {
201  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
202  QMetaObject::activate(this, &staticMetaObject, 1, _a);
203 }
204 
205 // SIGNAL 2
206 void PaymentServer::message(const QString & _t1, const QString & _t2, unsigned int _t3)
207 {
208  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)) };
209  QMetaObject::activate(this, &staticMetaObject, 2, _a);
210 }
211 QT_END_MOC_NAMESPACE
void message(const QString &title, const QString &message, unsigned int style)
void handlePaymentACK(const QString &paymentACKMsg)
void receivedPaymentACK(const QString &paymentACKMsg)
uint32_t uint
Definition: libclwrapper.h:40
void receivedPaymentRequest(SendCoinsRecipient)
void handleURIOrFile(const QString &s)
void netRequestFinished(QNetworkReply *)
#define QT_MOC_LITERAL(idx, ofs, len)
void reportSslErrors(QNetworkReply *, const QList< QSslError > &)
void fetchPaymentACK(CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction)
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:672
void handleURIConnection()