/****************************************************************************
** Meta object code from reading C++ file 'rsitimer.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 "../../../../rsibreak-0.13.0/src/rsitimer.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 'rsitimer.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_ZN8RSITimerE_t {};
} // unnamed namespace

template <> constexpr inline auto RSITimer::qt_create_metaobjectdata<qt_meta_tag_ZN8RSITimerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "RSITimer",
        "breakNow",
        "",
        "updateToolTip",
        "tinyLeft",
        "bigLeft",
        "updateWidget",
        "secondsLeft",
        "updateIdleAvg",
        "v",
        "minimize",
        "relax",
        "sec",
        "nextBreakIsBig",
        "tinyBreakSkipped",
        "bigBreakSkipped",
        "startLongBreak",
        "endLongBreak",
        "startShortBreak",
        "endShortBreak",
        "updateConfig",
        "doRestart",
        "slotStop",
        "slotSuspended",
        "suspend",
        "slotStart",
        "slotLock",
        "skipBreak",
        "postponeBreak",
        "idleTime",
        "timeout"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'breakNow'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateToolTip'
        QtMocHelpers::SignalData<void(const int, const int)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 }, { QMetaType::Int, 5 },
        }}),
        // Signal 'updateWidget'
        QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 },
        }}),
        // Signal 'updateIdleAvg'
        QtMocHelpers::SignalData<void(double)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 9 },
        }}),
        // Signal 'minimize'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'relax'
        QtMocHelpers::SignalData<void(int, bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 12 }, { QMetaType::Bool, 13 },
        }}),
        // Signal 'tinyBreakSkipped'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'bigBreakSkipped'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'startLongBreak'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'endLongBreak'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'startShortBreak'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'endShortBreak'
        QtMocHelpers::SignalData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateConfig'
        QtMocHelpers::SlotData<void(bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
        // Slot 'updateConfig'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotStop'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSuspended'
        QtMocHelpers::SlotData<void(bool)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 24 },
        }}),
        // Slot 'slotStart'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotLock'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'skipBreak'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'postponeBreak'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'idleTime'
        QtMocHelpers::SlotData<int()>(29, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'timeout'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RSITimer, qt_meta_tag_ZN8RSITimerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject RSITimer::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8RSITimerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8RSITimerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8RSITimerE_t>.metaTypes,
    nullptr
} };

void RSITimer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RSITimer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->breakNow(); break;
        case 1: _t->updateToolTip((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 2: _t->updateWidget((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->updateIdleAvg((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 4: _t->minimize(); break;
        case 5: _t->relax((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 6: _t->tinyBreakSkipped(); break;
        case 7: _t->bigBreakSkipped(); break;
        case 8: _t->startLongBreak(); break;
        case 9: _t->endLongBreak(); break;
        case 10: _t->startShortBreak(); break;
        case 11: _t->endShortBreak(); break;
        case 12: _t->updateConfig((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->updateConfig(); break;
        case 14: _t->slotStop(); break;
        case 15: _t->slotSuspended((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->slotStart(); break;
        case 17: _t->slotLock(); break;
        case 18: _t->skipBreak(); break;
        case 19: _t->postponeBreak(); break;
        case 20: { int _r = _t->idleTime();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 21: _t->timeout(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::breakNow, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)(const int , const int )>(_a, &RSITimer::updateToolTip, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)(int )>(_a, &RSITimer::updateWidget, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)(double )>(_a, &RSITimer::updateIdleAvg, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::minimize, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)(int , bool )>(_a, &RSITimer::relax, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::tinyBreakSkipped, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::bigBreakSkipped, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::startLongBreak, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::endLongBreak, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::startShortBreak, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (RSITimer::*)()>(_a, &RSITimer::endShortBreak, 11))
            return;
    }
}

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

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

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

// SIGNAL 0
void RSITimer::breakNow()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void RSITimer::updateToolTip(const int _t1, const int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void RSITimer::updateWidget(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void RSITimer::updateIdleAvg(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void RSITimer::minimize()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void RSITimer::relax(int _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void RSITimer::tinyBreakSkipped()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void RSITimer::bigBreakSkipped()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void RSITimer::startLongBreak()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void RSITimer::endLongBreak()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void RSITimer::startShortBreak()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void RSITimer::endShortBreak()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}
QT_WARNING_POP
