Fabcoin Core  0.16.2
P2P Digital Currency
moc_splashscreen.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'splashscreen.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/splashscreen.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'splashscreen.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[12];
22  char stringdata0[126];
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_SplashScreen_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_SplashScreen_t qt_meta_stringdata_SplashScreen = {
30  {
31 QT_MOC_LITERAL(0, 0, 12), // "SplashScreen"
32 QT_MOC_LITERAL(1, 13, 10), // "slotFinish"
33 QT_MOC_LITERAL(2, 24, 0), // ""
34 QT_MOC_LITERAL(3, 25, 8), // "QWidget*"
35 QT_MOC_LITERAL(4, 34, 7), // "mainWin"
36 QT_MOC_LITERAL(5, 42, 11), // "showMessage"
37 QT_MOC_LITERAL(6, 54, 7), // "message"
38 QT_MOC_LITERAL(7, 62, 9), // "alignment"
39 QT_MOC_LITERAL(8, 72, 5), // "color"
40 QT_MOC_LITERAL(9, 78, 14), // "setBreakAction"
41 QT_MOC_LITERAL(10, 93, 25), // "std::function<void(void)>"
42 QT_MOC_LITERAL(11, 119, 6) // "action"
43 
44  },
45  "SplashScreen\0slotFinish\0\0QWidget*\0"
46  "mainWin\0showMessage\0message\0alignment\0"
47  "color\0setBreakAction\0std::function<void(void)>\0"
48  "action"
49 };
50 #undef QT_MOC_LITERAL
51 
52 static const uint qt_meta_data_SplashScreen[] = {
53 
54  // content:
55  7, // revision
56  0, // classname
57  0, 0, // classinfo
58  3, 14, // methods
59  0, 0, // properties
60  0, 0, // enums/sets
61  0, 0, // constructors
62  0, // flags
63  0, // signalCount
64 
65  // slots: name, argc, parameters, tag, flags
66  1, 1, 29, 2, 0x0a /* Public */,
67  5, 3, 32, 2, 0x0a /* Public */,
68  9, 1, 39, 2, 0x0a /* Public */,
69 
70  // slots: parameters
71  QMetaType::Void, 0x80000000 | 3, 4,
72  QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QColor, 6, 7, 8,
73  QMetaType::Void, 0x80000000 | 10, 11,
74 
75  0 // eod
76 };
77 
78 void SplashScreen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79 {
80  if (_c == QMetaObject::InvokeMetaMethod) {
81  SplashScreen *_t = static_cast<SplashScreen *>(_o);
82  Q_UNUSED(_t)
83  switch (_id) {
84  case 0: _t->slotFinish((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
85  case 1: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QColor(*)>(_a[3]))); break;
86  case 2: _t->setBreakAction((*reinterpret_cast< const std::function<void(void)>(*)>(_a[1]))); break;
87  default: ;
88  }
89  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
90  switch (_id) {
91  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
92  case 0:
93  switch (*reinterpret_cast<int*>(_a[1])) {
94  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
95  case 0:
96  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
97  }
98  break;
99  }
100  }
101 }
102 
103 const QMetaObject SplashScreen::staticMetaObject = {
104  { &QWidget::staticMetaObject, qt_meta_stringdata_SplashScreen.data,
105  qt_meta_data_SplashScreen, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
106 };
107 
108 
109 const QMetaObject *SplashScreen::metaObject() const
110 {
111  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112 }
113 
114 void *SplashScreen::qt_metacast(const char *_clname)
115 {
116  if (!_clname) return Q_NULLPTR;
117  if (!strcmp(_clname, qt_meta_stringdata_SplashScreen.stringdata0))
118  return static_cast<void*>(const_cast< SplashScreen*>(this));
119  return QWidget::qt_metacast(_clname);
120 }
121 
122 int SplashScreen::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
123 {
124  _id = QWidget::qt_metacall(_c, _id, _a);
125  if (_id < 0)
126  return _id;
127  if (_c == QMetaObject::InvokeMetaMethod) {
128  if (_id < 3)
129  qt_static_metacall(this, _c, _id, _a);
130  _id -= 3;
131  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
132  if (_id < 3)
133  qt_static_metacall(this, _c, _id, _a);
134  _id -= 3;
135  }
136  return _id;
137 }
138 QT_END_MOC_NAMESPACE
Class for the splashscreen with information of the running client.
Definition: splashscreen.h:20
uint32_t uint
Definition: libclwrapper.h:40
void showMessage(const QString &message, int alignment, const QColor &color)
Show message and progress.
void slotFinish(QWidget *mainWin)
Slot to call finish() method as it&#39;s not defined as slot.
#define QT_MOC_LITERAL(idx, ofs, len)
void setBreakAction(const std::function< void(void)> &action)
Sets the break action.