1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qsplashscreen.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "widgets/qsplashscreen.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qsplashscreen.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QSplashScreen_t { |
25 | const uint offsetsAndSize[16]; |
26 | char stringdata0[79]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QSplashScreen_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QSplashScreen_t qt_meta_stringdata_QSplashScreen = { |
31 | { |
32 | QT_MOC_LITERAL(0, 13), // "QSplashScreen" |
33 | QT_MOC_LITERAL(14, 14), // "messageChanged" |
34 | QT_MOC_LITERAL(29, 0), // "" |
35 | QT_MOC_LITERAL(30, 7), // "message" |
36 | QT_MOC_LITERAL(38, 11), // "showMessage" |
37 | QT_MOC_LITERAL(50, 9), // "alignment" |
38 | QT_MOC_LITERAL(60, 5), // "color" |
39 | QT_MOC_LITERAL(66, 12) // "clearMessage" |
40 | |
41 | }, |
42 | "QSplashScreen\0messageChanged\0\0message\0" |
43 | "showMessage\0alignment\0color\0clearMessage" |
44 | }; |
45 | #undef QT_MOC_LITERAL |
46 | |
47 | static const uint qt_meta_data_QSplashScreen[] = { |
48 | |
49 | // content: |
50 | 9, // revision |
51 | 0, // classname |
52 | 0, 0, // classinfo |
53 | 5, 14, // methods |
54 | 0, 0, // properties |
55 | 0, 0, // enums/sets |
56 | 0, 0, // constructors |
57 | 0, // flags |
58 | 1, // signalCount |
59 | |
60 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
61 | 1, 1, 44, 2, 0x06, 0 /* Public */, |
62 | |
63 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
64 | 4, 3, 47, 2, 0x0a, 2 /* Public */, |
65 | 4, 2, 54, 2, 0x2a, 6 /* Public | MethodCloned */, |
66 | 4, 1, 59, 2, 0x2a, 9 /* Public | MethodCloned */, |
67 | 7, 0, 62, 2, 0x0a, 11 /* Public */, |
68 | |
69 | // signals: parameters |
70 | QMetaType::Void, QMetaType::QString, 3, |
71 | |
72 | // slots: parameters |
73 | QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QColor, 3, 5, 6, |
74 | QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 5, |
75 | QMetaType::Void, QMetaType::QString, 3, |
76 | QMetaType::Void, |
77 | |
78 | 0 // eod |
79 | }; |
80 | |
81 | void QSplashScreen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
82 | { |
83 | if (_c == QMetaObject::InvokeMetaMethod) { |
84 | Q_ASSERT(staticMetaObject.cast(_o)); |
85 | auto *_t = static_cast<QSplashScreen *>(_o); |
86 | Q_UNUSED(_t) |
87 | switch (_id) { |
88 | case 0: _t->messageChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
89 | case 1: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QColor(*)>(_a[3]))); break; |
90 | case 2: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
91 | case 3: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
92 | case 4: _t->clearMessage(); break; |
93 | default: ; |
94 | } |
95 | } else if (_c == QMetaObject::IndexOfMethod) { |
96 | int *result = reinterpret_cast<int *>(_a[0]); |
97 | { |
98 | using _t = void (QSplashScreen::*)(const QString & ); |
99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSplashScreen::messageChanged)) { |
100 | *result = 0; |
101 | return; |
102 | } |
103 | } |
104 | } |
105 | } |
106 | |
107 | const QMetaObject QSplashScreen::staticMetaObject = { { |
108 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
109 | qt_meta_stringdata_QSplashScreen.offsetsAndSize, |
110 | qt_meta_data_QSplashScreen, |
111 | qt_static_metacall, |
112 | nullptr, |
113 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QSplashScreen_t |
114 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> |
115 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
116 | |
117 | |
118 | >, |
119 | nullptr |
120 | } }; |
121 | |
122 | |
123 | const QMetaObject *QSplashScreen::metaObject() const |
124 | { |
125 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
126 | } |
127 | |
128 | void *QSplashScreen::qt_metacast(const char *_clname) |
129 | { |
130 | if (!_clname) return nullptr; |
131 | if (!strcmp(_clname, qt_meta_stringdata_QSplashScreen.stringdata0)) |
132 | return static_cast<void*>(this); |
133 | return QWidget::qt_metacast(_clname); |
134 | } |
135 | |
136 | int QSplashScreen::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
137 | { |
138 | _id = QWidget::qt_metacall(_c, _id, _a); |
139 | if (_id < 0) |
140 | return _id; |
141 | if (_c == QMetaObject::InvokeMetaMethod) { |
142 | if (_id < 5) |
143 | qt_static_metacall(this, _c, _id, _a); |
144 | _id -= 5; |
145 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
146 | if (_id < 5) |
147 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
148 | _id -= 5; |
149 | } |
150 | return _id; |
151 | } |
152 | |
153 | // SIGNAL 0 |
154 | void QSplashScreen::messageChanged(const QString & _t1) |
155 | { |
156 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
157 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
158 | } |
159 | QT_WARNING_POP |
160 | QT_END_MOC_NAMESPACE |
161 | |