/****************************************************************************
** Meta object code from reading C++ file 'qwizard.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.19)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../dialogs/qwizard.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qwizard.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QWizard_t {
    QByteArrayData data[47];
    char stringdata0[708];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QWizard_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QWizard_t qt_meta_stringdata_QWizard = {
    {
QT_MOC_LITERAL(0, 0, 7), // "QWizard"
QT_MOC_LITERAL(1, 8, 16), // "currentIdChanged"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 2), // "id"
QT_MOC_LITERAL(4, 29, 13), // "helpRequested"
QT_MOC_LITERAL(5, 43, 19), // "customButtonClicked"
QT_MOC_LITERAL(6, 63, 5), // "which"
QT_MOC_LITERAL(7, 69, 9), // "pageAdded"
QT_MOC_LITERAL(8, 79, 11), // "pageRemoved"
QT_MOC_LITERAL(9, 91, 4), // "back"
QT_MOC_LITERAL(10, 96, 4), // "next"
QT_MOC_LITERAL(11, 101, 7), // "restart"
QT_MOC_LITERAL(12, 109, 26), // "_q_emitCustomButtonClicked"
QT_MOC_LITERAL(13, 136, 21), // "_q_updateButtonStates"
QT_MOC_LITERAL(14, 158, 29), // "_q_handleFieldObjectDestroyed"
QT_MOC_LITERAL(15, 188, 11), // "wizardStyle"
QT_MOC_LITERAL(16, 200, 11), // "WizardStyle"
QT_MOC_LITERAL(17, 212, 7), // "options"
QT_MOC_LITERAL(18, 220, 13), // "WizardOptions"
QT_MOC_LITERAL(19, 234, 11), // "titleFormat"
QT_MOC_LITERAL(20, 246, 14), // "Qt::TextFormat"
QT_MOC_LITERAL(21, 261, 14), // "subTitleFormat"
QT_MOC_LITERAL(22, 276, 7), // "startId"
QT_MOC_LITERAL(23, 284, 9), // "currentId"
QT_MOC_LITERAL(24, 294, 12), // "ClassicStyle"
QT_MOC_LITERAL(25, 307, 11), // "ModernStyle"
QT_MOC_LITERAL(26, 319, 8), // "MacStyle"
QT_MOC_LITERAL(27, 328, 9), // "AeroStyle"
QT_MOC_LITERAL(28, 338, 7), // "NStyles"
QT_MOC_LITERAL(29, 346, 12), // "WizardOption"
QT_MOC_LITERAL(30, 359, 16), // "IndependentPages"
QT_MOC_LITERAL(31, 376, 15), // "IgnoreSubTitles"
QT_MOC_LITERAL(32, 392, 23), // "ExtendedWatermarkPixmap"
QT_MOC_LITERAL(33, 416, 15), // "NoDefaultButton"
QT_MOC_LITERAL(34, 432, 23), // "NoBackButtonOnStartPage"
QT_MOC_LITERAL(35, 456, 22), // "NoBackButtonOnLastPage"
QT_MOC_LITERAL(36, 479, 28), // "DisabledBackButtonOnLastPage"
QT_MOC_LITERAL(37, 508, 24), // "HaveNextButtonOnLastPage"
QT_MOC_LITERAL(38, 533, 28), // "HaveFinishButtonOnEarlyPages"
QT_MOC_LITERAL(39, 562, 14), // "NoCancelButton"
QT_MOC_LITERAL(40, 577, 18), // "CancelButtonOnLeft"
QT_MOC_LITERAL(41, 596, 14), // "HaveHelpButton"
QT_MOC_LITERAL(42, 611, 17), // "HelpButtonOnRight"
QT_MOC_LITERAL(43, 629, 17), // "HaveCustomButton1"
QT_MOC_LITERAL(44, 647, 17), // "HaveCustomButton2"
QT_MOC_LITERAL(45, 665, 17), // "HaveCustomButton3"
QT_MOC_LITERAL(46, 683, 24) // "NoCancelButtonOnLastPage"

    },
    "QWizard\0currentIdChanged\0\0id\0helpRequested\0"
    "customButtonClicked\0which\0pageAdded\0"
    "pageRemoved\0back\0next\0restart\0"
    "_q_emitCustomButtonClicked\0"
    "_q_updateButtonStates\0"
    "_q_handleFieldObjectDestroyed\0wizardStyle\0"
    "WizardStyle\0options\0WizardOptions\0"
    "titleFormat\0Qt::TextFormat\0subTitleFormat\0"
    "startId\0currentId\0ClassicStyle\0"
    "ModernStyle\0MacStyle\0AeroStyle\0NStyles\0"
    "WizardOption\0IndependentPages\0"
    "IgnoreSubTitles\0ExtendedWatermarkPixmap\0"
    "NoDefaultButton\0NoBackButtonOnStartPage\0"
    "NoBackButtonOnLastPage\0"
    "DisabledBackButtonOnLastPage\0"
    "HaveNextButtonOnLastPage\0"
    "HaveFinishButtonOnEarlyPages\0"
    "NoCancelButton\0CancelButtonOnLeft\0"
    "HaveHelpButton\0HelpButtonOnRight\0"
    "HaveCustomButton1\0HaveCustomButton2\0"
    "HaveCustomButton3\0NoCancelButtonOnLastPage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QWizard[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       6,   90, // properties
       3,  114, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       4,    0,   72,    2, 0x06 /* Public */,
       5,    1,   73,    2, 0x06 /* Public */,
       7,    1,   76,    2, 0x06 /* Public */,
       8,    1,   79,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   82,    2, 0x0a /* Public */,
      10,    0,   83,    2, 0x0a /* Public */,
      11,    0,   84,    2, 0x0a /* Public */,
      12,    0,   85,    2, 0x08 /* Private */,
      13,    0,   86,    2, 0x08 /* Private */,
      14,    1,   87,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar,    2,

 // properties: name, type, flags
      15, 0x80000000 | 16, 0x0009510b,
      17, 0x80000000 | 18, 0x0009510b,
      19, 0x80000000 | 20, 0x0009510b,
      21, 0x80000000 | 20, 0x0009510b,
      22, QMetaType::Int, 0x00095103,
      23, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,

 // enums: name, alias, flags, count, data
      16,   16, 0x0,    5,  129,
      29,   29, 0x0,   17,  139,
      18,   29, 0x1,   17,  173,

 // enum data: key, value
      24, uint(QWizard::ClassicStyle),
      25, uint(QWizard::ModernStyle),
      26, uint(QWizard::MacStyle),
      27, uint(QWizard::AeroStyle),
      28, uint(QWizard::NStyles),
      30, uint(QWizard::IndependentPages),
      31, uint(QWizard::IgnoreSubTitles),
      32, uint(QWizard::ExtendedWatermarkPixmap),
      33, uint(QWizard::NoDefaultButton),
      34, uint(QWizard::NoBackButtonOnStartPage),
      35, uint(QWizard::NoBackButtonOnLastPage),
      36, uint(QWizard::DisabledBackButtonOnLastPage),
      37, uint(QWizard::HaveNextButtonOnLastPage),
      38, uint(QWizard::HaveFinishButtonOnEarlyPages),
      39, uint(QWizard::NoCancelButton),
      40, uint(QWizard::CancelButtonOnLeft),
      41, uint(QWizard::HaveHelpButton),
      42, uint(QWizard::HelpButtonOnRight),
      43, uint(QWizard::HaveCustomButton1),
      44, uint(QWizard::HaveCustomButton2),
      45, uint(QWizard::HaveCustomButton3),
      46, uint(QWizard::NoCancelButtonOnLastPage),
      30, uint(QWizard::IndependentPages),
      31, uint(QWizard::IgnoreSubTitles),
      32, uint(QWizard::ExtendedWatermarkPixmap),
      33, uint(QWizard::NoDefaultButton),
      34, uint(QWizard::NoBackButtonOnStartPage),
      35, uint(QWizard::NoBackButtonOnLastPage),
      36, uint(QWizard::DisabledBackButtonOnLastPage),
      37, uint(QWizard::HaveNextButtonOnLastPage),
      38, uint(QWizard::HaveFinishButtonOnEarlyPages),
      39, uint(QWizard::NoCancelButton),
      40, uint(QWizard::CancelButtonOnLeft),
      41, uint(QWizard::HaveHelpButton),
      42, uint(QWizard::HelpButtonOnRight),
      43, uint(QWizard::HaveCustomButton1),
      44, uint(QWizard::HaveCustomButton2),
      45, uint(QWizard::HaveCustomButton3),
      46, uint(QWizard::NoCancelButtonOnLastPage),

       0        // eod
};

