/****************************************************************************
** Meta object code from reading C++ file 'qmainwindow.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 "../widgets/qmainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmainwindow.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_QMainWindow_t {
    QByteArrayData data[30];
    char stringdata0[454];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QMainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QMainWindow_t qt_meta_stringdata_QMainWindow = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QMainWindow"
QT_MOC_LITERAL(1, 12, 15), // "iconSizeChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 8), // "iconSize"
QT_MOC_LITERAL(4, 38, 22), // "toolButtonStyleChanged"
QT_MOC_LITERAL(5, 61, 19), // "Qt::ToolButtonStyle"
QT_MOC_LITERAL(6, 81, 15), // "toolButtonStyle"
QT_MOC_LITERAL(7, 97, 27), // "tabifiedDockWidgetActivated"
QT_MOC_LITERAL(8, 125, 12), // "QDockWidget*"
QT_MOC_LITERAL(9, 138, 10), // "dockWidget"
QT_MOC_LITERAL(10, 149, 11), // "setAnimated"
QT_MOC_LITERAL(11, 161, 7), // "enabled"
QT_MOC_LITERAL(12, 169, 21), // "setDockNestingEnabled"
QT_MOC_LITERAL(13, 191, 30), // "setUnifiedTitleAndToolBarOnMac"
QT_MOC_LITERAL(14, 222, 3), // "set"
QT_MOC_LITERAL(15, 226, 8), // "animated"
QT_MOC_LITERAL(16, 235, 12), // "documentMode"
QT_MOC_LITERAL(17, 248, 8), // "tabShape"
QT_MOC_LITERAL(18, 257, 20), // "QTabWidget::TabShape"
QT_MOC_LITERAL(19, 278, 18), // "dockNestingEnabled"
QT_MOC_LITERAL(20, 297, 11), // "dockOptions"
QT_MOC_LITERAL(21, 309, 11), // "DockOptions"
QT_MOC_LITERAL(22, 321, 27), // "unifiedTitleAndToolBarOnMac"
QT_MOC_LITERAL(23, 349, 10), // "DockOption"
QT_MOC_LITERAL(24, 360, 13), // "AnimatedDocks"
QT_MOC_LITERAL(25, 374, 16), // "AllowNestedDocks"
QT_MOC_LITERAL(26, 391, 16), // "AllowTabbedDocks"
QT_MOC_LITERAL(27, 408, 16), // "ForceTabbedDocks"
QT_MOC_LITERAL(28, 425, 12), // "VerticalTabs"
QT_MOC_LITERAL(29, 438, 15) // "GroupedDragging"

    },
    "QMainWindow\0iconSizeChanged\0\0iconSize\0"
    "toolButtonStyleChanged\0Qt::ToolButtonStyle\0"
    "toolButtonStyle\0tabifiedDockWidgetActivated\0"
    "QDockWidget*\0dockWidget\0setAnimated\0"
    "enabled\0setDockNestingEnabled\0"
    "setUnifiedTitleAndToolBarOnMac\0set\0"
    "animated\0documentMode\0tabShape\0"
    "QTabWidget::TabShape\0dockNestingEnabled\0"
    "dockOptions\0DockOptions\0"
    "unifiedTitleAndToolBarOnMac\0DockOption\0"
    "AnimatedDocks\0AllowNestedDocks\0"
    "AllowTabbedDocks\0ForceTabbedDocks\0"
    "VerticalTabs\0GroupedDragging"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QMainWindow[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       8,   62, // properties
       2,   86, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       4,    1,   47,    2, 0x06 /* Public */,
       7,    1,   50,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   53,    2, 0x0a /* Public */,
      12,    1,   56,    2, 0x0a /* Public */,
      13,    1,   59,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QSize,    3,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 8,    9,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   14,

 // properties: name, type, flags
       3, QMetaType::QSize, 0x00095103,
       6, 0x80000000 | 5, 0x0009510b,
      15, QMetaType::Bool, 0x00095103,
      16, QMetaType::Bool, 0x00095103,
      17, 0x80000000 | 18, 0x0009510b,
      19, QMetaType::Bool, 0x00095103,
      20, 0x80000000 | 21, 0x0009510b,
      22, QMetaType::Bool, 0x00095103,

 // enums: name, alias, flags, count, data
      23,   23, 0x0,    6,   96,
      21,   23, 0x1,    6,  108,

 // enum data: key, value
      24, uint(QMainWindow::AnimatedDocks),
      25, uint(QMainWindow::AllowNestedDocks),
      26, uint(QMainWindow::AllowTabbedDocks),
      27, uint(QMainWindow::ForceTabbedDocks),
      28, uint(QMainWindow::VerticalTabs),
      29, uint(QMainWindow::GroupedDragging),
      24, uint(QMainWindow::AnimatedDocks),
      25, uint(QMainWindow::AllowNestedDocks),
      26, uint(QMainWindow::AllowTabbedDocks),
      27, uint(QMainWindow::ForceTabbedDocks),
      28, uint(QMainWindow::VerticalTabs),
      29, uint(QMainWindow::GroupedDragging),

       0        // eod
};

void QMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QMainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->iconSizeChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 1: _t->toolButtonStyleChanged((*reinterpret_cast< Qt::ToolButtonStyle(*)>(_a[1]))); break;
        case 2: _t->tabifiedDockWidgetActivated((*reinterpret_cast< QDockWidget*(*)>(_a[1]))); break;
        case 3: _t->setAnimated((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->setDockNestingEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setUnifiedTitleAndToolBarOnMac((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QMainWindow::*)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMainWindow::iconSizeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QMainWindow::*)(Qt::ToolButtonStyle );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMainWindow::toolButtonStyleChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QMainWindow::*)(QDockWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMainWindow::tabifiedDockWidgetActivated)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QMainWindow *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QSize*>(_v) = _t->iconSize(); break;
        case 1: *reinterpret_cast< Qt::ToolButtonStyle*>(_v) = _t->toolButtonStyle(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isAnimated(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->documentMode(); break;
        case 4: *reinterpret_cast< QTabWidget::TabShape*>(_v) = _t->tabShape(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isDockNestingEnabled(); break;
        case 6: *reinterpret_cast<int*>(_v) = QFlag(_t->dockOptions()); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->unifiedTitleAndToolBarOnMac(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QMainWindow *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setIconSize(*reinterpret_cast< QSize*>(_v)); break;
        case 1: _t->setToolButtonStyle(*reinterpret_cast< Qt::ToolButtonStyle*>(_v)); break;
        case 2: _t->setAnimated(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setDocumentMode(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setTabShape(*reinterpret_cast< QTabWidget::TabShape*>(_v)); break;
        case 5: _t->setDockNestingEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setDockOptions(QFlag(*reinterpret_cast<int*>(_v))); break;
        case 7: _t->setUnifiedTitleAndToolBarOnMac(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject::SuperData qt_meta_extradata_QMainWindow[] = {
    QMetaObject::SuperData::link<QTabWidget::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject QMainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QMainWindow.data,
    qt_meta_data_QMainWindow,
    qt_static_metacall,
    qt_meta_extradata_QMainWindow,
    nullptr
} };


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

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

int QMainWindow::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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QMainWindow::tabifiedDockWidgetActivated(QDockWidget * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
