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

#include <memory>
#include "../../../src/windows/menu-main-window.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'menu-main-window.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.10. 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_UkuiMenu__WindowGeometryHelper_t {
    QByteArrayData data[7];
    char stringdata0[99];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__WindowGeometryHelper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__WindowGeometryHelper_t qt_meta_stringdata_UkuiMenu__WindowGeometryHelper = {
    {
QT_MOC_LITERAL(0, 0, 30), // "UkuiMenu::WindowGeometryHelper"
QT_MOC_LITERAL(1, 31, 15), // "geometryChanged"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 14), // "updateGeometry"
QT_MOC_LITERAL(4, 63, 19), // "updatePrimaryScreen"
QT_MOC_LITERAL(5, 83, 8), // "QScreen*"
QT_MOC_LITERAL(6, 92, 6) // "screen"

    },
    "UkuiMenu::WindowGeometryHelper\0"
    "geometryChanged\0\0updateGeometry\0"
    "updatePrimaryScreen\0QScreen*\0screen"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__WindowGeometryHelper[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       0,    0, // 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,    1,   31,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,

       0        // eod
};

void UkuiMenu::WindowGeometryHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<WindowGeometryHelper *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->geometryChanged(); break;
        case 1: _t->updateGeometry(); break;
        case 2: _t->updatePrimaryScreen((*reinterpret_cast< QScreen*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QScreen* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (WindowGeometryHelper::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WindowGeometryHelper::geometryChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::WindowGeometryHelper::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_UkuiMenu__WindowGeometryHelper.data,
    qt_meta_data_UkuiMenu__WindowGeometryHelper,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int UkuiMenu::WindowGeometryHelper::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void UkuiMenu::WindowGeometryHelper::geometryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_UkuiMenu__MenuWindow_t {
    QByteArrayData data[23];
    char stringdata0[314];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__MenuWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__MenuWindow_t qt_meta_stringdata_UkuiMenu__MenuWindow = {
    {
QT_MOC_LITERAL(0, 0, 20), // "UkuiMenu::MenuWindow"
QT_MOC_LITERAL(1, 21, 20), // "effectEnabledChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 19), // "transparencyChanged"
QT_MOC_LITERAL(4, 63, 17), // "fullScreenChanged"
QT_MOC_LITERAL(5, 81, 23), // "beforeFullScreenChanged"
QT_MOC_LITERAL(6, 105, 22), // "beforeFullScreenExited"
QT_MOC_LITERAL(7, 128, 15), // "panelPosChanged"
QT_MOC_LITERAL(8, 144, 15), // "editModeChanged"
QT_MOC_LITERAL(9, 160, 22), // "changeWindowBlurRegion"
QT_MOC_LITERAL(10, 183, 1), // "x"
QT_MOC_LITERAL(11, 185, 1), // "y"
QT_MOC_LITERAL(12, 187, 5), // "width"
QT_MOC_LITERAL(13, 193, 6), // "height"
QT_MOC_LITERAL(14, 200, 16), // "normalScreenSize"
QT_MOC_LITERAL(15, 217, 14), // "exitFullScreen"
QT_MOC_LITERAL(16, 232, 16), // "enableWindowBlur"
QT_MOC_LITERAL(17, 249, 6), // "enable"
QT_MOC_LITERAL(18, 256, 12), // "isFullScreen"
QT_MOC_LITERAL(19, 269, 13), // "effectEnabled"
QT_MOC_LITERAL(20, 283, 8), // "editMode"
QT_MOC_LITERAL(21, 292, 12), // "transparency"
QT_MOC_LITERAL(22, 305, 8) // "panelPos"

    },
    "UkuiMenu::MenuWindow\0effectEnabledChanged\0"
    "\0transparencyChanged\0fullScreenChanged\0"
    "beforeFullScreenChanged\0beforeFullScreenExited\0"
    "panelPosChanged\0editModeChanged\0"
    "changeWindowBlurRegion\0x\0y\0width\0"
    "height\0normalScreenSize\0exitFullScreen\0"
    "enableWindowBlur\0enable\0isFullScreen\0"
    "effectEnabled\0editMode\0transparency\0"
    "panelPos"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__MenuWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    0,   72,    2, 0x06 /* Public */,
       6,    0,   73,    2, 0x06 /* Public */,
       7,    0,   74,    2, 0x06 /* Public */,
       8,    0,   75,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       9,    4,   76,    2, 0x02 /* Public */,
      14,    0,   85,    2, 0x02 /* Public */,
      15,    0,   86,    2, 0x02 /* Public */,
      16,    1,   87,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   10,   11,   12,   13,
    QMetaType::QRect,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   17,

 // properties: name, type, flags
      18, QMetaType::Bool, 0x00495003,
      19, QMetaType::Bool, 0x00495001,
      20, QMetaType::Bool, 0x00495103,
      21, QMetaType::Double, 0x00495001,
      22, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       2,
       0,
       6,
       1,
       5,

       0        // eod
};

void UkuiMenu::MenuWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MenuWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->effectEnabledChanged(); break;
        case 1: _t->transparencyChanged(); break;
        case 2: _t->fullScreenChanged(); break;
        case 3: _t->beforeFullScreenChanged(); break;
        case 4: _t->beforeFullScreenExited(); break;
        case 5: _t->panelPosChanged(); break;
        case 6: _t->editModeChanged(); break;
        case 7: _t->changeWindowBlurRegion((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 8: { QRect _r = _t->normalScreenSize();
            if (_a[0]) *reinterpret_cast< QRect*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->exitFullScreen(); break;
        case 10: _t->enableWindowBlur((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MenuWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MenuWindow::effectEnabledChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MenuWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MenuWindow::transparencyChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (MenuWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MenuWindow::fullScreenChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (MenuWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MenuWindow::beforeFullScreenChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (MenuWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MenuWindow::beforeFullScreenExited)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (MenuWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MenuWindow::panelPosChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (MenuWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MenuWindow::editModeChanged)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<MenuWindow *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isFullScreen(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->effectEnabled(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->editMode(); break;
        case 3: *reinterpret_cast< double*>(_v) = _t->transparency(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->panelPos(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<MenuWindow *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFullScreen(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setEditMode(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::MenuWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickView::staticMetaObject>(),
    qt_meta_stringdata_UkuiMenu__MenuWindow.data,
    qt_meta_data_UkuiMenu__MenuWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *UkuiMenu::MenuWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_UkuiMenu__MenuWindow.stringdata0))
        return static_cast<void*>(this);
    return QQuickView::qt_metacast(_clname);
}

int UkuiMenu::MenuWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickView::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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void UkuiMenu::MenuWindow::effectEnabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void UkuiMenu::MenuWindow::transparencyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void UkuiMenu::MenuWindow::fullScreenChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void UkuiMenu::MenuWindow::beforeFullScreenChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void UkuiMenu::MenuWindow::beforeFullScreenExited()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void UkuiMenu::MenuWindow::panelPosChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void UkuiMenu::MenuWindow::editModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
