Anoncoin  0.9.4
P2P Digital Currency
moc_overviewpage.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'overviewpage.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/overviewpage.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'overviewpage.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[17];
22  char stringdata[252];
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_OverviewPage_t, stringdata) + ofs \
27  - idx * sizeof(QByteArrayData) \
28  )
29 static const qt_meta_stringdata_OverviewPage_t qt_meta_stringdata_OverviewPage = {
30  {
31 QT_MOC_LITERAL(0, 0, 12),
32 QT_MOC_LITERAL(1, 13, 18),
33 QT_MOC_LITERAL(2, 32, 0),
34 QT_MOC_LITERAL(3, 33, 5),
35 QT_MOC_LITERAL(4, 39, 10),
36 QT_MOC_LITERAL(5, 50, 7),
37 QT_MOC_LITERAL(6, 58, 18),
38 QT_MOC_LITERAL(7, 77, 15),
39 QT_MOC_LITERAL(8, 93, 16),
40 QT_MOC_LITERAL(9, 110, 18),
41 QT_MOC_LITERAL(10, 129, 20),
42 QT_MOC_LITERAL(11, 150, 17),
43 QT_MOC_LITERAL(12, 168, 24),
44 QT_MOC_LITERAL(13, 193, 12),
45 QT_MOC_LITERAL(14, 206, 8),
46 QT_MOC_LITERAL(15, 215, 21),
47 QT_MOC_LITERAL(16, 237, 13)
48  },
49  "OverviewPage\0transactionClicked\0\0index\0"
50  "setBalance\0balance\0unconfirmedBalance\0"
51  "immatureBalance\0watchOnlyBalance\0"
52  "watchUnconfBalance\0watchImmatureBalance\0"
53  "updateDisplayUnit\0handleTransactionClicked\0"
54  "updateAlerts\0warnings\0updateWatchOnlyLabels\0"
55  "showWatchOnly\0"
56 };
57 #undef QT_MOC_LITERAL
58 
59 static const uint qt_meta_data_OverviewPage[] = {
60 
61  // content:
62  7, // revision
63  0, // classname
64  0, 0, // classinfo
65  6, 14, // methods
66  0, 0, // properties
67  0, 0, // enums/sets
68  0, 0, // constructors
69  0, // flags
70  1, // signalCount
71 
72  // signals: name, argc, parameters, tag, flags
73  1, 1, 44, 2, 0x06,
74 
75  // slots: name, argc, parameters, tag, flags
76  4, 6, 47, 2, 0x0a,
77  11, 0, 60, 2, 0x08,
78  12, 1, 61, 2, 0x08,
79  13, 1, 64, 2, 0x08,
80  15, 1, 67, 2, 0x08,
81 
82  // signals: parameters
83  QMetaType::Void, QMetaType::QModelIndex, 3,
84 
85  // slots: parameters
86  QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, 5, 6, 7, 8, 9, 10,
87  QMetaType::Void,
88  QMetaType::Void, QMetaType::QModelIndex, 3,
89  QMetaType::Void, QMetaType::QString, 14,
90  QMetaType::Void, QMetaType::Bool, 16,
91 
92  0 // eod
93 };
94 
95 void OverviewPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
96 {
97  if (_c == QMetaObject::InvokeMetaMethod) {
98  OverviewPage *_t = static_cast<OverviewPage *>(_o);
99  switch (_id) {
100  case 0: _t->transactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
101  case 1: _t->setBalance((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< qint64(*)>(_a[3])),(*reinterpret_cast< qint64(*)>(_a[4])),(*reinterpret_cast< qint64(*)>(_a[5])),(*reinterpret_cast< qint64(*)>(_a[6]))); break;
102  case 2: _t->updateDisplayUnit(); break;
103  case 3: _t->handleTransactionClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
104  case 4: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
105  case 5: _t->updateWatchOnlyLabels((*reinterpret_cast< bool(*)>(_a[1]))); break;
106  default: ;
107  }
108  } else if (_c == QMetaObject::IndexOfMethod) {
109  int *result = reinterpret_cast<int *>(_a[0]);
110  void **func = reinterpret_cast<void **>(_a[1]);
111  {
112  typedef void (OverviewPage::*_t)(const QModelIndex & );
113  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OverviewPage::transactionClicked)) {
114  *result = 0;
115  }
116  }
117  }
118 }
119 
120 const QMetaObject OverviewPage::staticMetaObject = {
121  { &QWidget::staticMetaObject, qt_meta_stringdata_OverviewPage.data,
122  qt_meta_data_OverviewPage, qt_static_metacall, 0, 0}
123 };
124 
125 
126 const QMetaObject *OverviewPage::metaObject() const
127 {
128  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
129 }
130 
131 void *OverviewPage::qt_metacast(const char *_clname)
132 {
133  if (!_clname) return 0;
134  if (!strcmp(_clname, qt_meta_stringdata_OverviewPage.stringdata))
135  return static_cast<void*>(const_cast< OverviewPage*>(this));
136  return QWidget::qt_metacast(_clname);
137 }
138 
139 int OverviewPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
140 {
141  _id = QWidget::qt_metacall(_c, _id, _a);
142  if (_id < 0)
143  return _id;
144  if (_c == QMetaObject::InvokeMetaMethod) {
145  if (_id < 6)
146  qt_static_metacall(this, _c, _id, _a);
147  _id -= 6;
148  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
149  if (_id < 6)
150  *reinterpret_cast<int*>(_a[0]) = -1;
151  _id -= 6;
152  }
153  return _id;
154 }
155 
156 // SIGNAL 0
157 void OverviewPage::transactionClicked(const QModelIndex & _t1)
158 {
159  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
160  QMetaObject::activate(this, &staticMetaObject, 0, _a);
161 }
162 QT_END_MOC_NAMESPACE
void updateAlerts(const QString &warnings)
void handleTransactionClicked(const QModelIndex &index)
#define QT_MOC_LITERAL(idx, ofs, len)
void updateWatchOnlyLabels(bool showWatchOnly)
void setBalance(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance, qint64 watchOnlyBalance, qint64 watchUnconfBalance, qint64 watchImmatureBalance)
void transactionClicked(const QModelIndex &index)
void updateDisplayUnit()
Overview ("home") page widget.
Definition: overviewpage.h:25