/****************************************************************************
** Meta object code from reading C++ file 'lxqttaskgroup.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/plugin-taskbar/lxqttaskgroup.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 'lxqttaskgroup.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_ZN13LXQtTaskGroupE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQtTaskGroup::qt_create_metaobjectdata<qt_meta_tag_ZN13LXQtTaskGroupE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQtTaskGroup",
        "groupBecomeEmpty",
        "",
        "name",
        "visibilityChanged",
        "visible",
        "popupShown",
        "LXQtTaskGroup*",
        "sender",
        "onWindowRemoved",
        "WId",
        "window",
        "onClicked",
        "checked",
        "onChildButtonClicked",
        "onActiveWindowChanged",
        "onDesktopChanged",
        "number",
        "closeGroup",
        "refreshIconsGeometry",
        "refreshVisibility",
        "groupPopupShown"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'groupBecomeEmpty'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'visibilityChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'popupShown'
        QtMocHelpers::SignalData<void(LXQtTaskGroup *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'onWindowRemoved'
        QtMocHelpers::SlotData<void(WId)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'onClicked'
        QtMocHelpers::SlotData<void(bool)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'onChildButtonClicked'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onActiveWindowChanged'
        QtMocHelpers::SlotData<void(WId)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'onDesktopChanged'
        QtMocHelpers::SlotData<void(int)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 17 },
        }}),
        // Slot 'closeGroup'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'refreshIconsGeometry'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'refreshVisibility'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'groupPopupShown'
        QtMocHelpers::SlotData<void(LXQtTaskGroup *)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LXQtTaskGroup, qt_meta_tag_ZN13LXQtTaskGroupE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQtTaskGroup::staticMetaObject = { {
    QMetaObject::SuperData::link<LXQtTaskButton::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13LXQtTaskGroupE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13LXQtTaskGroupE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13LXQtTaskGroupE_t>.metaTypes,
    nullptr
} };

void LXQtTaskGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LXQtTaskGroup *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->groupBecomeEmpty((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->visibilityChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->popupShown((*reinterpret_cast<std::add_pointer_t<LXQtTaskGroup*>>(_a[1]))); break;
        case 3: _t->onWindowRemoved((*reinterpret_cast<std::add_pointer_t<WId>>(_a[1]))); break;
        case 4: _t->onClicked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->onChildButtonClicked(); break;
        case 6: _t->onActiveWindowChanged((*reinterpret_cast<std::add_pointer_t<WId>>(_a[1]))); break;
        case 7: _t->onDesktopChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->closeGroup(); break;
        case 9: _t->refreshIconsGeometry(); break;
        case 10: _t->refreshVisibility(); break;
        case 11: _t->groupPopupShown((*reinterpret_cast<std::add_pointer_t<LXQtTaskGroup*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< LXQtTaskGroup* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< LXQtTaskGroup* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LXQtTaskGroup::*)(QString )>(_a, &LXQtTaskGroup::groupBecomeEmpty, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtTaskGroup::*)(bool )>(_a, &LXQtTaskGroup::visibilityChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtTaskGroup::*)(LXQtTaskGroup * )>(_a, &LXQtTaskGroup::popupShown, 2))
            return;
    }
}

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

void *LXQtTaskGroup::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13LXQtTaskGroupE_t>.strings))
        return static_cast<void*>(this);
    return LXQtTaskButton::qt_metacast(_clname);
}

int LXQtTaskGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = LXQtTaskButton::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void LXQtTaskGroup::groupBecomeEmpty(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void LXQtTaskGroup::visibilityChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void LXQtTaskGroup::popupShown(LXQtTaskGroup * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
QT_WARNING_POP
