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

template <> constexpr inline auto PopupDropperItem::qt_create_metaobjectdata<qt_meta_tag_ZN16PopupDropperItemE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PopupDropperItem",
        "dropped",
        "",
        "QDropEvent*",
        "event",
        "hoverFinished",
        "hoverFrameChanged",
        "frame",
        "hoverIndicatorShowStyle",
        "HoverIndicatorShowStyle",
        "orientation",
        "Orientation",
        "textProtection",
        "TextProtection",
        "action",
        "QAction*",
        "text",
        "font",
        "QFont",
        "textItem",
        "QGraphicsTextItem*",
        "borderRectItem",
        "QGraphicsRectItem*",
        "svgItem",
        "QGraphicsSvgItem*",
        "sharedRenderer",
        "QSvgRenderer*",
        "elementId",
        "svgElementRect",
        "QRect",
        "horizontalOffset",
        "textOffset",
        "hoverMsecs",
        "borderWidth",
        "hoverIndicatorRectWidth",
        "submenuTrigger",
        "baseTextColor",
        "QColor",
        "hoveredTextColor",
        "hoveredBorderPen",
        "QPen",
        "hoveredBrush",
        "QBrush",
        "hoverIndicatorBrush",
        "customBaseTextColor",
        "customHoveredTextColor",
        "customHoveredBorderPen",
        "customHoveredFillBrush",
        "subitemOpacity",
        "separator",
        "separatorStyle",
        "PopupDropperItem::SeparatorStyle",
        "hasLineSeparatorPen",
        "lineSeparatorPen",
        "Never",
        "OnHover",
        "AlwaysShow",
        "Left",
        "Right",
        "NoProtection",
        "MultiLine",
        "ScaleFont",
        "SeparatorStyle",
        "TextSeparator",
        "LineSeparator"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'dropped'
        QtMocHelpers::SlotData<void(QDropEvent *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'hoverFinished'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hoverFrameChanged'
        QtMocHelpers::SlotData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'hoverIndicatorShowStyle'
        QtMocHelpers::PropertyData<enum HoverIndicatorShowStyle>(8, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'orientation'
        QtMocHelpers::PropertyData<enum Orientation>(10, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'textProtection'
        QtMocHelpers::PropertyData<enum TextProtection>(12, 0x80000000 | 13, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'action'
        QtMocHelpers::PropertyData<QAction*>(14, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'text'
        QtMocHelpers::PropertyData<QString>(16, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'font'
        QtMocHelpers::PropertyData<QFont>(17, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'textItem'
        QtMocHelpers::PropertyData<QGraphicsTextItem*>(19, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'borderRectItem'
        QtMocHelpers::PropertyData<QGraphicsRectItem*>(21, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'svgItem'
        QtMocHelpers::PropertyData<QGraphicsSvgItem*>(23, 0x80000000 | 24, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'sharedRenderer'
        QtMocHelpers::PropertyData<QSvgRenderer*>(25, 0x80000000 | 26, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'elementId'
        QtMocHelpers::PropertyData<QString>(27, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'svgElementRect'
        QtMocHelpers::PropertyData<QRect>(28, 0x80000000 | 29, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'horizontalOffset'
        QtMocHelpers::PropertyData<int>(30, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'textOffset'
        QtMocHelpers::PropertyData<int>(31, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'hoverMsecs'
        QtMocHelpers::PropertyData<int>(32, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'borderWidth'
        QtMocHelpers::PropertyData<int>(33, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'hoverIndicatorRectWidth'
        QtMocHelpers::PropertyData<int>(34, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'submenuTrigger'
        QtMocHelpers::PropertyData<bool>(35, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'baseTextColor'
        QtMocHelpers::PropertyData<QColor>(36, 0x80000000 | 37, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'hoveredTextColor'
        QtMocHelpers::PropertyData<QColor>(38, 0x80000000 | 37, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'hoveredBorderPen'
        QtMocHelpers::PropertyData<QPen>(39, 0x80000000 | 40, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'hoveredBrush'
        QtMocHelpers::PropertyData<QBrush>(41, 0x80000000 | 42, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
        // property 'hoverIndicatorBrush'
        QtMocHelpers::PropertyData<QBrush>(43, 0x80000000 | 42, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
        // property 'customBaseTextColor'
        QtMocHelpers::PropertyData<bool>(44, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'customHoveredTextColor'
        QtMocHelpers::PropertyData<bool>(45, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'customHoveredBorderPen'
        QtMocHelpers::PropertyData<bool>(46, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'customHoveredFillBrush'
        QtMocHelpers::PropertyData<bool>(47, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'subitemOpacity'
        QtMocHelpers::PropertyData<qreal>(48, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'separator'
        QtMocHelpers::PropertyData<bool>(49, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'separatorStyle'
        QtMocHelpers::PropertyData<PopupDropperItem::SeparatorStyle>(50, 0x80000000 | 51, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'hasLineSeparatorPen'
        QtMocHelpers::PropertyData<bool>(52, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'lineSeparatorPen'
        QtMocHelpers::PropertyData<QPen>(53, 0x80000000 | 40, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'HoverIndicatorShowStyle'
        QtMocHelpers::EnumData<enum HoverIndicatorShowStyle>(9, 9, QMC::EnumFlags{}).add({
            {   54, HoverIndicatorShowStyle::Never },
            {   55, HoverIndicatorShowStyle::OnHover },
            {   56, HoverIndicatorShowStyle::AlwaysShow },
        }),
        // enum 'Orientation'
        QtMocHelpers::EnumData<enum Orientation>(11, 11, QMC::EnumFlags{}).add({
            {   57, Orientation::Left },
            {   58, Orientation::Right },
        }),
        // enum 'TextProtection'
        QtMocHelpers::EnumData<enum TextProtection>(13, 13, QMC::EnumFlags{}).add({
            {   59, TextProtection::NoProtection },
            {   60, TextProtection::MultiLine },
            {   61, TextProtection::ScaleFont },
        }),
        // enum 'SeparatorStyle'
        QtMocHelpers::EnumData<enum SeparatorStyle>(62, 62, QMC::EnumFlags{}).add({
            {   63, SeparatorStyle::TextSeparator },
            {   64, SeparatorStyle::LineSeparator },
        }),
    };
    return QtMocHelpers::metaObjectData<PopupDropperItem, qt_meta_tag_ZN16PopupDropperItemE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PopupDropperItem::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16PopupDropperItemE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16PopupDropperItemE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16PopupDropperItemE_t>.metaTypes,
    nullptr
} };

void PopupDropperItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PopupDropperItem *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->dropped((*reinterpret_cast<std::add_pointer_t<QDropEvent*>>(_a[1]))); break;
        case 1: _t->hoverFinished(); break;
        case 2: _t->hoverFrameChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGraphicsSvgItem* >(); break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGraphicsTextItem* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<enum HoverIndicatorShowStyle*>(_v) = _t->hoverIndicatorShowStyle(); break;
        case 1: *reinterpret_cast<enum Orientation*>(_v) = _t->orientation(); break;
        case 2: *reinterpret_cast<enum TextProtection*>(_v) = _t->textProtection(); break;
        case 3: *reinterpret_cast<QAction**>(_v) = _t->action(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->text(); break;
        case 5: *reinterpret_cast<QFont*>(_v) = _t->font(); break;
        case 6: *reinterpret_cast<QGraphicsTextItem**>(_v) = _t->textItem(); break;
        case 7: *reinterpret_cast<QGraphicsRectItem**>(_v) = _t->borderRectItem(); break;
        case 8: *reinterpret_cast<QGraphicsSvgItem**>(_v) = _t->svgItem(); break;
        case 9: *reinterpret_cast<QSvgRenderer**>(_v) = _t->sharedRenderer(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->elementId(); break;
        case 11: *reinterpret_cast<QRect*>(_v) = _t->svgElementRect(); break;
        case 12: *reinterpret_cast<int*>(_v) = _t->horizontalOffset(); break;
        case 13: *reinterpret_cast<int*>(_v) = _t->textOffset(); break;
        case 14: *reinterpret_cast<int*>(_v) = _t->hoverMsecs(); break;
        case 15: *reinterpret_cast<int*>(_v) = _t->borderWidth(); break;
        case 16: *reinterpret_cast<int*>(_v) = _t->hoverIndicatorRectWidth(); break;
        case 17: *reinterpret_cast<bool*>(_v) = _t->isSubmenuTrigger(); break;
        case 18: *reinterpret_cast<QColor*>(_v) = _t->baseTextColor(); break;
        case 19: *reinterpret_cast<QColor*>(_v) = _t->hoveredTextColor(); break;
        case 20: *reinterpret_cast<QPen*>(_v) = _t->hoveredBorderPen(); break;
        case 21: *reinterpret_cast<QBrush*>(_v) = _t->hoveredFillBrush(); break;
        case 22: *reinterpret_cast<QBrush*>(_v) = _t->hoverIndicatorFillBrush(); break;
        case 23: *reinterpret_cast<bool*>(_v) = _t->customBaseTextColor(); break;
        case 24: *reinterpret_cast<bool*>(_v) = _t->customHoveredTextColor(); break;
        case 25: *reinterpret_cast<bool*>(_v) = _t->customHoveredBorderPen(); break;
        case 26: *reinterpret_cast<bool*>(_v) = _t->customHoveredFillBrush(); break;
        case 27: *reinterpret_cast<qreal*>(_v) = _t->subitemOpacity(); break;
        case 28: *reinterpret_cast<bool*>(_v) = _t->isSeparator(); break;
        case 29: *reinterpret_cast<PopupDropperItem::SeparatorStyle*>(_v) = _t->separatorStyle(); break;
        case 30: *reinterpret_cast<bool*>(_v) = _t->hasLineSeparatorPen(); break;
        case 31: *reinterpret_cast<QPen*>(_v) = _t->lineSeparatorPen(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setHoverIndicatorShowStyle(*reinterpret_cast<enum HoverIndicatorShowStyle*>(_v)); break;
        case 1: _t->setOrientation(*reinterpret_cast<enum Orientation*>(_v)); break;
        case 2: _t->setTextProtection(*reinterpret_cast<enum TextProtection*>(_v)); break;
        case 3: _t->setAction(*reinterpret_cast<QAction**>(_v)); break;
        case 4: _t->setText(*reinterpret_cast<QString*>(_v)); break;
        case 5: _t->setFont(*reinterpret_cast<QFont*>(_v)); break;
        case 6: _t->setTextItem(*reinterpret_cast<QGraphicsTextItem**>(_v)); break;
        case 7: _t->setBorderRectItem(*reinterpret_cast<QGraphicsRectItem**>(_v)); break;
        case 9: _t->setSharedRenderer(*reinterpret_cast<QSvgRenderer**>(_v)); break;
        case 10: _t->setElementId(*reinterpret_cast<QString*>(_v)); break;
        case 11: _t->setSvgElementRect(*reinterpret_cast<QRect*>(_v)); break;
        case 12: _t->setHorizontalOffset(*reinterpret_cast<int*>(_v)); break;
        case 13: _t->setTextOffset(*reinterpret_cast<int*>(_v)); break;
        case 14: _t->setHoverMsecs(*reinterpret_cast<int*>(_v)); break;
        case 15: _t->setBorderWidth(*reinterpret_cast<int*>(_v)); break;
        case 16: _t->setHoverIndicatorRectWidth(*reinterpret_cast<int*>(_v)); break;
        case 17: _t->setSubmenuTrigger(*reinterpret_cast<bool*>(_v)); break;
        case 18: _t->setBaseTextColor(*reinterpret_cast<QColor*>(_v)); break;
        case 19: _t->setHoveredTextColor(*reinterpret_cast<QColor*>(_v)); break;
        case 20: _t->setHoveredBorderPen(*reinterpret_cast<QPen*>(_v)); break;
        case 21: _t->setHoveredFillBrush(*reinterpret_cast<QBrush*>(_v)); break;
        case 22: _t->setHoverIndicatorFillBrush(*reinterpret_cast<QBrush*>(_v)); break;
        case 27: _t->setSubitemOpacity(*reinterpret_cast<qreal*>(_v)); break;
        case 28: _t->setSeparator(*reinterpret_cast<bool*>(_v)); break;
        case 29: _t->setSeparatorStyle(*reinterpret_cast<PopupDropperItem::SeparatorStyle*>(_v)); break;
        case 31: _t->setLineSeparatorPen(*reinterpret_cast<QPen*>(_v)); break;
        default: break;
        }
    }
}

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

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

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