Dash Core  0.12.2.1
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[14];
22  char stringdata0[166];
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  )
30  {
31 QT_MOC_LITERAL(0, 0, 12), // "ModalOverlay"
32 QT_MOC_LITERAL(1, 13, 9), // "tipUpdate"
33 QT_MOC_LITERAL(2, 23, 0), // ""
34 QT_MOC_LITERAL(3, 24, 5), // "count"
35 QT_MOC_LITERAL(4, 30, 9), // "blockDate"
36 QT_MOC_LITERAL(5, 40, 21), // "nVerificationProgress"
37 QT_MOC_LITERAL(6, 62, 18), // "setKnownBestHeight"
38 QT_MOC_LITERAL(7, 81, 16), // "toggleVisibility"
39 QT_MOC_LITERAL(8, 98, 8), // "showHide"
40 QT_MOC_LITERAL(9, 107, 4), // "hide"
41 QT_MOC_LITERAL(10, 112, 13), // "userRequested"
42 QT_MOC_LITERAL(11, 126, 12), // "closeClicked"
43 QT_MOC_LITERAL(12, 139, 11), // "hideForever"
44 QT_MOC_LITERAL(13, 151, 14) // "isLayerVisible"
45 
46  },
47  "ModalOverlay\0tipUpdate\0\0count\0blockDate\0"
48  "nVerificationProgress\0setKnownBestHeight\0"
49  "toggleVisibility\0showHide\0hide\0"
50  "userRequested\0closeClicked\0hideForever\0"
51  "isLayerVisible"
52 };
53 #undef QT_MOC_LITERAL
54 
55 static const uint qt_meta_data_ModalOverlay[] = {
56 
57  // content:
58  7, // revision
59  0, // classname
60  0, 0, // classinfo
61  9, 14, // methods
62  0, 0, // properties
63  0, 0, // enums/sets
64  0, 0, // constructors
65  0, // flags
66  0, // signalCount
67 
68  // slots: name, argc, parameters, tag, flags
69  1, 3, 59, 2, 0x0a /* Public */,
70  6, 2, 66, 2, 0x0a /* Public */,
71  7, 0, 71, 2, 0x0a /* Public */,
72  8, 2, 72, 2, 0x0a /* Public */,
73  8, 1, 77, 2, 0x2a /* Public | MethodCloned */,
74  8, 0, 80, 2, 0x2a /* Public | MethodCloned */,
75  11, 0, 81, 2, 0x0a /* Public */,
76  12, 0, 82, 2, 0x0a /* Public */,
77  13, 0, 83, 2, 0x0a /* Public */,
78 
79  // slots: parameters
80  QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, 3, 4, 5,
81  QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, 3, 4,
82  QMetaType::Void,
83  QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 9, 10,
84  QMetaType::Void, QMetaType::Bool, 9,
85  QMetaType::Void,
86  QMetaType::Void,
87  QMetaType::Void,
88  QMetaType::Bool,
89 
90  0 // eod
91 };
92 
93 void ModalOverlay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
94 {
95  if (_c == QMetaObject::InvokeMetaMethod) {
96  ModalOverlay *_t = static_cast<ModalOverlay *>(_o);
97  Q_UNUSED(_t)
98  switch (_id) {
99  case 0: _t->tipUpdate((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
100  case 1: _t->setKnownBestHeight((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2]))); break;
101  case 2: _t->toggleVisibility(); break;
102  case 3: _t->showHide((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
103  case 4: _t->showHide((*reinterpret_cast< bool(*)>(_a[1]))); break;
104  case 5: _t->showHide(); break;
105  case 6: _t->closeClicked(); break;
106  case 7: _t->hideForever(); break;
107  case 8: { bool _r = _t->isLayerVisible();
108  if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
109  default: ;
110  }
111  }
112 }
113 
114 const QMetaObject ModalOverlay::staticMetaObject = {
115  { &QWidget::staticMetaObject, qt_meta_stringdata_ModalOverlay.data,
116  qt_meta_data_ModalOverlay, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
117 };
118 
119 
120 const QMetaObject *ModalOverlay::metaObject() const
121 {
122  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123 }
124 
125 void *ModalOverlay::qt_metacast(const char *_clname)
126 {
127  if (!_clname) return Q_NULLPTR;
128  if (!strcmp(_clname, qt_meta_stringdata_ModalOverlay.stringdata0))
129  return static_cast<void*>(const_cast< ModalOverlay*>(this));
130  return QWidget::qt_metacast(_clname);
131 }
132 
133 int ModalOverlay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
134 {
135  _id = QWidget::qt_metacall(_c, _id, _a);
136  if (_id < 0)
137  return _id;
138  if (_c == QMetaObject::InvokeMetaMethod) {
139  if (_id < 9)
140  qt_static_metacall(this, _c, _id, _a);
141  _id -= 9;
142  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143  if (_id < 9)
144  *reinterpret_cast<int*>(_a[0]) = -1;
145  _id -= 9;
146  }
147  return _id;
148 }
149 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_ModalOverlay[]
void hideForever()
void setKnownBestHeight(int count, const QDateTime &blockDate)
static const qt_meta_stringdata_ModalOverlay_t qt_meta_stringdata_ModalOverlay
void toggleVisibility()
void closeClicked()
#define QT_MOC_LITERAL(idx, ofs, len)
void showHide(bool hide=false, bool userRequested=false)
bool isLayerVisible()
Definition: modaloverlay.h:36
void tipUpdate(int count, const QDateTime &blockDate, double nVerificationProgress)