/****************************************************************************
** Meta object code from reading C++ file 'regionFormat.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 "../../../../../../plugins/dde-dock/datetime/regionFormat.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 'regionFormat.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_ZN12RegionFormatE_t {};
} // unnamed namespace

template <> constexpr inline auto RegionFormat::qt_create_metaobjectdata<qt_meta_tag_ZN12RegionFormatE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "RegionFormat",
        "shortDateFormatChanged",
        "",
        "longDateFormatChanged",
        "shortTimeFormatChanged",
        "longTimeFormatChanged",
        "localeNameChanged",
        "localeName",
        "onDockPositionChanged",
        "position"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'shortDateFormatChanged'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'longDateFormatChanged'
        QtMocHelpers::SignalData<void() const>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'shortTimeFormatChanged'
        QtMocHelpers::SignalData<void() const>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'longTimeFormatChanged'
        QtMocHelpers::SignalData<void() const>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'localeNameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Slot 'onDockPositionChanged'
        QtMocHelpers::SlotData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RegionFormat, qt_meta_tag_ZN12RegionFormatE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject RegionFormat::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12RegionFormatE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12RegionFormatE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12RegionFormatE_t>.metaTypes,
    nullptr
} };

void RegionFormat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RegionFormat *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->shortDateFormatChanged(); break;
        case 1: _t->longDateFormatChanged(); break;
        case 2: _t->shortTimeFormatChanged(); break;
        case 3: _t->longTimeFormatChanged(); break;
        case 4: _t->localeNameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->onDockPositionChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (RegionFormat::*)() const>(_a, &RegionFormat::shortDateFormatChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (RegionFormat::*)() const>(_a, &RegionFormat::longDateFormatChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (RegionFormat::*)() const>(_a, &RegionFormat::shortTimeFormatChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (RegionFormat::*)() const>(_a, &RegionFormat::longTimeFormatChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (RegionFormat::*)(const QString & )>(_a, &RegionFormat::localeNameChanged, 4))
            return;
    }
}

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

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

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

// SIGNAL 0
void RegionFormat::shortDateFormatChanged()const
{
    QMetaObject::activate(const_cast< RegionFormat *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void RegionFormat::longDateFormatChanged()const
{
    QMetaObject::activate(const_cast< RegionFormat *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void RegionFormat::shortTimeFormatChanged()const
{
    QMetaObject::activate(const_cast< RegionFormat *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void RegionFormat::longTimeFormatChanged()const
{
    QMetaObject::activate(const_cast< RegionFormat *>(this), &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void RegionFormat::localeNameChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
