1/****************************************************************************
2** Meta object code from reading C++ file 'qstatusbar.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/qstatusbar.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qstatusbar.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_QStatusBar_t {
25 const uint offsetsAndSize[16];
26 char stringdata0[81];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QStatusBar_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QStatusBar_t qt_meta_stringdata_QStatusBar = {
31 {
32QT_MOC_LITERAL(0, 10), // "QStatusBar"
33QT_MOC_LITERAL(11, 14), // "messageChanged"
34QT_MOC_LITERAL(26, 0), // ""
35QT_MOC_LITERAL(27, 4), // "text"
36QT_MOC_LITERAL(32, 11), // "showMessage"
37QT_MOC_LITERAL(44, 7), // "timeout"
38QT_MOC_LITERAL(52, 12), // "clearMessage"
39QT_MOC_LITERAL(65, 15) // "sizeGripEnabled"
40
41 },
42 "QStatusBar\0messageChanged\0\0text\0"
43 "showMessage\0timeout\0clearMessage\0"
44 "sizeGripEnabled"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_QStatusBar[] = {
49
50 // content:
51 9, // revision
52 0, // classname
53 0, 0, // classinfo
54 4, 14, // methods
55 1, 50, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 1, // signalCount
60
61 // signals: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 1, 38, 2, 0x06, 1 /* Public */,
63
64 // slots: name, argc, parameters, tag, flags, initial metatype offsets
65 4, 2, 41, 2, 0x0a, 3 /* Public */,
66 4, 1, 46, 2, 0x2a, 6 /* Public | MethodCloned */,
67 6, 0, 49, 2, 0x0a, 8 /* Public */,
68
69 // signals: parameters
70 QMetaType::Void, QMetaType::QString, 3,
71
72 // slots: parameters
73 QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 5,
74 QMetaType::Void, QMetaType::QString, 3,
75 QMetaType::Void,
76
77 // properties: name, type, flags
78 7, QMetaType::Bool, 0x00015103, uint(-1), 0,
79
80 0 // eod
81};
82
83void QStatusBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
84{
85 if (_c == QMetaObject::InvokeMetaMethod) {
86 Q_ASSERT(staticMetaObject.cast(_o));
87 auto *_t = static_cast<QStatusBar *>(_o);
88 Q_UNUSED(_t)
89 switch (_id) {
90 case 0: _t->messageChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
91 case 1: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
92 case 2: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
93 case 3: _t->clearMessage(); break;
94 default: ;
95 }
96 } else if (_c == QMetaObject::IndexOfMethod) {
97 int *result = reinterpret_cast<int *>(_a[0]);
98 {
99 using _t = void (QStatusBar::*)(const QString & );
100 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusBar::messageChanged)) {
101 *result = 0;
102 return;
103 }
104 }
105 }
106#ifndef QT_NO_PROPERTIES
107 else if (_c == QMetaObject::ReadProperty) {
108 Q_ASSERT(staticMetaObject.cast(_o));
109 auto *_t = static_cast<QStatusBar *>(_o);
110 Q_UNUSED(_t)
111 void *_v = _a[0];
112 switch (_id) {
113 case 0: *reinterpret_cast< bool*>(_v) = _t->isSizeGripEnabled(); break;
114 default: break;
115 }
116 } else if (_c == QMetaObject::WriteProperty) {
117 Q_ASSERT(staticMetaObject.cast(_o));
118 auto *_t = static_cast<QStatusBar *>(_o);
119 Q_UNUSED(_t)
120 void *_v = _a[0];
121 switch (_id) {
122 case 0: _t->setSizeGripEnabled(*reinterpret_cast< bool*>(_v)); break;
123 default: break;
124 }
125 } else if (_c == QMetaObject::ResetProperty) {
126 } else if (_c == QMetaObject::BindableProperty) {
127 }
128#endif // QT_NO_PROPERTIES
129}
130
131const QMetaObject QStatusBar::staticMetaObject = { {
132 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
133 qt_meta_stringdata_QStatusBar.offsetsAndSize,
134 qt_meta_data_QStatusBar,
135 qt_static_metacall,
136 nullptr,
137qt_incomplete_metaTypeArray<qt_meta_stringdata_QStatusBar_t
138, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
139, 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>
140
141
142>,
143 nullptr
144} };
145
146
147const QMetaObject *QStatusBar::metaObject() const
148{
149 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
150}
151
152void *QStatusBar::qt_metacast(const char *_clname)
153{
154 if (!_clname) return nullptr;
155 if (!strcmp(_clname, qt_meta_stringdata_QStatusBar.stringdata0))
156 return static_cast<void*>(this);
157 return QWidget::qt_metacast(_clname);
158}
159
160int QStatusBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
161{
162 _id = QWidget::qt_metacall(_c, _id, _a);
163 if (_id < 0)
164 return _id;
165 if (_c == QMetaObject::InvokeMetaMethod) {
166 if (_id < 4)
167 qt_static_metacall(this, _c, _id, _a);
168 _id -= 4;
169 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
170 if (_id < 4)
171 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
172 _id -= 4;
173 }
174#ifndef QT_NO_PROPERTIES
175 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
176 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
177 || _c == QMetaObject::RegisterPropertyMetaType) {
178 qt_static_metacall(this, _c, _id, _a);
179 _id -= 1;
180 }
181#endif // QT_NO_PROPERTIES
182 return _id;
183}
184
185// SIGNAL 0
186void QStatusBar::messageChanged(const QString & _t1)
187{
188 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
189 QMetaObject::activate(this, &staticMetaObject, 0, _a);
190}
191QT_WARNING_POP
192QT_END_MOC_NAMESPACE
193