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

#include <memory>
#include "../../../../../../../kde-qttools/src/designer/src/components/formeditor/formwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'formwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_qdesigner_internal__FormWindow_t {
    QByteArrayData data[28];
    char stringdata0[323];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_qdesigner_internal__FormWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_qdesigner_internal__FormWindow_t qt_meta_stringdata_qdesigner_internal__FormWindow = {
    {
QT_MOC_LITERAL(0, 0, 30), // "qdesigner_internal::FormWindow"
QT_MOC_LITERAL(1, 31, 20), // "contextMenuRequested"
QT_MOC_LITERAL(2, 52, 0), // ""
QT_MOC_LITERAL(3, 53, 6), // "QMenu*"
QT_MOC_LITERAL(4, 60, 4), // "menu"
QT_MOC_LITERAL(5, 65, 8), // "QWidget*"
QT_MOC_LITERAL(6, 74, 6), // "widget"
QT_MOC_LITERAL(7, 81, 13), // "deleteWidgets"
QT_MOC_LITERAL(8, 95, 12), // "raiseWidgets"
QT_MOC_LITERAL(9, 108, 12), // "lowerWidgets"
QT_MOC_LITERAL(10, 121, 4), // "copy"
QT_MOC_LITERAL(11, 126, 3), // "cut"
QT_MOC_LITERAL(12, 130, 5), // "paste"
QT_MOC_LITERAL(13, 136, 9), // "selectAll"
QT_MOC_LITERAL(14, 146, 12), // "createLayout"
QT_MOC_LITERAL(15, 159, 4), // "type"
QT_MOC_LITERAL(16, 164, 9), // "container"
QT_MOC_LITERAL(17, 174, 11), // "morphLayout"
QT_MOC_LITERAL(18, 186, 7), // "newType"
QT_MOC_LITERAL(19, 194, 11), // "breakLayout"
QT_MOC_LITERAL(20, 206, 1), // "w"
QT_MOC_LITERAL(21, 208, 12), // "editContents"
QT_MOC_LITERAL(22, 221, 25), // "selectionChangedTimerDone"
QT_MOC_LITERAL(23, 247, 14), // "checkSelection"
QT_MOC_LITERAL(24, 262, 17), // "checkSelectionNow"
QT_MOC_LITERAL(25, 280, 16), // "slotSelectWidget"
QT_MOC_LITERAL(26, 297, 8), // "QAction*"
QT_MOC_LITERAL(27, 306, 16) // "slotCleanChanged"

    },
    "qdesigner_internal::FormWindow\0"
    "contextMenuRequested\0\0QMenu*\0menu\0"
    "QWidget*\0widget\0deleteWidgets\0"
    "raiseWidgets\0lowerWidgets\0copy\0cut\0"
    "paste\0selectAll\0createLayout\0type\0"
    "container\0morphLayout\0newType\0breakLayout\0"
    "w\0editContents\0selectionChangedTimerDone\0"
    "checkSelection\0checkSelectionNow\0"
    "slotSelectWidget\0QAction*\0slotCleanChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_qdesigner_internal__FormWindow[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    0,  109,    2, 0x0a /* Public */,
       8,    0,  110,    2, 0x0a /* Public */,
       9,    0,  111,    2, 0x0a /* Public */,
      10,    0,  112,    2, 0x0a /* Public */,
      11,    0,  113,    2, 0x0a /* Public */,
      12,    0,  114,    2, 0x0a /* Public */,
      13,    0,  115,    2, 0x0a /* Public */,
      14,    2,  116,    2, 0x0a /* Public */,
      14,    1,  121,    2, 0x2a /* Public | MethodCloned */,
      17,    2,  124,    2, 0x0a /* Public */,
      19,    1,  129,    2, 0x0a /* Public */,
      21,    0,  132,    2, 0x0a /* Public */,
      22,    0,  133,    2, 0x08 /* Private */,
      23,    0,  134,    2, 0x08 /* Private */,
      24,    0,  135,    2, 0x08 /* Private */,
      25,    1,  136,    2, 0x08 /* Private */,
      27,    1,  139,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 5,   15,   16,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, 0x80000000 | 5, QMetaType::Int,   16,   18,
    QMetaType::Void, 0x80000000 | 5,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 26,    2,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void qdesigner_internal::FormWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FormWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->contextMenuRequested((*reinterpret_cast< QMenu*(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break;
        case 1: _t->deleteWidgets(); break;
        case 2: _t->raiseWidgets(); break;
        case 3: _t->lowerWidgets(); break;
        case 4: _t->copy(); break;
        case 5: _t->cut(); break;
        case 6: _t->paste(); break;
        case 7: _t->selectAll(); break;
        case 8: _t->createLayout((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break;
        case 9: _t->createLayout((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->morphLayout((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->breakLayout((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 12: _t->editContents(); break;
        case 13: _t->selectionChangedTimerDone(); break;
        case 14: _t->checkSelection(); break;
        case 15: _t->checkSelectionNow(); break;
        case 16: _t->slotSelectWidget((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 17: _t->slotCleanChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (FormWindow::*)(QMenu * , QWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FormWindow::contextMenuRequested)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject qdesigner_internal::FormWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<FormWindowBase::staticMetaObject>(),
    qt_meta_stringdata_qdesigner_internal__FormWindow.data,
    qt_meta_data_qdesigner_internal__FormWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *qdesigner_internal::FormWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_qdesigner_internal__FormWindow.stringdata0))
        return static_cast<void*>(this);
    return FormWindowBase::qt_metacast(_clname);
}

int qdesigner_internal::FormWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = FormWindowBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void qdesigner_internal::FormWindow::contextMenuRequested(QMenu * _t1, QWidget * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
