Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc_walletmodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'walletmodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "walletmodel.h"
9 #if !defined(Q_MOC_OUTPUT_REVISION)
10 #error "The header file 'walletmodel.h' doesn't include <QObject>."
11 #elif Q_MOC_OUTPUT_REVISION != 63
12 #error "This file was generated using the moc from 4.8.6. It"
13 #error "cannot be used with the include files from this version of Qt."
14 #error "(The moc has changed too much.)"
15 #endif
16 
17 QT_BEGIN_MOC_NAMESPACE
18 static const uint qt_meta_data_WalletModel[] = {
19 
20  // content:
21  6, // revision
22  0, // classname
23  0, 0, // classinfo
24  11, 14, // methods
25  0, 0, // properties
26  0, 0, // enums/sets
27  0, 0, // constructors
28  0, // flags
29  7, // signalCount
30 
31  // signals: signature, parameters, type, tag, flags
32  56, 13, 12, 12, 0x05,
33  99, 93, 12, 12, 0x05,
34  134, 127, 12, 12, 0x05,
35  163, 12, 12, 12, 0x05,
36  199, 179, 12, 12, 0x05,
37  258, 229, 12, 12, 0x05,
38  324, 308, 12, 12, 0x05,
39 
40  // slots: signature, parameters, type, tag, flags
41  350, 12, 12, 12, 0x0a,
42  377, 365, 12, 12, 0x0a,
43  444, 408, 12, 12, 0x0a,
44  496, 12, 12, 12, 0x0a,
45 
46  0 // eod
47 };
48 
49 static const char qt_meta_stringdata_WalletModel[] = {
50  "WalletModel\0\0balance,unconfirmedBalance,immatureBalance\0"
51  "balanceChanged(qint64,qint64,qint64)\0"
52  "count\0numTransactionsChanged(int)\0"
53  "status\0encryptionStatusChanged(int)\0"
54  "requireUnlock()\0title,message,style\0"
55  "message(QString,QString,uint)\0"
56  "wallet,recipient,transaction\0"
57  "coinsSent(CWallet*,SendCoinsRecipient,QByteArray)\0"
58  "title,nProgress\0showProgress(QString,int)\0"
59  "updateStatus()\0hash,status\0"
60  "updateTransaction(QString,int)\0"
61  "address,label,isMine,purpose,status\0"
62  "updateAddressBook(QString,QString,bool,QString,int)\0"
63  "pollBalanceChanged()\0"
64 };
65 
66 void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67 {
68  if (_c == QMetaObject::InvokeMetaMethod) {
69  Q_ASSERT(staticMetaObject.cast(_o));
70  WalletModel *_t = static_cast<WalletModel *>(_o);
71  switch (_id) {
72  case 0: _t->balanceChanged((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< qint64(*)>(_a[3]))); break;
73  case 1: _t->numTransactionsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
74  case 2: _t->encryptionStatusChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
75  case 3: _t->requireUnlock(); break;
76  case 4: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
77  case 5: _t->coinsSent((*reinterpret_cast< CWallet*(*)>(_a[1])),(*reinterpret_cast< SendCoinsRecipient(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3]))); break;
78  case 6: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
79  case 7: _t->updateStatus(); break;
80  case 8: _t->updateTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
81  case 9: _t->updateAddressBook((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
82  case 10: _t->pollBalanceChanged(); break;
83  default: ;
84  }
85  }
86 }
87 
88 const QMetaObjectExtraData WalletModel::staticMetaObjectExtraData = {
89  0, qt_static_metacall
90 };
91 
92 const QMetaObject WalletModel::staticMetaObject = {
93  { &QObject::staticMetaObject, qt_meta_stringdata_WalletModel,
94  qt_meta_data_WalletModel, &staticMetaObjectExtraData }
95 };
96 
97 #ifdef Q_NO_DATA_RELOCATION
98 const QMetaObject &WalletModel::getStaticMetaObject() { return staticMetaObject; }
99 #endif //Q_NO_DATA_RELOCATION
100 
101 const QMetaObject *WalletModel::metaObject() const
102 {
103  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
104 }
105 
106 void *WalletModel::qt_metacast(const char *_clname)
107 {
108  if (!_clname) return 0;
109  if (!strcmp(_clname, qt_meta_stringdata_WalletModel))
110  return static_cast<void*>(const_cast< WalletModel*>(this));
111  return QObject::qt_metacast(_clname);
112 }
113 
114 int WalletModel::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 < 11)
121  qt_static_metacall(this, _c, _id, _a);
122  _id -= 11;
123  }
124  return _id;
125 }
126 
127 // SIGNAL 0
128 void WalletModel::balanceChanged(qint64 _t1, qint64 _t2, qint64 _t3)
129 {
130  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)) };
131  QMetaObject::activate(this, &staticMetaObject, 0, _a);
132 }
133 
134 // SIGNAL 1
136 {
137  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
138  QMetaObject::activate(this, &staticMetaObject, 1, _a);
139 }
140 
141 // SIGNAL 2
143 {
144  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
145  QMetaObject::activate(this, &staticMetaObject, 2, _a);
146 }
147 
148 // SIGNAL 3
150 {
151  QMetaObject::activate(this, &staticMetaObject, 3, 0);
152 }
153 
154 // SIGNAL 4
155 void WalletModel::message(const QString & _t1, const QString & _t2, unsigned int _t3)
156 {
157  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)) };
158  QMetaObject::activate(this, &staticMetaObject, 4, _a);
159 }
160 
161 // SIGNAL 5
162 void WalletModel::coinsSent(CWallet * _t1, SendCoinsRecipient _t2, QByteArray _t3)
163 {
164  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)) };
165  QMetaObject::activate(this, &staticMetaObject, 5, _a);
166 }
167 
168 // SIGNAL 6
169 void WalletModel::showProgress(const QString & _t1, int _t2)
170 {
171  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
172  QMetaObject::activate(this, &staticMetaObject, 6, _a);
173 }
174 QT_END_MOC_NAMESPACE
void showProgress(const QString &title, int nProgress)
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_WalletModel[]
void balanceChanged(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance)
void numTransactionsChanged(int count)
static const char qt_meta_stringdata_WalletModel[]
void encryptionStatusChanged(int status)
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:96
void message(const QString &title, const QString &message, unsigned int style)
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:100
void coinsSent(CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction)