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.)" 19 QT_BEGIN_MOC_NAMESPACE
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)) \ 45 "SplashScreen\0slotFinish\0\0QWidget*\0" 46 "mainWin\0showMessage\0message\0alignment\0" 47 "color\0setBreakAction\0std::function<void(void)>\0" 52 static const uint qt_meta_data_SplashScreen[] = {
71 QMetaType::Void, 0x80000000 | 3, 4,
72 QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QColor, 6, 7, 8,
73 QMetaType::Void, 0x80000000 | 10, 11,
78 void SplashScreen::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
80 if (_c == QMetaObject::InvokeMetaMethod) {
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;
89 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
91 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
93 switch (*reinterpret_cast<int*>(_a[1])) {
94 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
96 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QWidget* >();
break;
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}
109 const QMetaObject *SplashScreen::metaObject()
const 111 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
114 void *SplashScreen::qt_metacast(
const char *_clname)
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);
122 int SplashScreen::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
124 _id = QWidget::qt_metacall(_c, _id, _a);
127 if (_c == QMetaObject::InvokeMetaMethod) {
129 qt_static_metacall(
this, _c, _id, _a);
131 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 qt_static_metacall(
this, _c, _id, _a);
Class for the splashscreen with information of the running client.
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's not defined as slot.
#define QT_MOC_LITERAL(idx, ofs, len)
void setBreakAction(const std::function< void(void)> &action)
Sets the break action.