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

template <> constexpr inline auto ConstraintTypes::Checkpoint::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes10CheckpointE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::Checkpoint",
        "setPosition",
        "",
        "setStrictness",
        "setCheckpoint",
        "Meta::DataPtr"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'setPosition'
        QtMocHelpers::SlotData<void(const int)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setStrictness'
        QtMocHelpers::SlotData<void(const int)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'setCheckpoint'
        QtMocHelpers::SlotData<void(const Meta::DataPtr &)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 5, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Checkpoint, qt_meta_tag_ZN15ConstraintTypes10CheckpointE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::Checkpoint::staticMetaObject = { {
    QMetaObject::SuperData::link<Constraint::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes10CheckpointE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes10CheckpointE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes10CheckpointE_t>.metaTypes,
    nullptr
} };

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

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

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

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

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

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

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

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

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

int ConstraintTypes::Checkpoint::AbstractMatcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN15ConstraintTypes20CheckpointEditWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto ConstraintTypes::CheckpointEditWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15ConstraintTypes20CheckpointEditWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConstraintTypes::CheckpointEditWidget",
        "updated",
        "",
        "nameChanged",
        "positionChanged",
        "strictnessChanged",
        "checkpointChanged",
        "Meta::DataPtr",
        "on_timeEdit_Position_timeChanged",
        "on_slider_Strictness_valueChanged",
        "on_trackSelector_selectionChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'updated'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'nameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'positionChanged'
        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 },
        }}),
        // Signal 'checkpointChanged'
        QtMocHelpers::SignalData<void(const Meta::DataPtr &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Slot 'on_timeEdit_Position_timeChanged'
        QtMocHelpers::SlotData<void(const QTime &)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QTime, 2 },
        }}),
        // Slot 'on_slider_Strictness_valueChanged'
        QtMocHelpers::SlotData<void(const int)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_trackSelector_selectionChanged'
        QtMocHelpers::SlotData<void(const Meta::DataPtr &)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CheckpointEditWidget, qt_meta_tag_ZN15ConstraintTypes20CheckpointEditWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConstraintTypes::CheckpointEditWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes20CheckpointEditWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ConstraintTypes20CheckpointEditWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ConstraintTypes20CheckpointEditWidgetE_t>.metaTypes,
    nullptr
} };

void ConstraintTypes::CheckpointEditWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CheckpointEditWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updated(); break;
        case 1: _t->nameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->positionChanged((*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->checkpointChanged((*reinterpret_cast<std::add_pointer_t<Meta::DataPtr>>(_a[1]))); break;
        case 5: _t->on_timeEdit_Position_timeChanged((*reinterpret_cast<std::add_pointer_t<QTime>>(_a[1]))); break;
        case 6: _t->on_slider_Strictness_valueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->on_trackSelector_selectionChanged((*reinterpret_cast<std::add_pointer_t<Meta::DataPtr>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CheckpointEditWidget::*)()>(_a, &CheckpointEditWidget::updated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CheckpointEditWidget::*)(const QString & )>(_a, &CheckpointEditWidget::nameChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CheckpointEditWidget::*)(const int )>(_a, &CheckpointEditWidget::positionChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CheckpointEditWidget::*)(const int )>(_a, &CheckpointEditWidget::strictnessChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CheckpointEditWidget::*)(const Meta::DataPtr & )>(_a, &CheckpointEditWidget::checkpointChanged, 4))
            return;
    }
}

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

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

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

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

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

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

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

// SIGNAL 4
void ConstraintTypes::CheckpointEditWidget::checkpointChanged(const Meta::DataPtr & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
