Anoncoin  0.9.4
P2P Digital Currency
moc_transactiontablemodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'transactiontablemodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'transactiontablemodel.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.2.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[8];
22  char stringdata[116];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  offsetof(qt_meta_stringdata_TransactionTableModel_t, stringdata) + ofs \
27  - idx * sizeof(QByteArrayData) \
28  )
29 static const qt_meta_stringdata_TransactionTableModel_t qt_meta_stringdata_TransactionTableModel = {
30  {
31 QT_MOC_LITERAL(0, 0, 21),
32 QT_MOC_LITERAL(1, 22, 17),
33 QT_MOC_LITERAL(2, 40, 0),
34 QT_MOC_LITERAL(3, 41, 4),
35 QT_MOC_LITERAL(4, 46, 6),
36 QT_MOC_LITERAL(5, 53, 19),
37 QT_MOC_LITERAL(6, 73, 17),
38 QT_MOC_LITERAL(7, 91, 23)
39  },
40  "TransactionTableModel\0updateTransaction\0"
41  "\0hash\0status\0updateConfirmations\0"
42  "updateDisplayUnit\0updateAmountColumnTitle\0"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_TransactionTableModel[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  4, 14, // methods
53  0, 0, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  0, // signalCount
58 
59  // slots: name, argc, parameters, tag, flags
60  1, 2, 34, 2, 0x0a,
61  5, 0, 39, 2, 0x0a,
62  6, 0, 40, 2, 0x0a,
63  7, 0, 41, 2, 0x0a,
64 
65  // slots: parameters
66  QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 4,
67  QMetaType::Void,
68  QMetaType::Void,
69  QMetaType::Void,
70 
71  0 // eod
72 };
73 
74 void TransactionTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
75 {
76  if (_c == QMetaObject::InvokeMetaMethod) {
77  TransactionTableModel *_t = static_cast<TransactionTableModel *>(_o);
78  switch (_id) {
79  case 0: _t->updateTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
80  case 1: _t->updateConfirmations(); break;
81  case 2: _t->updateDisplayUnit(); break;
82  case 3: _t->updateAmountColumnTitle(); break;
83  default: ;
84  }
85  }
86 }
87 
88 const QMetaObject TransactionTableModel::staticMetaObject = {
89  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_TransactionTableModel.data,
90  qt_meta_data_TransactionTableModel, qt_static_metacall, 0, 0}
91 };
92 
93 
94 const QMetaObject *TransactionTableModel::metaObject() const
95 {
96  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
97 }
98 
99 void *TransactionTableModel::qt_metacast(const char *_clname)
100 {
101  if (!_clname) return 0;
102  if (!strcmp(_clname, qt_meta_stringdata_TransactionTableModel.stringdata))
103  return static_cast<void*>(const_cast< TransactionTableModel*>(this));
104  return QAbstractTableModel::qt_metacast(_clname);
105 }
106 
107 int TransactionTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108 {
109  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
110  if (_id < 0)
111  return _id;
112  if (_c == QMetaObject::InvokeMetaMethod) {
113  if (_id < 4)
114  qt_static_metacall(this, _c, _id, _a);
115  _id -= 4;
116  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117  if (_id < 4)
118  *reinterpret_cast<int*>(_a[0]) = -1;
119  _id -= 4;
120  }
121  return _id;
122 }
123 QT_END_MOC_NAMESPACE
void updateAmountColumnTitle()
Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table hea...
void updateTransaction(const QString &hash, int status)
UI model for the transaction table of a wallet.
#define QT_MOC_LITERAL(idx, ofs, len)