void QWizard::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QWizard *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->currentIdChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->helpRequested(); break;
        case 2: _t->customButtonClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->pageAdded((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->pageRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->back(); break;
        case 6: _t->next(); break;
        case 7: _t->restart(); break;
        case 8: _t->d_func()->_q_emitCustomButtonClicked(); break;
        case 9: _t->d_func()->_q_updateButtonStates(); break;
        case 10: _t->d_func()->_q_handleFieldObjectDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QWizard::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::currentIdChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QWizard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::helpRequested)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QWizard::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::customButtonClicked)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QWizard::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::pageAdded)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QWizard::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizard::pageRemoved)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QWizard *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< WizardStyle*>(_v) = _t->wizardStyle(); break;
        case 1: *reinterpret_cast<int*>(_v) = QFlag(_t->options()); break;
        case 2: *reinterpret_cast< Qt::TextFormat*>(_v) = _t->titleFormat(); break;
        case 3: *reinterpret_cast< Qt::TextFormat*>(_v) = _t->subTitleFormat(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->startId(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->currentId(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QWizard *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setWizardStyle(*reinterpret_cast< WizardStyle*>(_v)); break;
        case 1: _t->setOptions(QFlag(*reinterpret_cast<int*>(_v))); break;
        case 2: _t->setTitleFormat(*reinterpret_cast< Qt::TextFormat*>(_v)); break;
        case 3: _t->setSubTitleFormat(*reinterpret_cast< Qt::TextFormat*>(_v)); break;
        case 4: _t->setStartId(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QWizard::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_QWizard.data,
    qt_meta_data_QWizard,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *QWizard::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QWizard::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QWizard.stringdata0))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int QWizard::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QWizard::currentIdChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QWizard::helpRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QWizard::customButtonClicked(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QWizard::pageAdded(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QWizard::pageRemoved(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
struct qt_meta_stringdata_QWizardPage_t {
    QByteArrayData data[7];
    char stringdata0[101];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QWizardPage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QWizardPage_t qt_meta_stringdata_QWizardPage = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QWizardPage"
QT_MOC_LITERAL(1, 12, 15), // "completeChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 27), // "_q_maybeEmitCompleteChanged"
QT_MOC_LITERAL(4, 57, 28), // "_q_updateCachedCompleteState"
QT_MOC_LITERAL(5, 86, 5), // "title"
QT_MOC_LITERAL(6, 92, 8) // "subTitle"

    },
    "QWizardPage\0completeChanged\0\0"
    "_q_maybeEmitCompleteChanged\0"
    "_q_updateCachedCompleteState\0title\0"
    "subTitle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QWizardPage[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       2,   32, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   30,    2, 0x08 /* Private */,
       4,    0,   31,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       5, QMetaType::QString, 0x00095103,
       6, QMetaType::QString, 0x00095103,

       0        // eod
};

void QWizardPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QWizardPage *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->completeChanged(); break;
        case 1: _t->d_func()->_q_maybeEmitCompleteChanged(); break;
        case 2: _t->d_func()->_q_updateCachedCompleteState(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QWizardPage::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWizardPage::completeChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QWizardPage *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->subTitle(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QWizardPage *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTitle(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setSubTitle(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QWizardPage::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QWizardPage.data,
    qt_meta_data_QWizardPage,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *QWizardPage::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QWizardPage::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QWizardPage.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int QWizardPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QWizardPage::completeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
