/****************************************************************************
** Meta object code from reading C++ file 'DkImageContainer.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/DkCore/DkImageContainer.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 'DkImageContainer.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_ZN3nmc17DkImageContainerTE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkImageContainerT::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc17DkImageContainerTE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkImageContainerT",
        "fileLoadedSignal",
        "",
        "loaded",
        "fileSavedSignal",
        "fileInfo",
        "saved",
        "loadToTab",
        "showInfoSignal",
        "msg",
        "time",
        "position",
        "errorDialogSignal",
        "imageUpdatedSignal",
        "zipFileDownloadedSignal",
        "DkFileInfo",
        "file",
        "checkForFileUpdates",
        "bufferLoaded",
        "imageLoaded",
        "savingFinished",
        "loadingFinished",
        "fileDownloaded",
        "filePath"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'fileLoadedSignal'
        QtMocHelpers::SignalData<void(bool) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'fileLoadedSignal'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Signal 'fileSavedSignal'
        QtMocHelpers::SignalData<void(const QString &, bool, bool) const>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::Bool, 6 }, { QMetaType::Bool, 7 },
        }}),
        // Signal 'fileSavedSignal'
        QtMocHelpers::SignalData<void(const QString &, bool) const>(4, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::Bool, 6 },
        }}),
        // Signal 'fileSavedSignal'
        QtMocHelpers::SignalData<void(const QString &) const>(4, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'showInfoSignal'
        QtMocHelpers::SignalData<void(const QString &, int, int) const>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 }, { QMetaType::Int, 10 }, { QMetaType::Int, 11 },
        }}),
        // Signal 'showInfoSignal'
        QtMocHelpers::SignalData<void(const QString &, int) const>(8, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 9 }, { QMetaType::Int, 10 },
        }}),
        // Signal 'showInfoSignal'
        QtMocHelpers::SignalData<void(const QString &) const>(8, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Signal 'errorDialogSignal'
        QtMocHelpers::SignalData<void(const QString &) const>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Signal 'imageUpdatedSignal'
        QtMocHelpers::SignalData<void() const>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'zipFileDownloadedSignal'
        QtMocHelpers::SignalData<void(const DkFileInfo &) const>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Slot 'checkForFileUpdates'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'bufferLoaded'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'imageLoaded'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'savingFinished'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'loadingFinished'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'fileDownloaded'
        QtMocHelpers::SlotData<void(const QString &)>(22, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 23 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkImageContainerT, qt_meta_tag_ZN3nmc17DkImageContainerTE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkImageContainerT::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc17DkImageContainerTE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc17DkImageContainerTE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc17DkImageContainerTE_t>.metaTypes,
    nullptr
} };

void nmc::DkImageContainerT::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkImageContainerT *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->fileLoadedSignal((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->fileLoadedSignal(); break;
        case 2: _t->fileSavedSignal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 3: _t->fileSavedSignal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 4: _t->fileSavedSignal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->showInfoSignal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 6: _t->showInfoSignal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->showInfoSignal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->errorDialogSignal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->imageUpdatedSignal(); break;
        case 10: _t->zipFileDownloadedSignal((*reinterpret_cast<std::add_pointer_t<DkFileInfo>>(_a[1]))); break;
        case 11: _t->checkForFileUpdates(); break;
        case 12: _t->bufferLoaded(); break;
        case 13: _t->imageLoaded(); break;
        case 14: _t->savingFinished(); break;
        case 15: _t->loadingFinished(); break;
        case 16: _t->fileDownloaded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DkImageContainerT::*)(bool ) const>(_a, &DkImageContainerT::fileLoadedSignal, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkImageContainerT::*)(const QString & , bool , bool ) const>(_a, &DkImageContainerT::fileSavedSignal, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkImageContainerT::*)(const QString & , int , int ) const>(_a, &DkImageContainerT::showInfoSignal, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkImageContainerT::*)(const QString & ) const>(_a, &DkImageContainerT::errorDialogSignal, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkImageContainerT::*)() const>(_a, &DkImageContainerT::imageUpdatedSignal, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkImageContainerT::*)(const DkFileInfo & ) const>(_a, &DkImageContainerT::zipFileDownloadedSignal, 10))
            return;
    }
}

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

void *nmc::DkImageContainerT::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc17DkImageContainerTE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "DkImageContainer"))
        return static_cast< DkImageContainer*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void nmc::DkImageContainerT::fileLoadedSignal(bool _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkImageContainerT *>(this), &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 2
void nmc::DkImageContainerT::fileSavedSignal(const QString & _t1, bool _t2, bool _t3)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkImageContainerT *>(this), &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}

// SIGNAL 5
void nmc::DkImageContainerT::showInfoSignal(const QString & _t1, int _t2, int _t3)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkImageContainerT *>(this), &staticMetaObject, 5, nullptr, _t1, _t2, _t3);
}

// SIGNAL 8
void nmc::DkImageContainerT::errorDialogSignal(const QString & _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkImageContainerT *>(this), &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void nmc::DkImageContainerT::imageUpdatedSignal()const
{
    QMetaObject::activate(const_cast< nmc::DkImageContainerT *>(this), &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void nmc::DkImageContainerT::zipFileDownloadedSignal(const DkFileInfo & _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkImageContainerT *>(this), &staticMetaObject, 10, nullptr, _t1);
}
QT_WARNING_POP
