| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qwizard.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/qwizard.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'qwizard.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_QWizard_t { |
| 25 | const uint offsetsAndSize[94]; |
| 26 | char stringdata0[708]; |
| 27 | }; |
| 28 | #define QT_MOC_LITERAL(ofs, len) \ |
| 29 | uint(offsetof(qt_meta_stringdata_QWizard_t, stringdata0) + ofs), len |
| 30 | static const qt_meta_stringdata_QWizard_t qt_meta_stringdata_QWizard = { |
| 31 | { |
| 32 | QT_MOC_LITERAL(0, 7), // "QWizard" |
| 33 | QT_MOC_LITERAL(8, 16), // "currentIdChanged" |
| 34 | QT_MOC_LITERAL(25, 0), // "" |
| 35 | QT_MOC_LITERAL(26, 2), // "id" |
| 36 | QT_MOC_LITERAL(29, 13), // "helpRequested" |
| 37 | QT_MOC_LITERAL(43, 19), // "customButtonClicked" |
| 38 | QT_MOC_LITERAL(63, 5), // "which" |
| 39 | QT_MOC_LITERAL(69, 9), // "pageAdded" |
| 40 | QT_MOC_LITERAL(79, 11), // "pageRemoved" |
| 41 | QT_MOC_LITERAL(91, 4), // "back" |
| 42 | QT_MOC_LITERAL(96, 4), // "next" |
| 43 | QT_MOC_LITERAL(101, 7), // "restart" |
| 44 | QT_MOC_LITERAL(109, 26), // "_q_emitCustomButtonClicked" |
| 45 | QT_MOC_LITERAL(136, 21), // "_q_updateButtonStates" |
| 46 | QT_MOC_LITERAL(158, 29), // "_q_handleFieldObjectDestroyed" |
| 47 | QT_MOC_LITERAL(188, 11), // "wizardStyle" |
| 48 | QT_MOC_LITERAL(200, 11), // "WizardStyle" |
| 49 | QT_MOC_LITERAL(212, 7), // "options" |
| 50 | QT_MOC_LITERAL(220, 13), // "WizardOptions" |
| 51 | QT_MOC_LITERAL(234, 11), // "titleFormat" |
| 52 | QT_MOC_LITERAL(246, 14), // "Qt::TextFormat" |
| 53 | QT_MOC_LITERAL(261, 14), // "subTitleFormat" |
| 54 | QT_MOC_LITERAL(276, 7), // "startId" |
| 55 | QT_MOC_LITERAL(284, 9), // "currentId" |
| 56 | QT_MOC_LITERAL(294, 12), // "ClassicStyle" |
| 57 | QT_MOC_LITERAL(307, 11), // "ModernStyle" |
| 58 | QT_MOC_LITERAL(319, 8), // "MacStyle" |
| 59 | QT_MOC_LITERAL(328, 9), // "AeroStyle" |
| 60 | QT_MOC_LITERAL(338, 7), // "NStyles" |
| 61 | QT_MOC_LITERAL(346, 12), // "WizardOption" |
| 62 | QT_MOC_LITERAL(359, 16), // "IndependentPages" |
| 63 | QT_MOC_LITERAL(376, 15), // "IgnoreSubTitles" |
| 64 | QT_MOC_LITERAL(392, 23), // "ExtendedWatermarkPixmap" |
| 65 | QT_MOC_LITERAL(416, 15), // "NoDefaultButton" |
| 66 | QT_MOC_LITERAL(432, 23), // "NoBackButtonOnStartPage" |
| 67 | QT_MOC_LITERAL(456, 22), // "NoBackButtonOnLastPage" |
| 68 | QT_MOC_LITERAL(479, 28), // "DisabledBackButtonOnLastPage" |
| 69 | QT_MOC_LITERAL(508, 24), // "HaveNextButtonOnLastPage" |
| 70 | QT_MOC_LITERAL(533, 28), // "HaveFinishButtonOnEarlyPages" |
| 71 | QT_MOC_LITERAL(562, 14), // "NoCancelButton" |
| 72 | QT_MOC_LITERAL(577, 18), // "CancelButtonOnLeft" |
| 73 | QT_MOC_LITERAL(596, 14), // "HaveHelpButton" |
| 74 | QT_MOC_LITERAL(611, 17), // "HelpButtonOnRight" |
| 75 | QT_MOC_LITERAL(629, 17), // "HaveCustomButton1" |
| 76 | QT_MOC_LITERAL(647, 17), // "HaveCustomButton2" |
| 77 | QT_MOC_LITERAL(665, 17), // "HaveCustomButton3" |
| 78 | QT_MOC_LITERAL(683, 24) // "NoCancelButtonOnLastPage" |
| 79 | |
| 80 | }, |
| 81 | "QWizard\0currentIdChanged\0\0id\0helpRequested\0" |
| 82 | "customButtonClicked\0which\0pageAdded\0" |
| 83 | "pageRemoved\0back\0next\0restart\0" |
| 84 | "_q_emitCustomButtonClicked\0" |
| 85 | "_q_updateButtonStates\0" |
| 86 | "_q_handleFieldObjectDestroyed\0wizardStyle\0" |
| 87 | "WizardStyle\0options\0WizardOptions\0" |
| 88 | "titleFormat\0Qt::TextFormat\0subTitleFormat\0" |
| 89 | "startId\0currentId\0ClassicStyle\0" |
| 90 | "ModernStyle\0MacStyle\0AeroStyle\0NStyles\0" |
| 91 | "WizardOption\0IndependentPages\0" |
| 92 | "IgnoreSubTitles\0ExtendedWatermarkPixmap\0" |
| 93 | "NoDefaultButton\0NoBackButtonOnStartPage\0" |
| 94 | "NoBackButtonOnLastPage\0" |
| 95 | "DisabledBackButtonOnLastPage\0" |
| 96 | "HaveNextButtonOnLastPage\0" |
| 97 | "HaveFinishButtonOnEarlyPages\0" |
| 98 | "NoCancelButton\0CancelButtonOnLeft\0" |
| 99 | "HaveHelpButton\0HelpButtonOnRight\0" |
| 100 | "HaveCustomButton1\0HaveCustomButton2\0" |
| 101 | "HaveCustomButton3\0NoCancelButtonOnLastPage" |
| 102 | }; |
| 103 | #undef QT_MOC_LITERAL |
| 104 | |
| 105 | static const uint qt_meta_data_QWizard[] = { |
| 106 | |
| 107 | // content: |
| 108 | 9, // revision |
| 109 | 0, // classname |
| 110 | 0, 0, // classinfo |
| 111 | 11, 14, // methods |
| 112 | 6, 101, // properties |
| 113 | 3, 131, // enums/sets |
| 114 | 0, 0, // constructors |
| 115 | 0, // flags |
| 116 | 5, // signalCount |
| 117 | |
| 118 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 119 | 1, 1, 80, 2, 0x06, 6 /* Public */, |
| 120 | 4, 0, 83, 2, 0x06, 8 /* Public */, |
| 121 | 5, 1, 84, 2, 0x06, 9 /* Public */, |
| 122 | 7, 1, 87, 2, 0x06, 11 /* Public */, |
| 123 | 8, 1, 90, 2, 0x06, 13 /* Public */, |
| 124 | |
| 125 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 126 | 9, 0, 93, 2, 0x0a, 15 /* Public */, |
| 127 | 10, 0, 94, 2, 0x0a, 16 /* Public */, |
| 128 | 11, 0, 95, 2, 0x0a, 17 /* Public */, |
| 129 | 12, 0, 96, 2, 0x08, 18 /* Private */, |
| 130 | 13, 0, 97, 2, 0x08, 19 /* Private */, |
| 131 | 14, 1, 98, 2, 0x08, 20 /* Private */, |
| 132 | |
| 133 | // signals: parameters |
| 134 | QMetaType::Void, QMetaType::Int, 3, |
| 135 | QMetaType::Void, |
| 136 | QMetaType::Void, QMetaType::Int, 6, |
| 137 | QMetaType::Void, QMetaType::Int, 3, |
| 138 | QMetaType::Void, QMetaType::Int, 3, |
| 139 | |
| 140 | // slots: parameters |
| 141 | QMetaType::Void, |
| 142 | QMetaType::Void, |
| 143 | QMetaType::Void, |
| 144 | QMetaType::Void, |
| 145 | QMetaType::Void, |
| 146 | QMetaType::Void, QMetaType::QObjectStar, 2, |
| 147 | |
| 148 | // properties: name, type, flags |
| 149 | 15, 0x80000000 | 16, 0x0001510b, uint(-1), 0, |
| 150 | 17, 0x80000000 | 18, 0x0001510b, uint(-1), 0, |
| 151 | 19, 0x80000000 | 20, 0x0001510b, uint(-1), 0, |
| 152 | 21, 0x80000000 | 20, 0x0001510b, uint(-1), 0, |
| 153 | 22, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 154 | 23, QMetaType::Int, 0x00015001, uint(0), 0, |
| 155 | |
| 156 | // enums: name, alias, flags, count, data |
| 157 | 16, 16, 0x0, 5, 146, |
| 158 | 29, 29, 0x0, 17, 156, |
| 159 | 18, 29, 0x1, 17, 190, |
| 160 | |
| 161 | // enum data: key, value |
| 162 | 24, uint(QWizard::ClassicStyle), |
| 163 | 25, uint(QWizard::ModernStyle), |
| 164 | 26, uint(QWizard::MacStyle), |
| 165 | 27, uint(QWizard::AeroStyle), |
| 166 | 28, uint(QWizard::NStyles), |
| 167 | 30, uint(QWizard::IndependentPages), |
| 168 | 31, uint(QWizard::IgnoreSubTitles), |
| 169 | 32, uint(QWizard::ExtendedWatermarkPixmap), |
| 170 | 33, uint(QWizard::NoDefaultButton), |
| 171 | 34, uint(QWizard::NoBackButtonOnStartPage), |
| 172 | 35, uint(QWizard::NoBackButtonOnLastPage), |
| 173 | 36, uint(QWizard::DisabledBackButtonOnLastPage), |
| 174 | 37, uint(QWizard::HaveNextButtonOnLastPage), |
| 175 | 38, uint(QWizard::HaveFinishButtonOnEarlyPages), |
| 176 | 39, uint(QWizard::NoCancelButton), |
| 177 | 40, uint(QWizard::CancelButtonOnLeft), |
| 178 | 41, uint(QWizard::HaveHelpButton), |
| 179 | 42, uint(QWizard::HelpButtonOnRight), |
| 180 | 43, uint(QWizard::HaveCustomButton1), |
| 181 | 44, uint(QWizard::HaveCustomButton2), |
| 182 | 45, uint(QWizard::HaveCustomButton3), |
| 183 | 46, uint(QWizard::NoCancelButtonOnLastPage), |
| 184 | 30, uint(QWizard::IndependentPages), |
| 185 | 31, uint(QWizard::IgnoreSubTitles), |
| 186 | 32, uint(QWizard::ExtendedWatermarkPixmap), |
| 187 | 33, uint(QWizard::NoDefaultButton), |
| 188 | 34, uint(QWizard::NoBackButtonOnStartPage), |
| 189 | 35, uint(QWizard::NoBackButtonOnLastPage), |
| 190 | 36, uint(QWizard::DisabledBackButtonOnLastPage), |
| 191 | 37, uint(QWizard::HaveNextButtonOnLastPage), |
| 192 | 38, uint(QWizard::HaveFinishButtonOnEarlyPages), |
| 193 | 39, uint(QWizard::NoCancelButton), |
| 194 | 40, uint(QWizard::CancelButtonOnLeft), |
| 195 | 41, uint(QWizard::HaveHelpButton), |
| 196 | 42, uint(QWizard::HelpButtonOnRight), |
| 197 | 43, uint(QWizard::HaveCustomButton1), |
| 198 | 44, uint(QWizard::HaveCustomButton2), |
| 199 | 45, uint(QWizard::HaveCustomButton3), |
| 200 | 46, uint(QWizard::NoCancelButtonOnLastPage), |
| 201 | |
| 202 | 0 // eod |
| 203 | }; |
| 204 | |
| 205 | void QWizard::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 206 | { |
| 207 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 208 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 209 | auto *_t = static_cast<QWizard *>(_o); |
| 210 | Q_UNUSED(_t) |
| 211 | switch (_id) { |
| 212 | case 0: _t->currentIdChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 213 | case 1: _t->helpRequested(); break; |
| 214 | case 2: _t->customButtonClicked((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 215 | case 3: _t->pageAdded((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 216 | case 4: _t->pageRemoved((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 217 | case 5: _t->back(); break; |
| 218 | case 6: _t->next(); break; |
| 219 | case 7: _t->restart(); break; |
| 220 | case 8: _t->d_func()->_q_emitCustomButtonClicked(); break; |
| 221 | case 9: _t->d_func()->_q_updateButtonStates(); break; |
| 222 | case 10: _t->d_func()->_q_handleFieldObjectDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break; |
| 223 | default: ; |
| 224 | } |
| 225 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 226 | int *result = reinterpret_cast<int *>(_a[0]); |
| 227 | { |
| 228 | using _t = void (QWizard::*)(int ); |
| 229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::currentIdChanged)) { |
| 230 | *result = 0; |
| 231 | return; |
| 232 | } |
| 233 | } |
| 234 | { |
| 235 | using _t = void (QWizard::*)(); |
| 236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::helpRequested)) { |
| 237 | *result = 1; |
| 238 | return; |
| 239 | } |
| 240 | } |
| 241 | { |
| 242 | using _t = void (QWizard::*)(int ); |
| 243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::customButtonClicked)) { |
| 244 | *result = 2; |
| 245 | return; |
| 246 | } |
| 247 | } |
| 248 | { |
| 249 | using _t = void (QWizard::*)(int ); |
| 250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::pageAdded)) { |
| 251 | *result = 3; |
| 252 | return; |
| 253 | } |
| 254 | } |
| 255 | { |
| 256 | using _t = void (QWizard::*)(int ); |
| 257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::pageRemoved)) { |
| 258 | *result = 4; |
| 259 | return; |
| 260 | } |
| 261 | } |
| 262 | } |
| 263 | #ifndef QT_NO_PROPERTIES |
| 264 | else if (_c == QMetaObject::ReadProperty) { |
| 265 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 266 | auto *_t = static_cast<QWizard *>(_o); |
| 267 | Q_UNUSED(_t) |
| 268 | void *_v = _a[0]; |
| 269 | switch (_id) { |
| 270 | case 0: *reinterpret_cast< WizardStyle*>(_v) = _t->wizardStyle(); break; |
| 271 | case 1: *reinterpret_cast<int*>(_v) = QFlag(_t->options()); break; |
| 272 | case 2: *reinterpret_cast< Qt::TextFormat*>(_v) = _t->titleFormat(); break; |
| 273 | case 3: *reinterpret_cast< Qt::TextFormat*>(_v) = _t->subTitleFormat(); break; |
| 274 | case 4: *reinterpret_cast< int*>(_v) = _t->startId(); break; |
| 275 | case 5: *reinterpret_cast< int*>(_v) = _t->currentId(); break; |
| 276 | default: break; |
| 277 | } |
| 278 | } else if (_c == QMetaObject::WriteProperty) { |
| 279 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 280 | auto *_t = static_cast<QWizard *>(_o); |
| 281 | Q_UNUSED(_t) |
| 282 | void *_v = _a[0]; |
| 283 | switch (_id) { |
| 284 | case 0: _t->setWizardStyle(*reinterpret_cast< WizardStyle*>(_v)); break; |
| 285 | case 1: _t->setOptions(QFlag(*reinterpret_cast<int*>(_v))); break; |
| 286 | case 2: _t->setTitleFormat(*reinterpret_cast< Qt::TextFormat*>(_v)); break; |
| 287 | case 3: _t->setSubTitleFormat(*reinterpret_cast< Qt::TextFormat*>(_v)); break; |
| 288 | case 4: _t->setStartId(*reinterpret_cast< int*>(_v)); break; |
| 289 | default: break; |
| 290 | } |
| 291 | } else if (_c == QMetaObject::ResetProperty) { |
| 292 | } else if (_c == QMetaObject::BindableProperty) { |
| 293 | } |
| 294 | #endif // QT_NO_PROPERTIES |
| 295 | } |
| 296 | |
| 297 | const QMetaObject QWizard::staticMetaObject = { { |
| 298 | QMetaObject::SuperData::link<QDialog::staticMetaObject>(), |
| 299 | qt_meta_stringdata_QWizard.offsetsAndSize, |
| 300 | qt_meta_data_QWizard, |
| 301 | qt_static_metacall, |
| 302 | nullptr, |
| 303 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QWizard_t |
| 304 | , QtPrivate::TypeAndForceComplete<WizardStyle, std::true_type>, QtPrivate::TypeAndForceComplete<WizardOptions, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::TextFormat, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::TextFormat, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_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>, 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> |
| 305 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QObject *, std::false_type> |
| 306 | |
| 307 | |
| 308 | >, |
| 309 | nullptr |
| 310 | } }; |
| 311 | |
| 312 | |
| 313 | const QMetaObject *QWizard::metaObject() const |
| 314 | { |
| 315 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 316 | } |
| 317 | |
| 318 | void *QWizard::qt_metacast(const char *_clname) |
| 319 | { |
| 320 | if (!_clname) return nullptr; |
| 321 | if (!strcmp(_clname, qt_meta_stringdata_QWizard.stringdata0)) |
| 322 | return static_cast<void*>(this); |
| 323 | return QDialog::qt_metacast(_clname); |
| 324 | } |
| 325 | |
| 326 | int QWizard::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 327 | { |
| 328 | _id = QDialog::qt_metacall(_c, _id, _a); |
| 329 | if (_id < 0) |
| 330 | return _id; |
| 331 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 332 | if (_id < 11) |
| 333 | qt_static_metacall(this, _c, _id, _a); |
| 334 | _id -= 11; |
| 335 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 336 | if (_id < 11) |
| 337 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 338 | _id -= 11; |
| 339 | } |
| 340 | #ifndef QT_NO_PROPERTIES |
| 341 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 342 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 343 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 344 | qt_static_metacall(this, _c, _id, _a); |
| 345 | _id -= 6; |
| 346 | } |
| 347 | #endif // QT_NO_PROPERTIES |
| 348 | return _id; |
| 349 | } |
| 350 | |
| 351 | // SIGNAL 0 |
| 352 | void QWizard::currentIdChanged(int _t1) |
| 353 | { |
| 354 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 355 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 356 | } |
| 357 | |
| 358 | // SIGNAL 1 |
| 359 | void QWizard::helpRequested() |
| 360 | { |
| 361 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
| 362 | } |
| 363 | |
| 364 | // SIGNAL 2 |
| 365 | void QWizard::customButtonClicked(int _t1) |
| 366 | { |
| 367 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 368 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
| 369 | } |
| 370 | |
| 371 | // SIGNAL 3 |
| 372 | void QWizard::pageAdded(int _t1) |
| 373 | { |
| 374 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 375 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
| 376 | } |
| 377 | |
| 378 | // SIGNAL 4 |
| 379 | void QWizard::(int _t1) |
| 380 | { |
| 381 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 382 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
| 383 | } |
| 384 | struct qt_meta_stringdata_QWizardPage_t { |
| 385 | const uint offsetsAndSize[14]; |
| 386 | char stringdata0[101]; |
| 387 | }; |
| 388 | #define QT_MOC_LITERAL(ofs, len) \ |
| 389 | uint(offsetof(qt_meta_stringdata_QWizardPage_t, stringdata0) + ofs), len |
| 390 | static const qt_meta_stringdata_QWizardPage_t qt_meta_stringdata_QWizardPage = { |
| 391 | { |
| 392 | QT_MOC_LITERAL(0, 11), // "QWizardPage" |
| 393 | QT_MOC_LITERAL(12, 15), // "completeChanged" |
| 394 | QT_MOC_LITERAL(28, 0), // "" |
| 395 | QT_MOC_LITERAL(29, 27), // "_q_maybeEmitCompleteChanged" |
| 396 | QT_MOC_LITERAL(57, 28), // "_q_updateCachedCompleteState" |
| 397 | QT_MOC_LITERAL(86, 5), // "title" |
| 398 | QT_MOC_LITERAL(92, 8) // "subTitle" |
| 399 | |
| 400 | }, |
| 401 | "QWizardPage\0completeChanged\0\0" |
| 402 | "_q_maybeEmitCompleteChanged\0" |
| 403 | "_q_updateCachedCompleteState\0title\0" |
| 404 | "subTitle" |
| 405 | }; |
| 406 | #undef QT_MOC_LITERAL |
| 407 | |
| 408 | static const uint qt_meta_data_QWizardPage[] = { |
| 409 | |
| 410 | // content: |
| 411 | 9, // revision |
| 412 | 0, // classname |
| 413 | 0, 0, // classinfo |
| 414 | 3, 14, // methods |
| 415 | 2, 35, // properties |
| 416 | 0, 0, // enums/sets |
| 417 | 0, 0, // constructors |
| 418 | 0, // flags |
| 419 | 1, // signalCount |
| 420 | |
| 421 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 422 | 1, 0, 32, 2, 0x06, 2 /* Public */, |
| 423 | |
| 424 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 425 | 3, 0, 33, 2, 0x08, 3 /* Private */, |
| 426 | 4, 0, 34, 2, 0x08, 4 /* Private */, |
| 427 | |
| 428 | // signals: parameters |
| 429 | QMetaType::Void, |
| 430 | |
| 431 | // slots: parameters |
| 432 | QMetaType::Void, |
| 433 | QMetaType::Void, |
| 434 | |
| 435 | // properties: name, type, flags |
| 436 | 5, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 437 | 6, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 438 | |
| 439 | 0 // eod |
| 440 | }; |
| 441 | |
| 442 | void QWizardPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 443 | { |
| 444 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 445 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 446 | auto *_t = static_cast<QWizardPage *>(_o); |
| 447 | Q_UNUSED(_t) |
| 448 | switch (_id) { |
| 449 | case 0: _t->completeChanged(); break; |
| 450 | case 1: _t->d_func()->_q_maybeEmitCompleteChanged(); break; |
| 451 | case 2: _t->d_func()->_q_updateCachedCompleteState(); break; |
| 452 | default: ; |
| 453 | } |
| 454 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 455 | int *result = reinterpret_cast<int *>(_a[0]); |
| 456 | { |
| 457 | using _t = void (QWizardPage::*)(); |
| 458 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizardPage::completeChanged)) { |
| 459 | *result = 0; |
| 460 | return; |
| 461 | } |
| 462 | } |
| 463 | } |
| 464 | #ifndef QT_NO_PROPERTIES |
| 465 | else if (_c == QMetaObject::ReadProperty) { |
| 466 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 467 | auto *_t = static_cast<QWizardPage *>(_o); |
| 468 | Q_UNUSED(_t) |
| 469 | void *_v = _a[0]; |
| 470 | switch (_id) { |
| 471 | case 0: *reinterpret_cast< QString*>(_v) = _t->title(); break; |
| 472 | case 1: *reinterpret_cast< QString*>(_v) = _t->subTitle(); break; |
| 473 | default: break; |
| 474 | } |
| 475 | } else if (_c == QMetaObject::WriteProperty) { |
| 476 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 477 | auto *_t = static_cast<QWizardPage *>(_o); |
| 478 | Q_UNUSED(_t) |
| 479 | void *_v = _a[0]; |
| 480 | switch (_id) { |
| 481 | case 0: _t->setTitle(*reinterpret_cast< QString*>(_v)); break; |
| 482 | case 1: _t->setSubTitle(*reinterpret_cast< QString*>(_v)); break; |
| 483 | default: break; |
| 484 | } |
| 485 | } else if (_c == QMetaObject::ResetProperty) { |
| 486 | } else if (_c == QMetaObject::BindableProperty) { |
| 487 | } |
| 488 | #endif // QT_NO_PROPERTIES |
| 489 | Q_UNUSED(_a); |
| 490 | } |
| 491 | |
| 492 | const QMetaObject QWizardPage::staticMetaObject = { { |
| 493 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
| 494 | qt_meta_stringdata_QWizardPage.offsetsAndSize, |
| 495 | qt_meta_data_QWizardPage, |
| 496 | qt_static_metacall, |
| 497 | nullptr, |
| 498 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QWizardPage_t |
| 499 | , QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 500 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 501 | |
| 502 | |
| 503 | >, |
| 504 | nullptr |
| 505 | } }; |
| 506 | |
| 507 | |
| 508 | const QMetaObject *QWizardPage::metaObject() const |
| 509 | { |
| 510 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 511 | } |
| 512 | |
| 513 | void *QWizardPage::qt_metacast(const char *_clname) |
| 514 | { |
| 515 | if (!_clname) return nullptr; |
| 516 | if (!strcmp(_clname, qt_meta_stringdata_QWizardPage.stringdata0)) |
| 517 | return static_cast<void*>(this); |
| 518 | return QWidget::qt_metacast(_clname); |
| 519 | } |
| 520 | |
| 521 | int QWizardPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 522 | { |
| 523 | _id = QWidget::qt_metacall(_c, _id, _a); |
| 524 | if (_id < 0) |
| 525 | return _id; |
| 526 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 527 | if (_id < 3) |
| 528 | qt_static_metacall(this, _c, _id, _a); |
| 529 | _id -= 3; |
| 530 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 531 | if (_id < 3) |
| 532 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 533 | _id -= 3; |
| 534 | } |
| 535 | #ifndef QT_NO_PROPERTIES |
| 536 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 537 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 538 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 539 | qt_static_metacall(this, _c, _id, _a); |
| 540 | _id -= 2; |
| 541 | } |
| 542 | #endif // QT_NO_PROPERTIES |
| 543 | return _id; |
| 544 | } |
| 545 | |
| 546 | // SIGNAL 0 |
| 547 | void QWizardPage::completeChanged() |
| 548 | { |
| 549 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
| 550 | } |
| 551 | QT_WARNING_POP |
| 552 | QT_END_MOC_NAMESPACE |
| 553 | |