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