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

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

    QtMocHelpers::UintData qt_methods {
        // Slot 'setComparison'
        QtMocHelpers::SlotData<void(const int)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setDuration'
        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<PlaylistDuration, qt_meta_tag_ZN15ConstraintTypes16PlaylistDurationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::PlaylistDuration::staticMetaObject = { {
    QMetaObject::SuperData::link<Constraint::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes16PlaylistDurationE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes16PlaylistDurationE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes16PlaylistDurationE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::PlaylistDuration::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlaylistDuration *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->setComparison((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->setDuration((*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::PlaylistDuration::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

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

int ConstraintTypes::PlaylistDuration::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_ZN15ConstraintTypes26PlaylistDurationEditWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto ConstraintTypes::PlaylistDurationEditWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes26PlaylistDurationEditWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::PlaylistDurationEditWidget",
        "updated",
        "",
        "durationChanged",
        "comparisonChanged",
        "strictnessChanged",
        "on_timeEdit_Duration_timeChanged",
        "on_comboBox_Comparison_currentIndexChanged",
        "on_slider_Strictness_valueChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'updated'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'durationChanged'
        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_timeEdit_Duration_timeChanged'
        QtMocHelpers::SlotData<void(const QTime &)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QTime, 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<PlaylistDurationEditWidget, qt_meta_tag_ZN15ConstraintTypes26PlaylistDurationEditWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::PlaylistDurationEditWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes26PlaylistDurationEditWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes26PlaylistDurationEditWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes26PlaylistDurationEditWidgetE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::PlaylistDurationEditWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlaylistDurationEditWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updated(); break;
        case 1: _t->durationChanged((*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_timeEdit_Duration_timeChanged((*reinterpret_cast<std::add_pointer_t<QTime>>(_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 (PlaylistDurationEditWidget::*)()>(_a, &PlaylistDurationEditWidget::updated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistDurationEditWidget::*)(const int )>(_a, &PlaylistDurationEditWidget::durationChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistDurationEditWidget::*)(const int )>(_a, &PlaylistDurationEditWidget::comparisonChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistDurationEditWidget::*)(const int )>(_a, &PlaylistDurationEditWidget::strictnessChanged, 3))
            return;
    }
}

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

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

int ConstraintTypes::PlaylistDurationEditWidget::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::PlaylistDurationEditWidget::updated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

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