1/****************************************************************************
2** Meta object code from reading C++ file 'qprogressdialog.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 "dialogs/qprogressdialog.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qprogressdialog.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_QProgressDialog_t {
25 const uint offsetsAndSize[50];
26 char stringdata0[259];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QProgressDialog_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QProgressDialog_t qt_meta_stringdata_QProgressDialog = {
31 {
32QT_MOC_LITERAL(0, 15), // "QProgressDialog"
33QT_MOC_LITERAL(16, 8), // "canceled"
34QT_MOC_LITERAL(25, 0), // ""
35QT_MOC_LITERAL(26, 6), // "cancel"
36QT_MOC_LITERAL(33, 5), // "reset"
37QT_MOC_LITERAL(39, 10), // "setMaximum"
38QT_MOC_LITERAL(50, 7), // "maximum"
39QT_MOC_LITERAL(58, 10), // "setMinimum"
40QT_MOC_LITERAL(69, 7), // "minimum"
41QT_MOC_LITERAL(77, 8), // "setRange"
42QT_MOC_LITERAL(86, 8), // "setValue"
43QT_MOC_LITERAL(95, 8), // "progress"
44QT_MOC_LITERAL(104, 12), // "setLabelText"
45QT_MOC_LITERAL(117, 4), // "text"
46QT_MOC_LITERAL(122, 19), // "setCancelButtonText"
47QT_MOC_LITERAL(142, 18), // "setMinimumDuration"
48QT_MOC_LITERAL(161, 2), // "ms"
49QT_MOC_LITERAL(164, 9), // "forceShow"
50QT_MOC_LITERAL(174, 20), // "_q_disconnectOnClose"
51QT_MOC_LITERAL(195, 11), // "wasCanceled"
52QT_MOC_LITERAL(207, 5), // "value"
53QT_MOC_LITERAL(213, 9), // "autoReset"
54QT_MOC_LITERAL(223, 9), // "autoClose"
55QT_MOC_LITERAL(233, 15), // "minimumDuration"
56QT_MOC_LITERAL(249, 9) // "labelText"
57
58 },
59 "QProgressDialog\0canceled\0\0cancel\0reset\0"
60 "setMaximum\0maximum\0setMinimum\0minimum\0"
61 "setRange\0setValue\0progress\0setLabelText\0"
62 "text\0setCancelButtonText\0setMinimumDuration\0"
63 "ms\0forceShow\0_q_disconnectOnClose\0"
64 "wasCanceled\0value\0autoReset\0autoClose\0"
65 "minimumDuration\0labelText"
66};
67#undef QT_MOC_LITERAL
68
69static const uint qt_meta_data_QProgressDialog[] = {
70
71 // content:
72 9, // revision
73 0, // classname
74 0, 0, // classinfo
75 12, 14, // methods
76 8, 114, // properties
77 0, 0, // enums/sets
78 0, 0, // constructors
79 0, // flags
80 1, // signalCount
81
82 // signals: name, argc, parameters, tag, flags, initial metatype offsets
83 1, 0, 86, 2, 0x06, 8 /* Public */,
84
85 // slots: name, argc, parameters, tag, flags, initial metatype offsets
86 3, 0, 87, 2, 0x0a, 9 /* Public */,
87 4, 0, 88, 2, 0x0a, 10 /* Public */,
88 5, 1, 89, 2, 0x0a, 11 /* Public */,
89 7, 1, 92, 2, 0x0a, 13 /* Public */,
90 9, 2, 95, 2, 0x0a, 15 /* Public */,
91 10, 1, 100, 2, 0x0a, 18 /* Public */,
92 12, 1, 103, 2, 0x0a, 20 /* Public */,
93 14, 1, 106, 2, 0x0a, 22 /* Public */,
94 15, 1, 109, 2, 0x0a, 24 /* Public */,
95 17, 0, 112, 2, 0x09, 26 /* Protected */,
96 18, 0, 113, 2, 0x08, 27 /* Private */,
97
98 // signals: parameters
99 QMetaType::Void,
100
101 // slots: parameters
102 QMetaType::Void,
103 QMetaType::Void,
104 QMetaType::Void, QMetaType::Int, 6,
105 QMetaType::Void, QMetaType::Int, 8,
106 QMetaType::Void, QMetaType::Int, QMetaType::Int, 8, 6,
107 QMetaType::Void, QMetaType::Int, 11,
108 QMetaType::Void, QMetaType::QString, 13,
109 QMetaType::Void, QMetaType::QString, 13,
110 QMetaType::Void, QMetaType::Int, 16,
111 QMetaType::Void,
112 QMetaType::Void,
113
114 // properties: name, type, flags
115 19, QMetaType::Bool, 0x00015001, uint(-1), 0,
116 8, QMetaType::Int, 0x00015103, uint(-1), 0,
117 6, QMetaType::Int, 0x00015103, uint(-1), 0,
118 20, QMetaType::Int, 0x00015103, uint(-1), 0,
119 21, QMetaType::Bool, 0x00015103, uint(-1), 0,
120 22, QMetaType::Bool, 0x00015103, uint(-1), 0,
121 23, QMetaType::Int, 0x00015103, uint(-1), 0,
122 24, QMetaType::QString, 0x00015103, uint(-1), 0,
123
124 0 // eod
125};
126
127void QProgressDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
128{
129 if (_c == QMetaObject::InvokeMetaMethod) {
130 Q_ASSERT(staticMetaObject.cast(_o));
131 auto *_t = static_cast<QProgressDialog *>(_o);
132 Q_UNUSED(_t)
133 switch (_id) {
134 case 0: _t->canceled(); break;
135 case 1: _t->cancel(); break;
136 case 2: _t->reset(); break;
137 case 3: _t->setMaximum((*reinterpret_cast< int(*)>(_a[1]))); break;
138 case 4: _t->setMinimum((*reinterpret_cast< int(*)>(_a[1]))); break;
139 case 5: _t->setRange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
140 case 6: _t->setValue((*reinterpret_cast< int(*)>(_a[1]))); break;
141 case 7: _t->setLabelText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
142 case 8: _t->setCancelButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
143 case 9: _t->setMinimumDuration((*reinterpret_cast< int(*)>(_a[1]))); break;
144 case 10: _t->forceShow(); break;
145 case 11: _t->d_func()->_q_disconnectOnClose(); break;
146 default: ;
147 }
148 } else if (_c == QMetaObject::IndexOfMethod) {
149 int *result = reinterpret_cast<int *>(_a[0]);
150 {
151 using _t = void (QProgressDialog::*)();
152 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QProgressDialog::canceled)) {
153 *result = 0;
154 return;
155 }
156 }
157 }
158#ifndef QT_NO_PROPERTIES
159 else if (_c == QMetaObject::ReadProperty) {
160 Q_ASSERT(staticMetaObject.cast(_o));
161 auto *_t = static_cast<QProgressDialog *>(_o);
162 Q_UNUSED(_t)
163 void *_v = _a[0];
164 switch (_id) {
165 case 0: *reinterpret_cast< bool*>(_v) = _t->wasCanceled(); break;
166 case 1: *reinterpret_cast< int*>(_v) = _t->minimum(); break;
167 case 2: *reinterpret_cast< int*>(_v) = _t->maximum(); break;
168 case 3: *reinterpret_cast< int*>(_v) = _t->value(); break;
169 case 4: *reinterpret_cast< bool*>(_v) = _t->autoReset(); break;
170 case 5: *reinterpret_cast< bool*>(_v) = _t->autoClose(); break;
171 case 6: *reinterpret_cast< int*>(_v) = _t->minimumDuration(); break;
172 case 7: *reinterpret_cast< QString*>(_v) = _t->labelText(); break;
173 default: break;
174 }
175 } else if (_c == QMetaObject::WriteProperty) {
176 Q_ASSERT(staticMetaObject.cast(_o));
177 auto *_t = static_cast<QProgressDialog *>(_o);
178 Q_UNUSED(_t)
179 void *_v = _a[0];
180 switch (_id) {
181 case 1: _t->setMinimum(*reinterpret_cast< int*>(_v)); break;
182 case 2: _t->setMaximum(*reinterpret_cast< int*>(_v)); break;
183 case 3: _t->setValue(*reinterpret_cast< int*>(_v)); break;
184 case 4: _t->setAutoReset(*reinterpret_cast< bool*>(_v)); break;
185 case 5: _t->setAutoClose(*reinterpret_cast< bool*>(_v)); break;
186 case 6: _t->setMinimumDuration(*reinterpret_cast< int*>(_v)); break;
187 case 7: _t->setLabelText(*reinterpret_cast< QString*>(_v)); break;
188 default: break;
189 }
190 } else if (_c == QMetaObject::ResetProperty) {
191 } else if (_c == QMetaObject::BindableProperty) {
192 }
193#endif // QT_NO_PROPERTIES
194}
195
196const QMetaObject QProgressDialog::staticMetaObject = { {
197 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
198 qt_meta_stringdata_QProgressDialog.offsetsAndSize,
199 qt_meta_data_QProgressDialog,
200 qt_static_metacall,
201 nullptr,
202qt_incomplete_metaTypeArray<qt_meta_stringdata_QProgressDialog_t
203, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
204, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, 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>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
205
206
207>,
208 nullptr
209} };
210
211
212const QMetaObject *QProgressDialog::metaObject() const
213{
214 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
215}
216
217void *QProgressDialog::qt_metacast(const char *_clname)
218{
219 if (!_clname) return nullptr;
220 if (!strcmp(_clname, qt_meta_stringdata_QProgressDialog.stringdata0))
221 return static_cast<void*>(this);
222 return QDialog::qt_metacast(_clname);
223}
224
225int QProgressDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
226{
227 _id = QDialog::qt_metacall(_c, _id, _a);
228 if (_id < 0)
229 return _id;
230 if (_c == QMetaObject::InvokeMetaMethod) {
231 if (_id < 12)
232 qt_static_metacall(this, _c, _id, _a);
233 _id -= 12;
234 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
235 if (_id < 12)
236 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
237 _id -= 12;
238 }
239#ifndef QT_NO_PROPERTIES
240 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
241 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
242 || _c == QMetaObject::RegisterPropertyMetaType) {
243 qt_static_metacall(this, _c, _id, _a);
244 _id -= 8;
245 }
246#endif // QT_NO_PROPERTIES
247 return _id;
248}
249
250// SIGNAL 0
251void QProgressDialog::canceled()
252{
253 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
254}
255QT_WARNING_POP
256QT_END_MOC_NAMESPACE
257