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

#include "extensions.hpp"
#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 'extensions.hpp' 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_ZN24ExtensionsDialogProviderE_t {};
} // unnamed namespace

template <> constexpr inline auto ExtensionsDialogProvider::qt_create_metaobjectdata<qt_meta_tag_ZN24ExtensionsDialogProviderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ExtensionsDialogProvider",
        "SignalDialog",
        "",
        "extension_dialog_t*",
        "p_dialog",
        "CreateExtDialog",
        "ExtensionDialog*",
        "DestroyExtDialog",
        "UpdateExtDialog"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'SignalDialog'
        QtMocHelpers::SignalData<void(extension_dialog_t *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'CreateExtDialog'
        QtMocHelpers::SlotData<ExtensionDialog *(extension_dialog_t *)>(5, 2, QMC::AccessPrivate, 0x80000000 | 6, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'DestroyExtDialog'
        QtMocHelpers::SlotData<int(extension_dialog_t *)>(7, 2, QMC::AccessPrivate, QMetaType::Int, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'UpdateExtDialog'
        QtMocHelpers::SlotData<ExtensionDialog *(extension_dialog_t *)>(8, 2, QMC::AccessPrivate, 0x80000000 | 6, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ExtensionsDialogProvider, qt_meta_tag_ZN24ExtensionsDialogProviderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ExtensionsDialogProvider::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24ExtensionsDialogProviderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24ExtensionsDialogProviderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN24ExtensionsDialogProviderE_t>.metaTypes,
    nullptr
} };

void ExtensionsDialogProvider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ExtensionsDialogProvider *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->SignalDialog((*reinterpret_cast<std::add_pointer_t<extension_dialog_t*>>(_a[1]))); break;
        case 1: { ExtensionDialog* _r = _t->CreateExtDialog((*reinterpret_cast<std::add_pointer_t<extension_dialog_t*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ExtensionDialog**>(_a[0]) = std::move(_r); }  break;
        case 2: { int _r = _t->DestroyExtDialog((*reinterpret_cast<std::add_pointer_t<extension_dialog_t*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 3: { ExtensionDialog* _r = _t->UpdateExtDialog((*reinterpret_cast<std::add_pointer_t<extension_dialog_t*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<ExtensionDialog**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ExtensionsDialogProvider::*)(extension_dialog_t * )>(_a, &ExtensionsDialogProvider::SignalDialog, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void ExtensionsDialogProvider::SignalDialog(extension_dialog_t * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN15ExtensionDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto ExtensionDialog::qt_create_metaobjectdata<qt_meta_tag_ZN15ExtensionDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ExtensionDialog",
        "destroyDialog",
        "",
        "extension_dialog_t*",
        "p_dialog",
        "TriggerClick",
        "object",
        "SyncInput",
        "SyncSelection",
        "parentDestroyed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'destroyDialog'
        QtMocHelpers::SignalData<void(extension_dialog_t *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'TriggerClick'
        QtMocHelpers::SlotData<int(QObject *)>(5, 2, QMC::AccessPrivate, QMetaType::Int, {{
            { QMetaType::QObjectStar, 6 },
        }}),
        // Slot 'SyncInput'
        QtMocHelpers::SlotData<void(QObject *)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QObjectStar, 6 },
        }}),
        // Slot 'SyncSelection'
        QtMocHelpers::SlotData<void(QObject *)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QObjectStar, 6 },
        }}),
        // Slot 'parentDestroyed'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ExtensionDialog, qt_meta_tag_ZN15ExtensionDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ExtensionDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ExtensionDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ExtensionDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ExtensionDialogE_t>.metaTypes,
    nullptr
} };

void ExtensionDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ExtensionDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->destroyDialog((*reinterpret_cast<std::add_pointer_t<extension_dialog_t*>>(_a[1]))); break;
        case 1: { int _r = _t->TriggerClick((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->SyncInput((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 3: _t->SyncSelection((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 4: _t->parentDestroyed(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ExtensionDialog::*)(extension_dialog_t * )>(_a, &ExtensionDialog::destroyDialog, 0))
            return;
    }
}

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

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

int ExtensionDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::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;
}

// SIGNAL 0
void ExtensionDialog::destroyDialog(extension_dialog_t * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN12WidgetMapperE_t {};
} // unnamed namespace

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

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

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

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

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

int WidgetMapper::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
