/****************************************************************************
** Meta object code from reading C++ file 'volumepopup.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-volume/volumepopup.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 'volumepopup.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_ZN11VolumePopupE_t {};
} // unnamed namespace

template <> constexpr inline auto VolumePopup::qt_create_metaobjectdata<qt_meta_tag_ZN11VolumePopupE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VolumePopup",
        "mouseEntered",
        "",
        "mouseLeft",
        "deviceChanged",
        "launchMixer",
        "stockIconChanged",
        "iconName",
        "defaultSinkRequested",
        "AudioDevice*",
        "device",
        "popupHidden",
        "handleSliderValueChanged",
        "value",
        "handleMuteToggleClicked",
        "handleSetDefaultClicked",
        "handleDeviceVolumeChanged",
        "volume",
        "handleDeviceMuteChanged",
        "mute",
        "onDefaultSinkVolumeOrMuteChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'mouseEntered'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'mouseLeft'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deviceChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'launchMixer'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'stockIconChanged'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'defaultSinkRequested'
        QtMocHelpers::SignalData<void(AudioDevice *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Signal 'popupHidden'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleSliderValueChanged'
        QtMocHelpers::SlotData<void(int)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 13 },
        }}),
        // Slot 'handleMuteToggleClicked'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'handleSetDefaultClicked'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'handleDeviceVolumeChanged'
        QtMocHelpers::SlotData<void(AudioDevice *, int)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { QMetaType::Int, 17 },
        }}),
        // Slot 'handleDeviceMuteChanged'
        QtMocHelpers::SlotData<void(AudioDevice *, bool)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { QMetaType::Bool, 19 },
        }}),
        // Slot 'onDefaultSinkVolumeOrMuteChanged'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<VolumePopup, qt_meta_tag_ZN11VolumePopupE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject VolumePopup::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11VolumePopupE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11VolumePopupE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11VolumePopupE_t>.metaTypes,
    nullptr
} };

void VolumePopup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VolumePopup *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->mouseEntered(); break;
        case 1: _t->mouseLeft(); break;
        case 2: _t->deviceChanged(); break;
        case 3: _t->launchMixer(); break;
        case 4: _t->stockIconChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->defaultSinkRequested((*reinterpret_cast<std::add_pointer_t<AudioDevice*>>(_a[1]))); break;
        case 6: _t->popupHidden(); break;
        case 7: _t->handleSliderValueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->handleMuteToggleClicked(); break;
        case 9: _t->handleSetDefaultClicked(); break;
        case 10: _t->handleDeviceVolumeChanged((*reinterpret_cast<std::add_pointer_t<AudioDevice*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 11: _t->handleDeviceMuteChanged((*reinterpret_cast<std::add_pointer_t<AudioDevice*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 12: _t->onDefaultSinkVolumeOrMuteChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (VolumePopup::*)()>(_a, &VolumePopup::mouseEntered, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (VolumePopup::*)()>(_a, &VolumePopup::mouseLeft, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (VolumePopup::*)()>(_a, &VolumePopup::deviceChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (VolumePopup::*)()>(_a, &VolumePopup::launchMixer, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (VolumePopup::*)(const QString & )>(_a, &VolumePopup::stockIconChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (VolumePopup::*)(AudioDevice * )>(_a, &VolumePopup::defaultSinkRequested, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (VolumePopup::*)()>(_a, &VolumePopup::popupHidden, 6))
            return;
    }
}

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

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

int VolumePopup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    return _id;
}

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

// SIGNAL 1
void VolumePopup::mouseLeft()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

// SIGNAL 3
void VolumePopup::launchMixer()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void VolumePopup::stockIconChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void VolumePopup::defaultSinkRequested(AudioDevice * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void VolumePopup::popupHidden()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
