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

#include "../../../../../amarok-3.3.3/src/context/popupdropper/libpud/PopupDropper.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 'PopupDropper.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN12PopupDropperE_t {};
} // unnamed namespace

template <> constexpr inline auto PopupDropper::qt_create_metaobjectdata<qt_meta_tag_ZN12PopupDropperE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PopupDropper",
        "fadeHideFinished",
        "",
        "clear",
        "hide",
        "subtractOverlay",
        "activateSubmenu",
        "slotHideAllOverlays",
        "fading",
        "Fading",
        "overlayLevel",
        "deleteTimeout",
        "standalone",
        "quitOnDragLeave",
        "windowColor",
        "QColor",
        "windowBackgroundBrush",
        "QBrush",
        "baseTextColor",
        "hoveredBorderPen",
        "QPen",
        "hoveredFillBrush",
        "windowTitle",
        "svgFile",
        "svgRenderer",
        "QSvgRenderer*",
        "horizontalOffset",
        "fadeHideTimer",
        "const QTimeLine*",
        "fadeShowTimer",
        "viewSize",
        "QSize",
        "NoFade",
        "FadeIn",
        "FadeOut",
        "FadeInOut"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'fadeHideFinished'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hide'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'subtractOverlay'
        QtMocHelpers::SlotData<bool()>(5, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'activateSubmenu'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotHideAllOverlays'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'fading'
        QtMocHelpers::PropertyData<enum Fading>(8, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'overlayLevel'
        QtMocHelpers::PropertyData<int>(10, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'deleteTimeout'
        QtMocHelpers::PropertyData<int>(11, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'standalone'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'quitOnDragLeave'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'windowColor'
        QtMocHelpers::PropertyData<QColor>(14, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'windowBackgroundBrush'
        QtMocHelpers::PropertyData<QBrush>(16, 0x80000000 | 17, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'baseTextColor'
        QtMocHelpers::PropertyData<QColor>(18, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'hoveredBorderPen'
        QtMocHelpers::PropertyData<QPen>(19, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'hoveredFillBrush'
        QtMocHelpers::PropertyData<QBrush>(21, 0x80000000 | 17, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'windowTitle'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'svgFile'
        QtMocHelpers::PropertyData<QString>(23, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'svgRenderer'
        QtMocHelpers::PropertyData<QSvgRenderer*>(24, 0x80000000 | 25, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'horizontalOffset'
        QtMocHelpers::PropertyData<int>(26, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'fadeHideTimer'
        QtMocHelpers::PropertyData<const QTimeLine*>(27, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'fadeShowTimer'
        QtMocHelpers::PropertyData<const QTimeLine*>(29, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'viewSize'
        QtMocHelpers::PropertyData<QSize>(30, 0x80000000 | 31, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Fading'
        QtMocHelpers::EnumData<enum Fading>(9, 9, QMC::EnumFlags{}).add({
            {   32, Fading::NoFade },
            {   33, Fading::FadeIn },
            {   34, Fading::FadeOut },
            {   35, Fading::FadeInOut },
        }),
    };
    return QtMocHelpers::metaObjectData<PopupDropper, qt_meta_tag_ZN12PopupDropperE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PopupDropper::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PopupDropperE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PopupDropperE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12PopupDropperE_t>.metaTypes,
    nullptr
} };

void PopupDropper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PopupDropper *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->fadeHideFinished(); break;
        case 1: _t->clear(); break;
        case 2: _t->hide(); break;
        case 3: { bool _r = _t->subtractOverlay();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->activateSubmenu(); break;
        case 5: _t->slotHideAllOverlays(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PopupDropper::*)()>(_a, &PopupDropper::fadeHideFinished, 0))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 12:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSvgRenderer* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<enum Fading*>(_v) = _t->fading(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->overlayLevel(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->deleteTimeout(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->standalone(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->quitOnDragLeave(); break;
        case 5: *reinterpret_cast<QColor*>(_v) = _t->windowColor(); break;
        case 6: *reinterpret_cast<QBrush*>(_v) = _t->windowBackgroundBrush(); break;
        case 7: *reinterpret_cast<QColor*>(_v) = _t->baseTextColor(); break;
        case 8: *reinterpret_cast<QPen*>(_v) = _t->hoveredBorderPen(); break;
        case 9: *reinterpret_cast<QBrush*>(_v) = _t->hoveredFillBrush(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->windowTitle(); break;
        case 11: *reinterpret_cast<QString*>(_v) = _t->svgFile(); break;
        case 12: *reinterpret_cast<QSvgRenderer**>(_v) = _t->svgRenderer(); break;
        case 13: *reinterpret_cast<int*>(_v) = _t->horizontalOffset(); break;
        case 14: *reinterpret_cast<const QTimeLine**>(_v) = _t->fadeHideTimer(); break;
        case 15: *reinterpret_cast<const QTimeLine**>(_v) = _t->fadeShowTimer(); break;
        case 16: *reinterpret_cast<QSize*>(_v) = _t->viewSize(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFading(*reinterpret_cast<enum Fading*>(_v)); break;
        case 2: _t->setDeleteTimeout(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setQuitOnDragLeave(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setWindowColor(*reinterpret_cast<QColor*>(_v)); break;
        case 6: _t->setWindowBackgroundBrush(*reinterpret_cast<QBrush*>(_v)); break;
        case 7: _t->setBaseTextColor(*reinterpret_cast<QColor*>(_v)); break;
        case 8: _t->setHoveredBorderPen(*reinterpret_cast<QPen*>(_v)); break;
        case 9: _t->setHoveredFillBrush(*reinterpret_cast<QBrush*>(_v)); break;
        case 10: _t->setWindowTitle(*reinterpret_cast<QString*>(_v)); break;
        case 11: _t->setSvgFile(*reinterpret_cast<QString*>(_v)); break;
        case 12: _t->setSvgRenderer(*reinterpret_cast<QSvgRenderer**>(_v)); break;
        case 13: _t->setHorizontalOffset(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

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

int PopupDropper::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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 6;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void PopupDropper::fadeHideFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
