Fabcoin Core  0.16.2
P2P Digital Currency
moc_modaloverlay.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'modaloverlay.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/modaloverlay.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'modaloverlay.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.5.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[15];
22  char stringdata0[187];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  qptrdiff(offsetof(qt_meta_stringdata_ModalOverlay_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_ModalOverlay_t qt_meta_stringdata_ModalOverlay = {
30  {
31 QT_MOC_LITERAL(0, 0, 12), // "ModalOverlay"
32 QT_MOC_LITERAL(1, 13, 12), // "backupWallet"
33 QT_MOC_LITERAL(2, 26, 0), // ""
34 QT_MOC_LITERAL(3, 27, 9), // "tipUpdate"
35 QT_MOC_LITERAL(4, 37, 5), // "count"
36 QT_MOC_LITERAL(5, 43, 9), // "blockDate"
37 QT_MOC_LITERAL(6, 53, 21), // "nVerificationProgress"
38 QT_MOC_LITERAL(7, 75, 18), // "setKnownBestHeight"
39 QT_MOC_LITERAL(8, 94, 16), // "toggleVisibility"
40 QT_MOC_LITERAL(9, 111, 8), // "showHide"
41 QT_MOC_LITERAL(10, 120, 4), // "hide"
42 QT_MOC_LITERAL(11, 125, 13), // "userRequested"
43 QT_MOC_LITERAL(12, 139, 12), // "closeClicked"
44 QT_MOC_LITERAL(13, 152, 19), // "backupWalletClicked"
45 QT_MOC_LITERAL(14, 172, 14) // "isLayerVisible"
46 
47  },
48  "ModalOverlay\0backupWallet\0\0tipUpdate\0"
49  "count\0blockDate\0nVerificationProgress\0"
50  "setKnownBestHeight\0toggleVisibility\0"
51  "showHide\0hide\0userRequested\0closeClicked\0"
52  "backupWalletClicked\0isLayerVisible"
53 };
54 #undef QT_MOC_LITERAL
55 
56 static const uint qt_meta_data_ModalOverlay[] = {
57 
58  // content:
59  7, // revision
60  0, // classname
61  0, 0, // classinfo
62  10, 14, // methods
63  0, 0, // properties
64  0, 0, // enums/sets
65  0, 0, // constructors
66  0, // flags
67  1, // signalCount
68 
69  // signals: name, argc, parameters, tag, flags
70  1, 0, 64, 2, 0x06 /* Public */,
71 
72  // slots: name, argc, parameters, tag, flags
73  3, 3, 65, 2, 0x0a /* Public */,
74  7, 2, 72, 2, 0x0a /* Public */,
75  8, 0, 77, 2, 0x0a /* Public */,
76  9, 2, 78, 2, 0x0a /* Public */,
77  9, 1, 83, 2, 0x2a /* Public | MethodCloned */,
78  9, 0, 86, 2, 0x2a /* Public | MethodCloned */,
79  12, 0, 87, 2, 0x0a /* Public */,
80  13, 0, 88, 2, 0x0a /* Public */,
81  14, 0, 89, 2, 0x0a /* Public */,
82 
83  // signals: parameters
84  QMetaType::Void,
85 
86  // slots: parameters
87  QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, 4, 5, 6,
88  QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, 4, 5,
89  QMetaType::Void,
90  QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 10, 11,
91  QMetaType::Void, QMetaType::Bool, 10,
92  QMetaType::Void,
93  QMetaType::Void,
94  QMetaType::Void,
95  QMetaType::Bool,
96 
97  0 // eod
98 };
99 
100 void ModalOverlay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
101 {
102  if (_c == QMetaObject::InvokeMetaMethod) {
103  ModalOverlay *_t = static_cast<ModalOverlay *>(_o);
104  Q_UNUSED(_t)
105  switch (_id) {
106  case 0: _t->backupWallet(); break;
107  case 1: _t->tipUpdate((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
108  case 2: _t->setKnownBestHeight((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2]))); break;
109  case 3: _t->toggleVisibility(); break;
110  case 4: _t->showHide((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
111  case 5: _t->showHide((*reinterpret_cast< bool(*)>(_a[1]))); break;
112  case 6: _t->showHide(); break;
113  case 7: _t->closeClicked(); break;
114  case 8: _t->backupWalletClicked(); break;
115  case 9: { bool _r = _t->isLayerVisible();
116  if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
117  default: ;
118  }
119  } else if (_c == QMetaObject::IndexOfMethod) {
120  int *result = reinterpret_cast<int *>(_a[0]);
121  void **func = reinterpret_cast<void **>(_a[1]);
122  {
123  typedef void (ModalOverlay::*_t)();
124  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ModalOverlay::backupWallet)) {
125  *result = 0;
126  }
127  }
128  }
129 }
130 
131 const QMetaObject ModalOverlay::staticMetaObject = {
132  { &QWidget::staticMetaObject, qt_meta_stringdata_ModalOverlay.data,
133  qt_meta_data_ModalOverlay, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
134 };
135 
136 
137 const QMetaObject *ModalOverlay::metaObject() const
138 {
139  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
140 }
141 
142 void *ModalOverlay::qt_metacast(const char *_clname)
143 {
144  if (!_clname) return Q_NULLPTR;
145  if (!strcmp(_clname, qt_meta_stringdata_ModalOverlay.stringdata0))
146  return static_cast<void*>(const_cast< ModalOverlay*>(this));
147  return QWidget::qt_metacast(_clname);
148 }
149 
150 int ModalOverlay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
151 {
152  _id = QWidget::qt_metacall(_c, _id, _a);
153  if (_id < 0)
154  return _id;
155  if (_c == QMetaObject::InvokeMetaMethod) {
156  if (_id < 10)
157  qt_static_metacall(this, _c, _id, _a);
158  _id -= 10;
159  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
160  if (_id < 10)
161  *reinterpret_cast<int*>(_a[0]) = -1;
162  _id -= 10;
163  }
164  return _id;
165 }
166 
167 // SIGNAL 0
169 {
170  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
171 }
172 QT_END_MOC_NAMESPACE
void tipUpdate(int count, const QDateTime &blockDate, double nVerificationProgress)
uint32_t uint
Definition: libclwrapper.h:40
Modal overlay to display information about the chain-sync state.
Definition: modaloverlay.h:19
void backupWalletClicked()
#define QT_MOC_LITERAL(idx, ofs, len)
void setKnownBestHeight(int count, const QDateTime &blockDate)
void toggleVisibility()
void showHide(bool hide=false, bool userRequested=false)
bool isLayerVisible()
Definition: modaloverlay.h:42
void closeClicked()