/****************************************************************************
** Meta object code from reading C++ file 'DkControlWidget.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/DkControlWidget.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'DkControlWidget.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_ZN3nmc15DkControlWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkControlWidget::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc15DkControlWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkControlWidget",
        "toggleHUD",
        "",
        "hide",
        "showPreview",
        "visible",
        "showMetaData",
        "showFileInfo",
        "showPlayer",
        "startSlideshow",
        "start",
        "hideCrop",
        "showCrop",
        "showOverview",
        "showHistogram",
        "showCommentWidget",
        "switchWidget",
        "QWidget*",
        "widget",
        "changeMetaDataPosition",
        "pos",
        "changeThumbNailPosition",
        "showScroller",
        "setPluginWidget",
        "DkViewPortInterface*",
        "pluginWidget",
        "removeWidget",
        "closePlugin",
        "askForSaving",
        "force",
        "applyPluginChanges",
        "updateImage",
        "QSharedPointer<DkImageContainerT>",
        "imgC",
        "updateMetadataIfNull",
        "setInfo",
        "msg",
        "time",
        "location",
        "updateRating",
        "rating",
        "imagePresenceChanged",
        "imagePresent",
        "update",
        "setCommentSaved",
        "comment",
        "pluginClosed",
        "pluginMessage",
        "pluginLoadFile",
        "path",
        "pluginLoadImage",
        "QImage",
        "img"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'toggleHUD'
        QtMocHelpers::SlotData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'showPreview'
        QtMocHelpers::SlotData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'showMetaData'
        QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'showFileInfo'
        QtMocHelpers::SlotData<void(bool)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'showPlayer'
        QtMocHelpers::SlotData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'startSlideshow'
        QtMocHelpers::SlotData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'startSlideshow'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'hideCrop'
        QtMocHelpers::SlotData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'hideCrop'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'showCrop'
        QtMocHelpers::SlotData<void(bool)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'showOverview'
        QtMocHelpers::SlotData<void(bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'showHistogram'
        QtMocHelpers::SlotData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'showCommentWidget'
        QtMocHelpers::SlotData<void(bool)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'switchWidget'
        QtMocHelpers::SlotData<void(QWidget *)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'switchWidget'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'changeMetaDataPosition'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'changeThumbNailPosition'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'showScroller'
        QtMocHelpers::SlotData<void(bool)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'setPluginWidget'
        QtMocHelpers::SlotData<void(DkViewPortInterface *, bool)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 }, { QMetaType::Bool, 26 },
        }}),
        // Slot 'closePlugin'
        QtMocHelpers::SlotData<bool(bool, bool)>(27, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Bool, 28 }, { QMetaType::Bool, 29 },
        }}),
        // Slot 'closePlugin'
        QtMocHelpers::SlotData<bool(bool)>(27, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { QMetaType::Bool, 28 },
        }}),
        // Slot 'applyPluginChanges'
        QtMocHelpers::SlotData<bool(bool)>(30, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Bool, 28 },
        }}),
        // Slot 'updateImage'
        QtMocHelpers::SlotData<void(QSharedPointer<DkImageContainerT>, bool)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 32, 33 }, { QMetaType::Bool, 34 },
        }}),
        // Slot 'updateImage'
        QtMocHelpers::SlotData<void(QSharedPointer<DkImageContainerT>)>(31, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'setInfo'
        QtMocHelpers::SlotData<void(const QString &, int, int)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 36 }, { QMetaType::Int, 37 }, { QMetaType::Int, 38 },
        }}),
        // Slot 'setInfo'
        QtMocHelpers::SlotData<void(const QString &, int)>(35, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 36 }, { QMetaType::Int, 37 },
        }}),
        // Slot 'setInfo'
        QtMocHelpers::SlotData<void(const QString &)>(35, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 36 },
        }}),
        // Slot 'updateRating'
        QtMocHelpers::SlotData<void(int)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 40 },
        }}),
        // Slot 'imagePresenceChanged'
        QtMocHelpers::SlotData<void(bool)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 42 },
        }}),
        // Slot 'update'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setCommentSaved'
        QtMocHelpers::SlotData<void(const QString &)>(44, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 45 },
        }}),
        // Slot 'pluginClosed'
        QtMocHelpers::SlotData<void(bool)>(46, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Slot 'pluginMessage'
        QtMocHelpers::SlotData<void(const QString &)>(47, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 36 },
        }}),
        // Slot 'pluginLoadFile'
        QtMocHelpers::SlotData<void(const QString &)>(48, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 49 },
        }}),
        // Slot 'pluginLoadImage'
        QtMocHelpers::SlotData<void(const QImage &)>(50, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 51, 52 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkControlWidget, qt_meta_tag_ZN3nmc15DkControlWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkControlWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<DkWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc15DkControlWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc15DkControlWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc15DkControlWidgetE_t>.metaTypes,
    nullptr
} };

void nmc::DkControlWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkControlWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->toggleHUD((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->showPreview((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->showMetaData((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->showFileInfo((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->showPlayer((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->startSlideshow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->startSlideshow(); break;
        case 7: _t->hideCrop((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->hideCrop(); break;
        case 9: _t->showCrop((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->showOverview((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->showHistogram((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->showCommentWidget((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->switchWidget((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 14: _t->switchWidget(); break;
        case 15: _t->changeMetaDataPosition((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->changeThumbNailPosition((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->showScroller((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 18: _t->setPluginWidget((*reinterpret_cast<std::add_pointer_t<DkViewPortInterface*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 19: { bool _r = _t->closePlugin((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 20: { bool _r = _t->closePlugin((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 21: { bool _r = _t->applyPluginChanges((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->updateImage((*reinterpret_cast<std::add_pointer_t<QSharedPointer<DkImageContainerT>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 23: _t->updateImage((*reinterpret_cast<std::add_pointer_t<QSharedPointer<DkImageContainerT>>>(_a[1]))); break;
        case 24: _t->setInfo((*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 25: _t->setInfo((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 26: _t->setInfo((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 27: _t->updateRating((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 28: _t->imagePresenceChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 29: _t->update(); break;
        case 30: _t->setCommentSaved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 31: _t->pluginClosed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 32: _t->pluginMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 33: _t->pluginLoadFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 34: _t->pluginLoadImage((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSharedPointer<DkImageContainerT> >(); break;
            }
            break;
        case 23:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSharedPointer<DkImageContainerT> >(); break;
            }
            break;
        }
    }
}

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

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

int nmc::DkControlWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DkWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 35)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 35;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 35)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 35;
    }
    return _id;
}
QT_WARNING_POP
