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

#include "../../../../../../src/qttools-opensource-src-5.9.3/src/designer/src/designer/qdesigner_workbench.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdesigner_workbench.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.3. 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_QDesignerWorkbench_t {
    QByteArrayData data[32];
    char stringdata0[504];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDesignerWorkbench_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDesignerWorkbench_t qt_meta_stringdata_QDesignerWorkbench = {
    {
QT_MOC_LITERAL(0, 0, 18), // "QDesignerWorkbench"
QT_MOC_LITERAL(1, 19, 11), // "modeChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 6), // "UIMode"
QT_MOC_LITERAL(4, 39, 4), // "mode"
QT_MOC_LITERAL(5, 44, 11), // "initialized"
QT_MOC_LITERAL(6, 56, 13), // "addFormWindow"
QT_MOC_LITERAL(7, 70, 20), // "QDesignerFormWindow*"
QT_MOC_LITERAL(8, 91, 10), // "formWindow"
QT_MOC_LITERAL(9, 102, 16), // "removeFormWindow"
QT_MOC_LITERAL(10, 119, 15), // "bringAllToFront"
QT_MOC_LITERAL(11, 135, 27), // "toggleFormMinimizationState"
QT_MOC_LITERAL(12, 163, 19), // "switchToNeutralMode"
QT_MOC_LITERAL(13, 183, 18), // "switchToDockedMode"
QT_MOC_LITERAL(14, 202, 20), // "switchToTopLevelMode"
QT_MOC_LITERAL(15, 223, 21), // "initializeCorePlugins"
QT_MOC_LITERAL(16, 245, 16), // "handleCloseEvent"
QT_MOC_LITERAL(17, 262, 12), // "QCloseEvent*"
QT_MOC_LITERAL(18, 275, 23), // "slotFormWindowActivated"
QT_MOC_LITERAL(19, 299, 2), // "fw"
QT_MOC_LITERAL(20, 302, 16), // "updateWindowMenu"
QT_MOC_LITERAL(21, 319, 29), // "QDesignerFormWindowInterface*"
QT_MOC_LITERAL(22, 349, 25), // "formWindowActionTriggered"
QT_MOC_LITERAL(23, 375, 8), // "QAction*"
QT_MOC_LITERAL(24, 384, 1), // "a"
QT_MOC_LITERAL(25, 386, 22), // "adjustMDIFormPositions"
QT_MOC_LITERAL(26, 409, 24), // "minimizationStateChanged"
QT_MOC_LITERAL(27, 434, 9), // "minimized"
QT_MOC_LITERAL(28, 444, 17), // "restoreUISettings"
QT_MOC_LITERAL(29, 462, 23), // "notifyUISettingsChanged"
QT_MOC_LITERAL(30, 486, 15), // "slotFileDropped"
QT_MOC_LITERAL(31, 502, 1) // "f"

    },
    "QDesignerWorkbench\0modeChanged\0\0UIMode\0"
    "mode\0initialized\0addFormWindow\0"
    "QDesignerFormWindow*\0formWindow\0"
    "removeFormWindow\0bringAllToFront\0"
    "toggleFormMinimizationState\0"
    "switchToNeutralMode\0switchToDockedMode\0"
    "switchToTopLevelMode\0initializeCorePlugins\0"
    "handleCloseEvent\0QCloseEvent*\0"
    "slotFormWindowActivated\0fw\0updateWindowMenu\0"
    "QDesignerFormWindowInterface*\0"
    "formWindowActionTriggered\0QAction*\0a\0"
    "adjustMDIFormPositions\0minimizationStateChanged\0"
    "minimized\0restoreUISettings\0"
    "notifyUISettingsChanged\0slotFileDropped\0"
    "f"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDesignerWorkbench[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  109,    2, 0x06 /* Public */,
       5,    0,  112,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  113,    2, 0x0a /* Public */,
       9,    1,  116,    2, 0x0a /* Public */,
      10,    0,  119,    2, 0x0a /* Public */,
      11,    0,  120,    2, 0x0a /* Public */,
      12,    0,  121,    2, 0x08 /* Private */,
      13,    0,  122,    2, 0x08 /* Private */,
      14,    0,  123,    2, 0x08 /* Private */,
      15,    0,  124,    2, 0x08 /* Private */,
      16,    1,  125,    2, 0x08 /* Private */,
      18,    1,  128,    2, 0x08 /* Private */,
      20,    1,  131,    2, 0x08 /* Private */,
      22,    1,  134,    2, 0x08 /* Private */,
      25,    0,  137,    2, 0x08 /* Private */,
      26,    2,  138,    2, 0x08 /* Private */,
      28,    0,  143,    2, 0x08 /* Private */,
      29,    0,  144,    2, 0x08 /* Private */,
      30,    1,  145,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, 0x80000000 | 7,   19,
    QMetaType::Void, 0x80000000 | 21,   19,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21, QMetaType::Bool,    8,   27,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   31,

       0        // eod
};

void QDesignerWorkbench::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QDesignerWorkbench *_t = static_cast<QDesignerWorkbench *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->modeChanged((*reinterpret_cast< UIMode(*)>(_a[1]))); break;
        case 1: _t->initialized(); break;
        case 2: _t->addFormWindow((*reinterpret_cast< QDesignerFormWindow*(*)>(_a[1]))); break;
        case 3: _t->removeFormWindow((*reinterpret_cast< QDesignerFormWindow*(*)>(_a[1]))); break;
        case 4: _t->bringAllToFront(); break;
        case 5: _t->toggleFormMinimizationState(); break;
        case 6: _t->switchToNeutralMode(); break;
        case 7: _t->switchToDockedMode(); break;
        case 8: _t->switchToTopLevelMode(); break;
        case 9: _t->initializeCorePlugins(); break;
        case 10: _t->handleCloseEvent((*reinterpret_cast< QCloseEvent*(*)>(_a[1]))); break;
        case 11: _t->slotFormWindowActivated((*reinterpret_cast< QDesignerFormWindow*(*)>(_a[1]))); break;
        case 12: _t->updateWindowMenu((*reinterpret_cast< QDesignerFormWindowInterface*(*)>(_a[1]))); break;
        case 13: _t->formWindowActionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 14: _t->adjustMDIFormPositions(); break;
        case 15: _t->minimizationStateChanged((*reinterpret_cast< QDesignerFormWindowInterface*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 16: _t->restoreUISettings(); break;
        case 17: _t->notifyUISettingsChanged(); break;
        case 18: _t->slotFileDropped((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QDesignerWorkbench::*_t)(UIMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDesignerWorkbench::modeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QDesignerWorkbench::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDesignerWorkbench::initialized)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject QDesignerWorkbench::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDesignerWorkbench.data,
      qt_meta_data_QDesignerWorkbench,  qt_static_metacall, nullptr, nullptr}
};


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

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

int QDesignerWorkbench::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void QDesignerWorkbench::modeChanged(UIMode _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QDesignerWorkbench::initialized()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
