/****************************************************************************
** Meta object code from reading C++ file 'lxqtpanel.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 "../../../../lxqt-panel-2.4.0/panel/lxqtpanel.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 'lxqtpanel.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_ZN9LXQtPanelE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQtPanel::qt_create_metaobjectdata<qt_meta_tag_ZN9LXQtPanelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQtPanel",
        "realigned",
        "",
        "deletedByUser",
        "LXQtPanel*",
        "self",
        "pluginAdded",
        "pluginRemoved",
        "show",
        "showPanel",
        "animate",
        "hidePanel",
        "hidePanelWork",
        "setPanelSize",
        "value",
        "save",
        "setIconSize",
        "setLineCount",
        "setLength",
        "length",
        "inPercents",
        "setPosition",
        "screen",
        "ILXQtPanel::Position",
        "position",
        "setAlignment",
        "LXQtPanel::Alignment",
        "setFontColor",
        "QColor",
        "color",
        "setBackgroundColor",
        "setBackgroundImage",
        "path",
        "setOpacity",
        "opacity",
        "setReserveSpace",
        "reserveSpace",
        "setHidable",
        "hidable",
        "setVisibleMargin",
        "visibleMargin",
        "setHideOnOverlap",
        "hideOnOverlap",
        "setAnimationTime",
        "animationTime",
        "setShowDelay",
        "showDelay",
        "setIconTheme",
        "iconTheme",
        "saveSettings",
        "later",
        "ensureVisible",
        "showConfigDialog",
        "showAddPluginDialog",
        "realign",
        "pluginMoved",
        "Plugin*",
        "plug",
        "userRequestForDeletion"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'realigned'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deletedByUser'
        QtMocHelpers::SignalData<void(LXQtPanel *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'pluginAdded'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'pluginRemoved'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'show'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showPanel'
        QtMocHelpers::SlotData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'hidePanel'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hidePanelWork'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setPanelSize'
        QtMocHelpers::SlotData<void(int, bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setIconSize'
        QtMocHelpers::SlotData<void(int, bool)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setLineCount'
        QtMocHelpers::SlotData<void(int, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setLength'
        QtMocHelpers::SlotData<void(int, bool, bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 19 }, { QMetaType::Bool, 20 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setPosition'
        QtMocHelpers::SlotData<void(int, ILXQtPanel::Position, bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { 0x80000000 | 23, 24 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setAlignment'
        QtMocHelpers::SlotData<void(LXQtPanel::Alignment, bool)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 26, 14 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setFontColor'
        QtMocHelpers::SlotData<void(QColor, bool)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setBackgroundColor'
        QtMocHelpers::SlotData<void(QColor, bool)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setBackgroundImage'
        QtMocHelpers::SlotData<void(QString, bool)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 32 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setOpacity'
        QtMocHelpers::SlotData<void(int, bool)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 34 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setReserveSpace'
        QtMocHelpers::SlotData<void(bool, bool)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 36 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setHidable'
        QtMocHelpers::SlotData<void(bool, bool)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 38 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setVisibleMargin'
        QtMocHelpers::SlotData<void(bool, bool)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 40 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setHideOnOverlap'
        QtMocHelpers::SlotData<void(bool, bool)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 42 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setAnimationTime'
        QtMocHelpers::SlotData<void(int, bool)>(43, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 44 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setShowDelay'
        QtMocHelpers::SlotData<void(int, bool)>(45, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 46 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'setIconTheme'
        QtMocHelpers::SlotData<void(const QString &)>(47, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 48 },
        }}),
        // Slot 'saveSettings'
        QtMocHelpers::SlotData<void(bool)>(49, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 50 },
        }}),
        // Slot 'saveSettings'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'ensureVisible'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showConfigDialog'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showAddPluginDialog'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'realign'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pluginMoved'
        QtMocHelpers::SlotData<void(Plugin *)>(55, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 56, 57 },
        }}),
        // Slot 'userRequestForDeletion'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'position'
        QtMocHelpers::PropertyData<QString>(24, QMetaType::QString, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LXQtPanel, qt_meta_tag_ZN9LXQtPanelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQtPanel::staticMetaObject = { {
    QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9LXQtPanelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9LXQtPanelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9LXQtPanelE_t>.metaTypes,
    nullptr
} };

void LXQtPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LXQtPanel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->realigned(); break;
        case 1: _t->deletedByUser((*reinterpret_cast<std::add_pointer_t<LXQtPanel*>>(_a[1]))); break;
        case 2: _t->pluginAdded(); break;
        case 3: _t->pluginRemoved(); break;
        case 4: _t->show(); break;
        case 5: _t->showPanel((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->hidePanel(); break;
        case 7: _t->hidePanelWork(); break;
        case 8: _t->setPanelSize((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 9: _t->setIconSize((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 10: _t->setLineCount((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 11: _t->setLength((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 12: _t->setPosition((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ILXQtPanel::Position>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 13: _t->setAlignment((*reinterpret_cast<std::add_pointer_t<LXQtPanel::Alignment>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 14: _t->setFontColor((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 15: _t->setBackgroundColor((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 16: _t->setBackgroundImage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 17: _t->setOpacity((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 18: _t->setReserveSpace((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 19: _t->setHidable((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 20: _t->setVisibleMargin((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 21: _t->setHideOnOverlap((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 22: _t->setAnimationTime((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 23: _t->setShowDelay((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 24: _t->setIconTheme((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 25: _t->saveSettings((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 26: _t->saveSettings(); break;
        case 27: _t->ensureVisible(); break;
        case 28: _t->showConfigDialog(); break;
        case 29: _t->showAddPluginDialog(); break;
        case 30: _t->realign(); break;
        case 31: _t->pluginMoved((*reinterpret_cast<std::add_pointer_t<Plugin*>>(_a[1]))); break;
        case 32: _t->userRequestForDeletion(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< LXQtPanel* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LXQtPanel::*)()>(_a, &LXQtPanel::realigned, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPanel::*)(LXQtPanel * )>(_a, &LXQtPanel::deletedByUser, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPanel::*)()>(_a, &LXQtPanel::pluginAdded, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPanel::*)()>(_a, &LXQtPanel::pluginRemoved, 3))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->qssPosition(); break;
        default: break;
        }
    }
}

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

void *LXQtPanel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9LXQtPanelE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ILXQtPanel"))
        return static_cast< ILXQtPanel*>(this);
    return QFrame::qt_metacast(_clname);
}

int LXQtPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 33)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 33;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 33)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 33;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void LXQtPanel::realigned()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void LXQtPanel::deletedByUser(LXQtPanel * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void LXQtPanel::pluginAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void LXQtPanel::pluginRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
