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

#include "../../../liblxqt-2.4.0/lxqtrotatedwidget.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lxqtrotatedwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN4LXQt13RotatedWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQt::RotatedWidget::qt_create_metaobjectdata<qt_meta_tag_ZN4LXQt13RotatedWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQt::RotatedWidget",
        "origin",
        "Qt::Corner",
        "transferMousePressEvent",
        "transferMouseReleaseEvent",
        "transferMouseDoubleClickEvent",
        "transferMouseMoveEvent",
        "transferWheelEvent",
        "transferEnterEvent",
        "transferLeaveEvent"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'origin'
        QtMocHelpers::PropertyData<Qt::Corner>(1, 0x80000000 | 2, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'transferMousePressEvent'
        QtMocHelpers::PropertyData<bool>(3, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'transferMouseReleaseEvent'
        QtMocHelpers::PropertyData<bool>(4, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'transferMouseDoubleClickEvent'
        QtMocHelpers::PropertyData<bool>(5, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'transferMouseMoveEvent'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'transferWheelEvent'
        QtMocHelpers::PropertyData<bool>(7, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'transferEnterEvent'
        QtMocHelpers::PropertyData<bool>(8, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'transferLeaveEvent'
        QtMocHelpers::PropertyData<bool>(9, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RotatedWidget, qt_meta_tag_ZN4LXQt13RotatedWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQt::RotatedWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt13RotatedWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt13RotatedWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4LXQt13RotatedWidgetE_t>.metaTypes,
    nullptr
} };

void LXQt::RotatedWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RotatedWidget *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<Qt::Corner*>(_v) = _t->origin(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->transferMousePressEvent(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->transferMouseReleaseEvent(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->transferMouseDoubleClickEvent(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->transferMouseMoveEvent(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->transferWheelEvent(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->transferEnterEvent(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->transferLeaveEvent(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setOrigin(*reinterpret_cast<Qt::Corner*>(_v)); break;
        case 1: _t->setTransferMousePressEvent(*reinterpret_cast<bool*>(_v)); break;
        case 2: _t->setTransferMouseReleaseEvent(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setTransferMouseDoubleClickEvent(*reinterpret_cast<bool*>(_v)); break;
        case 4: _t->setTransferMouseMoveEvent(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setTransferWheelEvent(*reinterpret_cast<bool*>(_v)); break;
        case 6: _t->setTransferEnterEvent(*reinterpret_cast<bool*>(_v)); break;
        case 7: _t->setTransferLeaveEvent(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *LXQt::RotatedWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt13RotatedWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int LXQt::RotatedWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}
QT_WARNING_POP
