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

#include "../../../ImageLounge/src/DkGui/DkMenu.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 'DkMenu.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN3nmc9DkMenuBarE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkMenuBar::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc9DkMenuBarE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkMenuBar",
        "showMenu",
        "",
        "hideMenu"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'showMenu'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hideMenu'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkMenuBar, qt_meta_tag_ZN3nmc9DkMenuBarE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkMenuBar::staticMetaObject = { {
    QMetaObject::SuperData::link<QMenuBar::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc9DkMenuBarE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc9DkMenuBarE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc9DkMenuBarE_t>.metaTypes,
    nullptr
} };

void nmc::DkMenuBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkMenuBar *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->showMenu(); break;
        case 1: _t->hideMenu(); break;
        default: ;
        }
    }
    (void)_a;
}

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

void *nmc::DkMenuBar::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc9DkMenuBarE_t>.strings))
        return static_cast<void*>(this);
    return QMenuBar::qt_metacast(_clname);
}

int nmc::DkMenuBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMenuBar::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN3nmc11DkTcpActionE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkTcpAction::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc11DkTcpActionE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkTcpAction",
        "synchronizeWithSignal",
        "",
        "disableSynchronizeWithSignal",
        "enableActions",
        "enable",
        "synchronize",
        "checked"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'synchronizeWithSignal'
        QtMocHelpers::SignalData<void(quint16) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 2 },
        }}),
        // Signal 'disableSynchronizeWithSignal'
        QtMocHelpers::SignalData<void(quint16) const>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 2 },
        }}),
        // Signal 'enableActions'
        QtMocHelpers::SignalData<void(bool) const>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'synchronize'
        QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkTcpAction, qt_meta_tag_ZN3nmc11DkTcpActionE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkTcpAction::staticMetaObject = { {
    QMetaObject::SuperData::link<QAction::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc11DkTcpActionE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc11DkTcpActionE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc11DkTcpActionE_t>.metaTypes,
    nullptr
} };

void nmc::DkTcpAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkTcpAction *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->synchronizeWithSignal((*reinterpret_cast<std::add_pointer_t<quint16>>(_a[1]))); break;
        case 1: _t->disableSynchronizeWithSignal((*reinterpret_cast<std::add_pointer_t<quint16>>(_a[1]))); break;
        case 2: _t->enableActions((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->synchronize((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DkTcpAction::*)(quint16 ) const>(_a, &DkTcpAction::synchronizeWithSignal, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkTcpAction::*)(quint16 ) const>(_a, &DkTcpAction::disableSynchronizeWithSignal, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkTcpAction::*)(bool ) const>(_a, &DkTcpAction::enableActions, 2))
            return;
    }
}

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

void *nmc::DkTcpAction::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc11DkTcpActionE_t>.strings))
        return static_cast<void*>(this);
    return QAction::qt_metacast(_clname);
}

int nmc::DkTcpAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAction::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 nmc::DkTcpAction::synchronizeWithSignal(quint16 _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkTcpAction *>(this), &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void nmc::DkTcpAction::disableSynchronizeWithSignal(quint16 _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkTcpAction *>(this), &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void nmc::DkTcpAction::enableActions(bool _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkTcpAction *>(this), &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN3nmc9DkTcpMenuE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkTcpMenu::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc9DkTcpMenuE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkTcpMenu",
        "synchronizeWithSignal",
        "",
        "enableActions",
        "enable",
        "local",
        "updatePeers"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'synchronizeWithSignal'
        QtMocHelpers::SignalData<void(quint16) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UShort, 2 },
        }}),
        // Slot 'enableActions'
        QtMocHelpers::SlotData<void(bool, bool)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 4 }, { QMetaType::Bool, 5 },
        }}),
        // Slot 'enableActions'
        QtMocHelpers::SlotData<void(bool)>(3, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Bool, 4 },
        }}),
        // Slot 'enableActions'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'updatePeers'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkTcpMenu, qt_meta_tag_ZN3nmc9DkTcpMenuE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkTcpMenu::staticMetaObject = { {
    QMetaObject::SuperData::link<QMenu::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc9DkTcpMenuE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc9DkTcpMenuE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc9DkTcpMenuE_t>.metaTypes,
    nullptr
} };

void nmc::DkTcpMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkTcpMenu *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->synchronizeWithSignal((*reinterpret_cast<std::add_pointer_t<quint16>>(_a[1]))); break;
        case 1: _t->enableActions((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 2: _t->enableActions((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->enableActions(); break;
        case 4: _t->updatePeers(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DkTcpMenu::*)(quint16 ) const>(_a, &DkTcpMenu::synchronizeWithSignal, 0))
            return;
    }
}

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

void *nmc::DkTcpMenu::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc9DkTcpMenuE_t>.strings))
        return static_cast<void*>(this);
    return QMenu::qt_metacast(_clname);
}

int nmc::DkTcpMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMenu::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 nmc::DkTcpMenu::synchronizeWithSignal(quint16 _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkTcpMenu *>(this), &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
