/****************************************************************************
** Meta object code from reading C++ file 'subtitle.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../subtitlecomposer/src/core/subtitle.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 'subtitle.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN16SubtitleComposer8SubtitleE_t {};
} // unnamed namespace

template <> constexpr inline auto SubtitleComposer::Subtitle::qt_create_metaobjectdata<qt_meta_tag_ZN16SubtitleComposer8SubtitleE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SubtitleComposer::Subtitle",
        "primaryChanged",
        "",
        "secondaryChanged",
        "primaryDirtyStateChanged",
        "dirty",
        "secondaryDirtyStateChanged",
        "framesPerSecondChanged",
        "fps",
        "linesAboutToBeInserted",
        "firstIndex",
        "lastIndex",
        "linesInserted",
        "linesAboutToBeRemoved",
        "linesRemoved",
        "compositeActionStart",
        "compositeActionEnd",
        "lineAnchorChanged",
        "const SubtitleLine*",
        "line",
        "anchored",
        "linePrimaryTextChanged",
        "SubtitleLine*",
        "lineSecondaryTextChanged",
        "lineShowTimeChanged",
        "lineHideTimeChanged",
        "lineErrorFlagsChanged",
        "lineMarkChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'primaryChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'secondaryChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'primaryDirtyStateChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'secondaryDirtyStateChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'framesPerSecondChanged'
        QtMocHelpers::SignalData<void(double)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 8 },
        }}),
        // Signal 'linesAboutToBeInserted'
        QtMocHelpers::SignalData<void(int, int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 }, { QMetaType::Int, 11 },
        }}),
        // Signal 'linesInserted'
        QtMocHelpers::SignalData<void(int, int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 }, { QMetaType::Int, 11 },
        }}),
        // Signal 'linesAboutToBeRemoved'
        QtMocHelpers::SignalData<void(int, int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 }, { QMetaType::Int, 11 },
        }}),
        // Signal 'linesRemoved'
        QtMocHelpers::SignalData<void(int, int)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 }, { QMetaType::Int, 11 },
        }}),
        // Signal 'compositeActionStart'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'compositeActionEnd'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'lineAnchorChanged'
        QtMocHelpers::SignalData<void(const SubtitleLine *, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { QMetaType::Bool, 20 },
        }}),
        // Signal 'linePrimaryTextChanged'
        QtMocHelpers::SignalData<void(SubtitleLine *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 19 },
        }}),
        // Signal 'lineSecondaryTextChanged'
        QtMocHelpers::SignalData<void(SubtitleLine *)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 19 },
        }}),
        // Signal 'lineShowTimeChanged'
        QtMocHelpers::SignalData<void(SubtitleLine *)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 19 },
        }}),
        // Signal 'lineHideTimeChanged'
        QtMocHelpers::SignalData<void(SubtitleLine *)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 19 },
        }}),
        // Signal 'lineErrorFlagsChanged'
        QtMocHelpers::SignalData<void(SubtitleLine *)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 19 },
        }}),
        // Signal 'lineMarkChanged'
        QtMocHelpers::SignalData<void(SubtitleLine *)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 19 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Subtitle, qt_meta_tag_ZN16SubtitleComposer8SubtitleE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SubtitleComposer::Subtitle::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer8SubtitleE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer8SubtitleE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16SubtitleComposer8SubtitleE_t>.metaTypes,
    nullptr
} };

void SubtitleComposer::Subtitle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Subtitle *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->primaryChanged(); break;
        case 1: _t->secondaryChanged(); break;
        case 2: _t->primaryDirtyStateChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->secondaryDirtyStateChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->framesPerSecondChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 5: _t->linesAboutToBeInserted((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->linesInserted((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->linesAboutToBeRemoved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 8: _t->linesRemoved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 9: _t->compositeActionStart(); break;
        case 10: _t->compositeActionEnd(); break;
        case 11: _t->lineAnchorChanged((*reinterpret_cast<std::add_pointer_t<const SubtitleLine*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 12: _t->linePrimaryTextChanged((*reinterpret_cast<std::add_pointer_t<SubtitleLine*>>(_a[1]))); break;
        case 13: _t->lineSecondaryTextChanged((*reinterpret_cast<std::add_pointer_t<SubtitleLine*>>(_a[1]))); break;
        case 14: _t->lineShowTimeChanged((*reinterpret_cast<std::add_pointer_t<SubtitleLine*>>(_a[1]))); break;
        case 15: _t->lineHideTimeChanged((*reinterpret_cast<std::add_pointer_t<SubtitleLine*>>(_a[1]))); break;
        case 16: _t->lineErrorFlagsChanged((*reinterpret_cast<std::add_pointer_t<SubtitleLine*>>(_a[1]))); break;
        case 17: _t->lineMarkChanged((*reinterpret_cast<std::add_pointer_t<SubtitleLine*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< SubtitleLine* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< SubtitleLine* >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< SubtitleLine* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< SubtitleLine* >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< SubtitleLine* >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< SubtitleLine* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)()>(_a, &Subtitle::primaryChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)()>(_a, &Subtitle::secondaryChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(bool )>(_a, &Subtitle::primaryDirtyStateChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(bool )>(_a, &Subtitle::secondaryDirtyStateChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(double )>(_a, &Subtitle::framesPerSecondChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(int , int )>(_a, &Subtitle::linesAboutToBeInserted, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(int , int )>(_a, &Subtitle::linesInserted, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(int , int )>(_a, &Subtitle::linesAboutToBeRemoved, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(int , int )>(_a, &Subtitle::linesRemoved, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)()>(_a, &Subtitle::compositeActionStart, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)()>(_a, &Subtitle::compositeActionEnd, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(const SubtitleLine * , bool )>(_a, &Subtitle::lineAnchorChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(SubtitleLine * )>(_a, &Subtitle::linePrimaryTextChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(SubtitleLine * )>(_a, &Subtitle::lineSecondaryTextChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(SubtitleLine * )>(_a, &Subtitle::lineShowTimeChanged, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(SubtitleLine * )>(_a, &Subtitle::lineHideTimeChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(SubtitleLine * )>(_a, &Subtitle::lineErrorFlagsChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (Subtitle::*)(SubtitleLine * )>(_a, &Subtitle::lineMarkChanged, 17))
            return;
    }
}

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

void *SubtitleComposer::Subtitle::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer8SubtitleE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QSharedData"))
        return static_cast< QSharedData*>(this);
    return QObject::qt_metacast(_clname);
}

int SubtitleComposer::Subtitle::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 < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void SubtitleComposer::Subtitle::primaryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void SubtitleComposer::Subtitle::secondaryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void SubtitleComposer::Subtitle::primaryDirtyStateChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void SubtitleComposer::Subtitle::secondaryDirtyStateChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void SubtitleComposer::Subtitle::framesPerSecondChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void SubtitleComposer::Subtitle::linesAboutToBeInserted(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void SubtitleComposer::Subtitle::linesInserted(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void SubtitleComposer::Subtitle::linesAboutToBeRemoved(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}

// SIGNAL 8
void SubtitleComposer::Subtitle::linesRemoved(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1, _t2);
}

// SIGNAL 9
void SubtitleComposer::Subtitle::compositeActionStart()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void SubtitleComposer::Subtitle::compositeActionEnd()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void SubtitleComposer::Subtitle::lineAnchorChanged(const SubtitleLine * _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
}

// SIGNAL 12
void SubtitleComposer::Subtitle::linePrimaryTextChanged(SubtitleLine * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void SubtitleComposer::Subtitle::lineSecondaryTextChanged(SubtitleLine * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void SubtitleComposer::Subtitle::lineShowTimeChanged(SubtitleLine * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void SubtitleComposer::Subtitle::lineHideTimeChanged(SubtitleLine * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}

// SIGNAL 16
void SubtitleComposer::Subtitle::lineErrorFlagsChanged(SubtitleLine * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1);
}

// SIGNAL 17
void SubtitleComposer::Subtitle::lineMarkChanged(SubtitleLine * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}
QT_WARNING_POP
