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

#include "../../../../KDDockWidgets-2.4.0/src/qtquick/views/MainWindow.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


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

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN13KDDockWidgets7QtQuick10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto KDDockWidgets::QtQuick::MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN13KDDockWidgets7QtQuick10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KDDockWidgets::QtQuick::MainWindow",
        "closeDockWidgets",
        "",
        "force",
        "sideBarIsVisible",
        "KDDockWidgets::SideBarLocation",
        "clearSideBarOverlay",
        "deleteFrame",
        "layoutEqually",
        "anySideBarIsVisible",
        "moveToSideBar",
        "dockId",
        "restoreFromSideBar",
        "overlayOnSideBar",
        "toggleOverlayOnSideBar",
        "layoutParentContainerEqually",
        "addDockWidgetAsTab",
        "addDockWidget",
        "KDDockWidgets::Location",
        "relativeToDockId",
        "KDDockWidgets::InitialOption",
        "affinities",
        "uniqueName",
        "options",
        "KDDockWidgets::MainWindowOptions",
        "isMDI"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'closeDockWidgets'
        QtMocHelpers::MethodData<bool(bool)>(1, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Bool, 3 },
        }}),
        // Method 'closeDockWidgets'
        QtMocHelpers::MethodData<bool()>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool),
        // Method 'sideBarIsVisible'
        QtMocHelpers::MethodData<bool(KDDockWidgets::SideBarLocation) const>(4, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 5, 2 },
        }}),
        // Method 'clearSideBarOverlay'
        QtMocHelpers::MethodData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Method 'clearSideBarOverlay'
        QtMocHelpers::MethodData<void()>(6, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Method 'layoutEqually'
        QtMocHelpers::MethodData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'anySideBarIsVisible'
        QtMocHelpers::MethodData<bool() const>(9, 2, QMC::AccessPublic, QMetaType::Bool),
        // Method 'moveToSideBar'
        QtMocHelpers::MethodData<void(const QString &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Method 'moveToSideBar'
        QtMocHelpers::MethodData<void(const QString &, KDDockWidgets::SideBarLocation)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { 0x80000000 | 5, 2 },
        }}),
        // Method 'restoreFromSideBar'
        QtMocHelpers::MethodData<void(const QString &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Method 'overlayOnSideBar'
        QtMocHelpers::MethodData<void(const QString &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Method 'toggleOverlayOnSideBar'
        QtMocHelpers::MethodData<void(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Method 'layoutParentContainerEqually'
        QtMocHelpers::MethodData<void(const QString &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Method 'addDockWidgetAsTab'
        QtMocHelpers::MethodData<void(const QString &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 },
        }}),
        // Method 'addDockWidget'
        QtMocHelpers::MethodData<void(const QString &, KDDockWidgets::Location, const QString &, KDDockWidgets::InitialOption)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { 0x80000000 | 18, 2 }, { QMetaType::QString, 19 }, { 0x80000000 | 20, 2 },
        }}),
        // Method 'addDockWidget'
        QtMocHelpers::MethodData<void(const QString &, KDDockWidgets::Location, const QString &)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { 0x80000000 | 18, 2 }, { QMetaType::QString, 19 },
        }}),
        // Method 'addDockWidget'
        QtMocHelpers::MethodData<void(const QString &, KDDockWidgets::Location)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 11 }, { 0x80000000 | 18, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'affinities'
        QtMocHelpers::PropertyData<QList<QString>>(21, QMetaType::QStringList, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'uniqueName'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'options'
        QtMocHelpers::PropertyData<KDDockWidgets::MainWindowOptions>(23, 0x80000000 | 24, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'isMDI'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN13KDDockWidgets7QtQuick10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN13KDDockWidgets7QtQuick10MainWindowE[] = {
    QMetaObject::SuperData::link<KDDockWidgets::staticMetaObject>(),
    nullptr
};

Q_CONSTINIT const QMetaObject KDDockWidgets::QtQuick::MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QtQuick::View::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13KDDockWidgets7QtQuick10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13KDDockWidgets7QtQuick10MainWindowE_t>.data,
    qt_static_metacall,
    qt_meta_extradata_ZN13KDDockWidgets7QtQuick10MainWindowE,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13KDDockWidgets7QtQuick10MainWindowE_t>.metaTypes,
    nullptr
} };

void KDDockWidgets::QtQuick::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = _t->closeDockWidgets((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->closeDockWidgets();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { bool _r = _t->sideBarIsVisible((*reinterpret_cast<std::add_pointer_t<KDDockWidgets::SideBarLocation>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->clearSideBarOverlay((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->clearSideBarOverlay(); break;
        case 5: _t->layoutEqually(); break;
        case 6: { bool _r = _t->anySideBarIsVisible();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->moveToSideBar((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->moveToSideBar((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KDDockWidgets::SideBarLocation>>(_a[2]))); break;
        case 9: _t->restoreFromSideBar((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->overlayOnSideBar((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->toggleOverlayOnSideBar((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->layoutParentContainerEqually((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->addDockWidgetAsTab((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->addDockWidget((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KDDockWidgets::Location>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<KDDockWidgets::InitialOption>>(_a[4]))); break;
        case 15: _t->addDockWidget((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KDDockWidgets::Location>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 16: _t->addDockWidget((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KDDockWidgets::Location>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KDDockWidgets::Location >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KDDockWidgets::Location >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KDDockWidgets::Location >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QList<QString>*>(_v) = _t->affinities(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->uniqueName(); break;
        case 2: *reinterpret_cast<KDDockWidgets::MainWindowOptions*>(_v) = _t->options(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->isMDI(); break;
        default: break;
        }
    }
}

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

void *KDDockWidgets::QtQuick::MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13KDDockWidgets7QtQuick10MainWindowE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Core::MainWindowViewInterface"))
        return static_cast< Core::MainWindowViewInterface*>(this);
    return QtQuick::View::qt_metacast(_clname);
}

int KDDockWidgets::QtQuick::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QtQuick::View::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
QT_WARNING_POP
