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

template <> constexpr inline auto ConstraintTypes::TagMatch::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes8TagMatchE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::TagMatch",
        "setComparison",
        "",
        "setField",
        "setInvert",
        "setStrictness",
        "setValue",
        "QVariant"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'setComparison'
        QtMocHelpers::SlotData<void(int)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setField'
        QtMocHelpers::SlotData<void(const QString &)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'setInvert'
        QtMocHelpers::SlotData<void(bool)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'setStrictness'
        QtMocHelpers::SlotData<void(int)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setValue'
        QtMocHelpers::SlotData<void(const QVariant &)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TagMatch, qt_meta_tag_ZN15ConstraintTypes8TagMatchE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::TagMatch::staticMetaObject = { {
    QMetaObject::SuperData::link<MatchingConstraint::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes8TagMatchE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes8TagMatchE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes8TagMatchE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::TagMatch::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TagMatch *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->setComparison((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->setField((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->setInvert((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->setStrictness((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->setValue((*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

int ConstraintTypes::TagMatch::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MatchingConstraint::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 5;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN15ConstraintTypes19TagMatchFieldsModelE_t {};
} // unnamed namespace

template <> constexpr inline auto ConstraintTypes::TagMatchFieldsModel::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes19TagMatchFieldsModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::TagMatchFieldsModel"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TagMatchFieldsModel, qt_meta_tag_ZN15ConstraintTypes19TagMatchFieldsModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::TagMatchFieldsModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes19TagMatchFieldsModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes19TagMatchFieldsModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes19TagMatchFieldsModelE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::TagMatchFieldsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TagMatchFieldsModel *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int ConstraintTypes::TagMatchFieldsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN15ConstraintTypes18TagMatchEditWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto ConstraintTypes::TagMatchEditWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes18TagMatchEditWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::TagMatchEditWidget",
        "comparisonChanged",
        "",
        "fieldChanged",
        "invertChanged",
        "strictnessChanged",
        "valueChanged",
        "QVariant",
        "updated",
        "on_comboBox_ComparisonDate_currentIndexChanged",
        "on_comboBox_ComparisonInt_currentIndexChanged",
        "on_comboBox_ComparisonRating_currentIndexChanged",
        "on_comboBox_ComparisonString_currentIndexChanged",
        "on_comboBox_ComparisonTime_currentIndexChanged",
        "on_comboBox_Field_currentIndexChanged",
        "on_checkBox_Invert_clicked",
        "on_slider_StrictnessDate_valueChanged",
        "on_slider_StrictnessInt_valueChanged",
        "on_slider_StrictnessRating_valueChanged",
        "on_slider_StrictnessTime_valueChanged",
        "on_kdatewidget_DateSpecific_changed",
        "on_spinBox_ValueDateValue_valueChanged",
        "on_comboBox_ValueDateUnit_currentIndexChanged",
        "on_spinBox_ValueInt_valueChanged",
        "on_lineEdit_StringValue_textChanged",
        "on_rating_RatingValue_ratingChanged",
        "on_timeEdit_TimeValue_timeChanged",
        "slotUpdateComboBoxLabels"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'comparisonChanged'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'fieldChanged'
        QtMocHelpers::SignalData<void(const QString &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'invertChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'strictnessChanged'
        QtMocHelpers::SignalData<void(int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'valueChanged'
        QtMocHelpers::SignalData<void(const QVariant &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Signal 'updated'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_comboBox_ComparisonDate_currentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_comboBox_ComparisonInt_currentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_comboBox_ComparisonRating_currentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_comboBox_ComparisonString_currentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_comboBox_ComparisonTime_currentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_comboBox_Field_currentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_checkBox_Invert_clicked'
        QtMocHelpers::SlotData<void(bool)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'on_slider_StrictnessDate_valueChanged'
        QtMocHelpers::SlotData<void(int)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_slider_StrictnessInt_valueChanged'
        QtMocHelpers::SlotData<void(int)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_slider_StrictnessRating_valueChanged'
        QtMocHelpers::SlotData<void(int)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_slider_StrictnessTime_valueChanged'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_kdatewidget_DateSpecific_changed'
        QtMocHelpers::SlotData<void(const QDate &)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QDate, 2 },
        }}),
        // Slot 'on_spinBox_ValueDateValue_valueChanged'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_comboBox_ValueDateUnit_currentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_spinBox_ValueInt_valueChanged'
        QtMocHelpers::SlotData<void(int)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_lineEdit_StringValue_textChanged'
        QtMocHelpers::SlotData<void(const QString &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'on_rating_RatingValue_ratingChanged'
        QtMocHelpers::SlotData<void(int)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_timeEdit_TimeValue_timeChanged'
        QtMocHelpers::SlotData<void(const QTime &)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QTime, 2 },
        }}),
        // Slot 'slotUpdateComboBoxLabels'
        QtMocHelpers::SlotData<void(int)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TagMatchEditWidget, qt_meta_tag_ZN15ConstraintTypes18TagMatchEditWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::TagMatchEditWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes18TagMatchEditWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes18TagMatchEditWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes18TagMatchEditWidgetE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::TagMatchEditWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TagMatchEditWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->comparisonChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->fieldChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->invertChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->strictnessChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->valueChanged((*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[1]))); break;
        case 5: _t->updated(); break;
        case 6: _t->on_comboBox_ComparisonDate_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->on_comboBox_ComparisonInt_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->on_comboBox_ComparisonRating_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->on_comboBox_ComparisonString_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->on_comboBox_ComparisonTime_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->on_comboBox_Field_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->on_checkBox_Invert_clicked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->on_slider_StrictnessDate_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->on_slider_StrictnessInt_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 15: _t->on_slider_StrictnessRating_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->on_slider_StrictnessTime_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->on_kdatewidget_DateSpecific_changed((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 18: _t->on_spinBox_ValueDateValue_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->on_comboBox_ValueDateUnit_currentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 20: _t->on_spinBox_ValueInt_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 21: _t->on_lineEdit_StringValue_textChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 22: _t->on_rating_RatingValue_ratingChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 23: _t->on_timeEdit_TimeValue_timeChanged((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 24: _t->slotUpdateComboBoxLabels((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TagMatchEditWidget::*)(int )>(_a, &TagMatchEditWidget::comparisonChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagMatchEditWidget::*)(const QString & )>(_a, &TagMatchEditWidget::fieldChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagMatchEditWidget::*)(bool )>(_a, &TagMatchEditWidget::invertChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagMatchEditWidget::*)(int )>(_a, &TagMatchEditWidget::strictnessChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagMatchEditWidget::*)(const QVariant & )>(_a, &TagMatchEditWidget::valueChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (TagMatchEditWidget::*)()>(_a, &TagMatchEditWidget::updated, 5))
            return;
    }
}

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

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

int ConstraintTypes::TagMatchEditWidget::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 < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 25;
    }
    return _id;
}

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

// SIGNAL 1
void ConstraintTypes::TagMatchEditWidget::fieldChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ConstraintTypes::TagMatchEditWidget::invertChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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

// SIGNAL 4
void ConstraintTypes::TagMatchEditWidget::valueChanged(const QVariant & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void ConstraintTypes::TagMatchEditWidget::updated()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
