Bitcoin Core  0.21.0rc5
P2P Digital Currency
moc_transactionview.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'transactionview.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include <memory>
9 #include "qt/transactionview.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'transactionview.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.15.2. 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
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[34];
25  char stringdata0[388];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_TransactionView_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 15), // "TransactionView"
35 QT_MOC_LITERAL(1, 16, 13), // "doubleClicked"
36 QT_MOC_LITERAL(2, 30, 0), // ""
37 QT_MOC_LITERAL(3, 31, 11), // "QModelIndex"
38 QT_MOC_LITERAL(4, 43, 7), // "message"
39 QT_MOC_LITERAL(5, 51, 5), // "title"
40 QT_MOC_LITERAL(6, 57, 5), // "style"
41 QT_MOC_LITERAL(7, 63, 9), // "bumpedFee"
42 QT_MOC_LITERAL(8, 73, 7), // "uint256"
43 QT_MOC_LITERAL(9, 81, 4), // "txid"
44 QT_MOC_LITERAL(10, 86, 14), // "contextualMenu"
45 QT_MOC_LITERAL(11, 101, 16), // "dateRangeChanged"
46 QT_MOC_LITERAL(12, 118, 11), // "showDetails"
47 QT_MOC_LITERAL(13, 130, 11), // "copyAddress"
48 QT_MOC_LITERAL(14, 142, 9), // "editLabel"
49 QT_MOC_LITERAL(15, 152, 9), // "copyLabel"
50 QT_MOC_LITERAL(16, 162, 10), // "copyAmount"
51 QT_MOC_LITERAL(17, 173, 8), // "copyTxID"
52 QT_MOC_LITERAL(18, 182, 9), // "copyTxHex"
53 QT_MOC_LITERAL(19, 192, 15), // "copyTxPlainText"
54 QT_MOC_LITERAL(20, 208, 19), // "openThirdPartyTxUrl"
55 QT_MOC_LITERAL(21, 228, 3), // "url"
56 QT_MOC_LITERAL(22, 232, 21), // "updateWatchOnlyColumn"
57 QT_MOC_LITERAL(23, 254, 14), // "fHaveWatchOnly"
58 QT_MOC_LITERAL(24, 269, 9), // "abandonTx"
59 QT_MOC_LITERAL(25, 279, 7), // "bumpFee"
60 QT_MOC_LITERAL(26, 287, 10), // "chooseDate"
61 QT_MOC_LITERAL(27, 298, 3), // "idx"
62 QT_MOC_LITERAL(28, 302, 10), // "chooseType"
63 QT_MOC_LITERAL(29, 313, 15), // "chooseWatchonly"
64 QT_MOC_LITERAL(30, 329, 13), // "changedAmount"
65 QT_MOC_LITERAL(31, 343, 13), // "changedSearch"
66 QT_MOC_LITERAL(32, 357, 13), // "exportClicked"
67 QT_MOC_LITERAL(33, 371, 16) // "focusTransaction"
68 
69  },
70  "TransactionView\0doubleClicked\0\0"
71  "QModelIndex\0message\0title\0style\0"
72  "bumpedFee\0uint256\0txid\0contextualMenu\0"
73  "dateRangeChanged\0showDetails\0copyAddress\0"
74  "editLabel\0copyLabel\0copyAmount\0copyTxID\0"
75  "copyTxHex\0copyTxPlainText\0openThirdPartyTxUrl\0"
76  "url\0updateWatchOnlyColumn\0fHaveWatchOnly\0"
77  "abandonTx\0bumpFee\0chooseDate\0idx\0"
78  "chooseType\0chooseWatchonly\0changedAmount\0"
79  "changedSearch\0exportClicked\0"
80  "focusTransaction"
81 };
82 #undef QT_MOC_LITERAL
83 
84 static const uint qt_meta_data_TransactionView[] = {
85 
86  // content:
87  8, // revision
88  0, // classname
89  0, 0, // classinfo
90  25, 14, // methods
91  0, 0, // properties
92  0, 0, // enums/sets
93  0, 0, // constructors
94  0, // flags
95  3, // signalCount
96 
97  // signals: name, argc, parameters, tag, flags
98  1, 1, 139, 2, 0x06 /* Public */,
99  4, 3, 142, 2, 0x06 /* Public */,
100  7, 1, 149, 2, 0x06 /* Public */,
101 
102  // slots: name, argc, parameters, tag, flags
103  10, 1, 152, 2, 0x08 /* Private */,
104  11, 0, 155, 2, 0x08 /* Private */,
105  12, 0, 156, 2, 0x08 /* Private */,
106  13, 0, 157, 2, 0x08 /* Private */,
107  14, 0, 158, 2, 0x08 /* Private */,
108  15, 0, 159, 2, 0x08 /* Private */,
109  16, 0, 160, 2, 0x08 /* Private */,
110  17, 0, 161, 2, 0x08 /* Private */,
111  18, 0, 162, 2, 0x08 /* Private */,
112  19, 0, 163, 2, 0x08 /* Private */,
113  20, 1, 164, 2, 0x08 /* Private */,
114  22, 1, 167, 2, 0x08 /* Private */,
115  24, 0, 170, 2, 0x08 /* Private */,
116  25, 0, 171, 2, 0x08 /* Private */,
117  26, 1, 172, 2, 0x0a /* Public */,
118  28, 1, 175, 2, 0x0a /* Public */,
119  29, 1, 178, 2, 0x0a /* Public */,
120  30, 0, 181, 2, 0x0a /* Public */,
121  31, 0, 182, 2, 0x0a /* Public */,
122  32, 0, 183, 2, 0x0a /* Public */,
123  33, 1, 184, 2, 0x0a /* Public */,
124  33, 1, 187, 2, 0x0a /* Public */,
125 
126  // signals: parameters
127  QMetaType::Void, 0x80000000 | 3, 2,
128  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 5, 4, 6,
129  QMetaType::Void, 0x80000000 | 8, 9,
130 
131  // slots: parameters
132  QMetaType::Void, QMetaType::QPoint, 2,
133  QMetaType::Void,
134  QMetaType::Void,
135  QMetaType::Void,
136  QMetaType::Void,
137  QMetaType::Void,
138  QMetaType::Void,
139  QMetaType::Void,
140  QMetaType::Void,
141  QMetaType::Void,
142  QMetaType::Void, QMetaType::QString, 21,
143  QMetaType::Void, QMetaType::Bool, 23,
144  QMetaType::Void,
145  QMetaType::Void,
146  QMetaType::Void, QMetaType::Int, 27,
147  QMetaType::Void, QMetaType::Int, 27,
148  QMetaType::Void, QMetaType::Int, 27,
149  QMetaType::Void,
150  QMetaType::Void,
151  QMetaType::Void,
152  QMetaType::Void, 0x80000000 | 3, 2,
153  QMetaType::Void, 0x80000000 | 8, 9,
154 
155  0 // eod
156 };
157 
158 void TransactionView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
159 {
160  if (_c == QMetaObject::InvokeMetaMethod) {
161  auto *_t = static_cast<TransactionView *>(_o);
162  Q_UNUSED(_t)
163  switch (_id) {
164  case 0: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
165  case 1: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
166  case 2: _t->bumpedFee((*reinterpret_cast< const uint256(*)>(_a[1]))); break;
167  case 3: _t->contextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
168  case 4: _t->dateRangeChanged(); break;
169  case 5: _t->showDetails(); break;
170  case 6: _t->copyAddress(); break;
171  case 7: _t->editLabel(); break;
172  case 8: _t->copyLabel(); break;
173  case 9: _t->copyAmount(); break;
174  case 10: _t->copyTxID(); break;
175  case 11: _t->copyTxHex(); break;
176  case 12: _t->copyTxPlainText(); break;
177  case 13: _t->openThirdPartyTxUrl((*reinterpret_cast< QString(*)>(_a[1]))); break;
178  case 14: _t->updateWatchOnlyColumn((*reinterpret_cast< bool(*)>(_a[1]))); break;
179  case 15: _t->abandonTx(); break;
180  case 16: _t->bumpFee(); break;
181  case 17: _t->chooseDate((*reinterpret_cast< int(*)>(_a[1]))); break;
182  case 18: _t->chooseType((*reinterpret_cast< int(*)>(_a[1]))); break;
183  case 19: _t->chooseWatchonly((*reinterpret_cast< int(*)>(_a[1]))); break;
184  case 20: _t->changedAmount(); break;
185  case 21: _t->changedSearch(); break;
186  case 22: _t->exportClicked(); break;
187  case 23: _t->focusTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
188  case 24: _t->focusTransaction((*reinterpret_cast< const uint256(*)>(_a[1]))); break;
189  default: ;
190  }
191  } else if (_c == QMetaObject::IndexOfMethod) {
192  int *result = reinterpret_cast<int *>(_a[0]);
193  {
194  using _t = void (TransactionView::*)(const QModelIndex & );
195  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransactionView::doubleClicked)) {
196  *result = 0;
197  return;
198  }
199  }
200  {
201  using _t = void (TransactionView::*)(const QString & , const QString & , unsigned int );
202  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransactionView::message)) {
203  *result = 1;
204  return;
205  }
206  }
207  {
208  using _t = void (TransactionView::*)(const uint256 & );
209  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransactionView::bumpedFee)) {
210  *result = 2;
211  return;
212  }
213  }
214  }
215 }
216 
217 QT_INIT_METAOBJECT const QMetaObject TransactionView::staticMetaObject = { {
218  QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
221  qt_static_metacall,
222  nullptr,
223  nullptr
224 } };
225 
226 
227 const QMetaObject *TransactionView::metaObject() const
228 {
229  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
230 }
231 
232 void *TransactionView::qt_metacast(const char *_clname)
233 {
234  if (!_clname) return nullptr;
235  if (!strcmp(_clname, qt_meta_stringdata_TransactionView.stringdata0))
236  return static_cast<void*>(this);
237  return QWidget::qt_metacast(_clname);
238 }
239 
240 int TransactionView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
241 {
242  _id = QWidget::qt_metacall(_c, _id, _a);
243  if (_id < 0)
244  return _id;
245  if (_c == QMetaObject::InvokeMetaMethod) {
246  if (_id < 25)
247  qt_static_metacall(this, _c, _id, _a);
248  _id -= 25;
249  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
250  if (_id < 25)
251  *reinterpret_cast<int*>(_a[0]) = -1;
252  _id -= 25;
253  }
254  return _id;
255 }
256 
257 // SIGNAL 0
258 void TransactionView::doubleClicked(const QModelIndex & _t1)
259 {
260  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
261  QMetaObject::activate(this, &staticMetaObject, 0, _a);
262 }
263 
264 // SIGNAL 1
265 void TransactionView::message(const QString & _t1, const QString & _t2, unsigned int _t3)
266 {
267  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
268  QMetaObject::activate(this, &staticMetaObject, 1, _a);
269 }
270 
271 // SIGNAL 2
273 {
274  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
275  QMetaObject::activate(this, &staticMetaObject, 2, _a);
276 }
277 QT_WARNING_POP
278 QT_END_MOC_NAMESPACE
Widget showing the transaction list for a wallet, including a filter row.
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void bumpedFee(const uint256 &txid)
void doubleClicked(const QModelIndex &)
256-bit opaque blob.
Definition: uint256.h:124
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_TransactionView_t qt_meta_stringdata_TransactionView
static const uint qt_meta_data_TransactionView[]