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

template <> constexpr inline auto ConstraintTypes::PlaylistLength::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes14PlaylistLengthE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::PlaylistLength",
        "setComparison",
        "",
        "setLength",
        "setStrictness"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'setComparison'
        QtMocHelpers::SlotData<void(const int)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setLength'
        QtMocHelpers::SlotData<void(const int)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setStrictness'
        QtMocHelpers::SlotData<void(const int)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PlaylistLength, qt_meta_tag_ZN15ConstraintTypes14PlaylistLengthE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::PlaylistLength::staticMetaObject = { {
    QMetaObject::SuperData::link<Constraint::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes14PlaylistLengthE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes14PlaylistLengthE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes14PlaylistLengthE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::PlaylistLength::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlaylistLength *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->setComparison((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->setLength((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->setStrictness((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
}

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

void *ConstraintTypes::PlaylistLength::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes14PlaylistLengthE_t>.strings))
        return static_cast<void*>(this);
    return Constraint::qt_metacast(_clname);
}

int ConstraintTypes::PlaylistLength::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Constraint::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;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN15ConstraintTypes24PlaylistLengthEditWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto ConstraintTypes::PlaylistLengthEditWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes24PlaylistLengthEditWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::PlaylistLengthEditWidget",
        "updated",
        "",
        "lengthChanged",
        "comparisonChanged",
        "strictnessChanged",
        "on_spinBox_Length_valueChanged",
        "on_comboBox_Comparison_currentIndexChanged",
        "on_slider_Strictness_valueChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'updated'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'lengthChanged'
        QtMocHelpers::SignalData<void(const int)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'comparisonChanged'
        QtMocHelpers::SignalData<void(const int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'strictnessChanged'
        QtMocHelpers::SignalData<void(const int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_spinBox_Length_valueChanged'
        QtMocHelpers::SlotData<void(const int)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_comboBox_Comparison_currentIndexChanged'
        QtMocHelpers::SlotData<void(const int)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_slider_Strictness_valueChanged'
        QtMocHelpers::SlotData<void(const int)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PlaylistLengthEditWidget, qt_meta_tag_ZN15ConstraintTypes24PlaylistLengthEditWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::PlaylistLengthEditWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes24PlaylistLengthEditWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes24PlaylistLengthEditWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes24PlaylistLengthEditWidgetE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::PlaylistLengthEditWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlaylistLengthEditWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updated(); break;
        case 1: _t->lengthChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->comparisonChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->strictnessChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->on_spinBox_Length_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->on_comboBox_Comparison_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->on_slider_Strictness_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PlaylistLengthEditWidget::*)()>(_a, &PlaylistLengthEditWidget::updated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistLengthEditWidget::*)(const int )>(_a, &PlaylistLengthEditWidget::lengthChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistLengthEditWidget::*)(const int )>(_a, &PlaylistLengthEditWidget::comparisonChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistLengthEditWidget::*)(const int )>(_a, &PlaylistLengthEditWidget::strictnessChanged, 3))
            return;
    }
}

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

void *ConstraintTypes::PlaylistLengthEditWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes24PlaylistLengthEditWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void ConstraintTypes::PlaylistLengthEditWidget::updated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ConstraintTypes::PlaylistLengthEditWidget::lengthChanged(const int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ConstraintTypes::PlaylistLengthEditWidget::comparisonChanged(const int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void ConstraintTypes::PlaylistLengthEditWidget::strictnessChanged(const int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}
QT_WARNING_POP
