/****************************************************************************
** Meta object code from reading C++ file 'DkToolbars.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/DkToolbars.h"
#include <QtGui/qtextcursor.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 'DkToolbars.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_ZN3nmc13DkMainToolBarE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkMainToolBar::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc13DkMainToolBarE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkMainToolBar",
        "closeQuickAccess",
        ""
    };

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

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

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

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

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

template <> constexpr inline auto nmc::DkColorSlider::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc13DkColorSliderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkColorSlider",
        "sliderMoved",
        "",
        "DkColorSlider*",
        "sender",
        "dragDistX",
        "yPos",
        "sliderActivated",
        "colorChanged",
        "slider",
        "paintEvent",
        "QPaintEvent*",
        "event"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sliderMoved'
        QtMocHelpers::SignalData<void(DkColorSlider *, int, int) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Int, 5 }, { QMetaType::Int, 6 },
        }}),
        // Signal 'sliderActivated'
        QtMocHelpers::SignalData<void(DkColorSlider *) const>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'colorChanged'
        QtMocHelpers::SignalData<void(DkColorSlider *) const>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 9 },
        }}),
        // Slot 'paintEvent'
        QtMocHelpers::SlotData<void(QPaintEvent *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkColorSlider, qt_meta_tag_ZN3nmc13DkColorSliderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkColorSlider::staticMetaObject = { {
    QMetaObject::SuperData::link<DkWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc13DkColorSliderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc13DkColorSliderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc13DkColorSliderE_t>.metaTypes,
    nullptr
} };

void nmc::DkColorSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkColorSlider *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sliderMoved((*reinterpret_cast<std::add_pointer_t<DkColorSlider*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 1: _t->sliderActivated((*reinterpret_cast<std::add_pointer_t<DkColorSlider*>>(_a[1]))); break;
        case 2: _t->colorChanged((*reinterpret_cast<std::add_pointer_t<DkColorSlider*>>(_a[1]))); break;
        case 3: _t->paintEvent((*reinterpret_cast<std::add_pointer_t<QPaintEvent*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DkColorSlider* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DkColorSlider* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DkColorSlider* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DkColorSlider::*)(DkColorSlider * , int , int ) const>(_a, &DkColorSlider::sliderMoved, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkColorSlider::*)(DkColorSlider * ) const>(_a, &DkColorSlider::sliderActivated, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkColorSlider::*)(DkColorSlider * ) const>(_a, &DkColorSlider::colorChanged, 2))
            return;
    }
}

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

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

int nmc::DkColorSlider::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void nmc::DkColorSlider::sliderMoved(DkColorSlider * _t1, int _t2, int _t3)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkColorSlider *>(this), &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

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

// SIGNAL 2
void nmc::DkColorSlider::colorChanged(DkColorSlider * _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkColorSlider *>(this), &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN3nmc10DkGradientE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkGradient::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc10DkGradientE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkGradient",
        "gradientChanged",
        "",
        "moveSlider",
        "DkColorSlider*",
        "sender",
        "dragDistX",
        "yPos",
        "changeColor",
        "slider",
        "activateSlider"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'gradientChanged'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveSlider'
        QtMocHelpers::SlotData<void(DkColorSlider *, int, int)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 }, { QMetaType::Int, 6 }, { QMetaType::Int, 7 },
        }}),
        // Slot 'changeColor'
        QtMocHelpers::SlotData<void(DkColorSlider *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 9 },
        }}),
        // Slot 'activateSlider'
        QtMocHelpers::SlotData<void(DkColorSlider *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkGradient, qt_meta_tag_ZN3nmc10DkGradientE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkGradient::staticMetaObject = { {
    QMetaObject::SuperData::link<DkWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc10DkGradientE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc10DkGradientE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc10DkGradientE_t>.metaTypes,
    nullptr
} };

void nmc::DkGradient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkGradient *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->gradientChanged(); break;
        case 1: _t->moveSlider((*reinterpret_cast<std::add_pointer_t<DkColorSlider*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 2: _t->changeColor((*reinterpret_cast<std::add_pointer_t<DkColorSlider*>>(_a[1]))); break;
        case 3: _t->activateSlider((*reinterpret_cast<std::add_pointer_t<DkColorSlider*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DkColorSlider* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DkColorSlider* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DkColorSlider* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DkGradient::*)() const>(_a, &DkGradient::gradientChanged, 0))
            return;
    }
}

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

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

int nmc::DkGradient::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void nmc::DkGradient::gradientChanged()const
{
    QMetaObject::activate(const_cast< nmc::DkGradient *>(this), &staticMetaObject, 0, nullptr);
}
namespace {
struct qt_meta_tag_ZN3nmc17DkTransferToolBarE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkTransferToolBar::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc17DkTransferToolBarE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkTransferToolBar",
        "pickColorRequest",
        "",
        "enabled",
        "colorTableChanged",
        "QGradientStops",
        "stops",
        "channelChanged",
        "channel",
        "transferFunctionChanged",
        "tFEnabled",
        "gradientChanged",
        "paintEvent",
        "QPaintEvent*",
        "event",
        "pickColorCancelled",
        "insertSlider",
        "pos",
        "setImageMode",
        "mode",
        "saveGradient",
        "deleteGradientMenu",
        "QPoint",
        "deleteGradient",
        "resetGradient",
        "applyTF",
        "pickColor",
        "changeChannel",
        "index",
        "enableTFCheckBoxClicked",
        "state",
        "switchGradient",
        "idx"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'pickColorRequest'
        QtMocHelpers::SignalData<void(bool) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'colorTableChanged'
        QtMocHelpers::SignalData<void(QGradientStops) const>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'channelChanged'
        QtMocHelpers::SignalData<void(int) const>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Signal 'transferFunctionChanged'
        QtMocHelpers::SignalData<void(int, QGradientStops) const>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'tFEnabled'
        QtMocHelpers::SignalData<void(bool) const>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'gradientChanged'
        QtMocHelpers::SignalData<void() const>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'paintEvent'
        QtMocHelpers::SlotData<void(QPaintEvent *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'pickColorCancelled'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'insertSlider'
        QtMocHelpers::SlotData<void(qreal)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 17 },
        }}),
        // Slot 'setImageMode'
        QtMocHelpers::SlotData<void(int)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 19 },
        }}),
        // Slot 'saveGradient'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'deleteGradientMenu'
        QtMocHelpers::SlotData<void(QPoint)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 17 },
        }}),
        // Slot 'deleteGradient'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'resetGradient'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'applyTF'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'pickColor'
        QtMocHelpers::SlotData<void(bool)>(26, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'changeChannel'
        QtMocHelpers::SlotData<void(int)>(27, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 28 },
        }}),
        // Slot 'enableTFCheckBoxClicked'
        QtMocHelpers::SlotData<void(int)>(29, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 30 },
        }}),
        // Slot 'switchGradient'
        QtMocHelpers::SlotData<void(int)>(31, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 32 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkTransferToolBar, qt_meta_tag_ZN3nmc17DkTransferToolBarE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkTransferToolBar::staticMetaObject = { {
    QMetaObject::SuperData::link<QToolBar::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc17DkTransferToolBarE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc17DkTransferToolBarE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc17DkTransferToolBarE_t>.metaTypes,
    nullptr
} };

void nmc::DkTransferToolBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkTransferToolBar *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->pickColorRequest((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->colorTableChanged((*reinterpret_cast<std::add_pointer_t<QGradientStops>>(_a[1]))); break;
        case 2: _t->channelChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->transferFunctionChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QGradientStops>>(_a[2]))); break;
        case 4: _t->tFEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->gradientChanged(); break;
        case 6: _t->paintEvent((*reinterpret_cast<std::add_pointer_t<QPaintEvent*>>(_a[1]))); break;
        case 7: _t->pickColorCancelled(); break;
        case 8: _t->insertSlider((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 9: _t->setImageMode((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->saveGradient(); break;
        case 11: _t->deleteGradientMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 12: _t->deleteGradient(); break;
        case 13: _t->resetGradient(); break;
        case 14: _t->applyTF(); break;
        case 15: _t->pickColor((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->changeChannel((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->enableTFCheckBoxClicked((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->switchGradient((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DkTransferToolBar::*)(bool ) const>(_a, &DkTransferToolBar::pickColorRequest, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkTransferToolBar::*)(QGradientStops ) const>(_a, &DkTransferToolBar::colorTableChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkTransferToolBar::*)(int ) const>(_a, &DkTransferToolBar::channelChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkTransferToolBar::*)(int , QGradientStops ) const>(_a, &DkTransferToolBar::transferFunctionChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkTransferToolBar::*)(bool ) const>(_a, &DkTransferToolBar::tFEnabled, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkTransferToolBar::*)() const>(_a, &DkTransferToolBar::gradientChanged, 5))
            return;
    }
}

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

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

int nmc::DkTransferToolBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QToolBar::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 19;
    }
    return _id;
}

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

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

// SIGNAL 2
void nmc::DkTransferToolBar::channelChanged(int _t1)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkTransferToolBar *>(this), &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void nmc::DkTransferToolBar::transferFunctionChanged(int _t1, QGradientStops _t2)const
{
    QMetaObject::activate<void>(const_cast< nmc::DkTransferToolBar *>(this), &staticMetaObject, 3, nullptr, _t1, _t2);
}

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

// SIGNAL 5
void nmc::DkTransferToolBar::gradientChanged()const
{
    QMetaObject::activate(const_cast< nmc::DkTransferToolBar *>(this), &staticMetaObject, 5, nullptr);
}
namespace {
struct qt_meta_tag_ZN3nmc13DkCropToolBarE_t {};
} // unnamed namespace

template <> constexpr inline auto nmc::DkCropToolBar::qt_create_metaobjectdata<qt_meta_tag_ZN3nmc13DkCropToolBarE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "nmc::DkCropToolBar",
        "panSignal",
        "",
        "checked",
        "cropSignal",
        "cropToMetadata",
        "cancelSignal",
        "aspectRatio",
        "DkVector",
        "diag",
        "angleSignal",
        "angle",
        "colorSignal",
        "QBrush",
        "brush",
        "paintHint",
        "paintMode",
        "shadingHint",
        "invert",
        "showInfo",
        "show",
        "updateRectSignal",
        "QRect",
        "r",
        "setAspectRatio",
        "QPointF",
        "aRatio",
        "setRect",
        "onCropActionTriggered",
        "onCancelActionTriggered",
        "onSwapActionTriggered",
        "onRatioBoxCurrentIndexChanged",
        "text",
        "onGuideBoxCurrentIndexChanged",
        "idx",
        "onHorValBoxValueChanged",
        "val",
        "onVerValBoxValueChanged",
        "onAngleBoxValueChanged",
        "onBgColButtonClicked",
        "onPanActionToggled",
        "onInvertActionToggled",
        "onInfoActionToggled",
        "angleChanged",
        "setVisible",
        "visible"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'panSignal'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'cropSignal'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'cropSignal'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Signal 'cancelSignal'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'aspectRatio'
        QtMocHelpers::SignalData<void(const DkVector &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'angleSignal'
        QtMocHelpers::SignalData<void(double)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 11 },
        }}),
        // Signal 'colorSignal'
        QtMocHelpers::SignalData<void(const QBrush &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Signal 'paintHint'
        QtMocHelpers::SignalData<void(int)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 },
        }}),
        // Signal 'shadingHint'
        QtMocHelpers::SignalData<void(bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 18 },
        }}),
        // Signal 'showInfo'
        QtMocHelpers::SignalData<void(bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Signal 'updateRectSignal'
        QtMocHelpers::SignalData<void(const QRect &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'setAspectRatio'
        QtMocHelpers::SlotData<void(const QPointF &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'setRect'
        QtMocHelpers::SlotData<void(const QRect &)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'onCropActionTriggered'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onCancelActionTriggered'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onSwapActionTriggered'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onRatioBoxCurrentIndexChanged'
        QtMocHelpers::SlotData<void(const QString &)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 32 },
        }}),
        // Slot 'onGuideBoxCurrentIndexChanged'
        QtMocHelpers::SlotData<void(int)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 34 },
        }}),
        // Slot 'onHorValBoxValueChanged'
        QtMocHelpers::SlotData<void(double)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 36 },
        }}),
        // Slot 'onVerValBoxValueChanged'
        QtMocHelpers::SlotData<void(double)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 36 },
        }}),
        // Slot 'onAngleBoxValueChanged'
        QtMocHelpers::SlotData<void(double)>(38, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 36 },
        }}),
        // Slot 'onBgColButtonClicked'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPanActionToggled'
        QtMocHelpers::SlotData<void(bool)>(40, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'onInvertActionToggled'
        QtMocHelpers::SlotData<void(bool)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'onInfoActionToggled'
        QtMocHelpers::SlotData<void(bool)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'angleChanged'
        QtMocHelpers::SlotData<void(double)>(43, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 36 },
        }}),
        // Slot 'setVisible'
        QtMocHelpers::SlotData<void(bool)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 45 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DkCropToolBar, qt_meta_tag_ZN3nmc13DkCropToolBarE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject nmc::DkCropToolBar::staticMetaObject = { {
    QMetaObject::SuperData::link<QToolBar::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc13DkCropToolBarE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3nmc13DkCropToolBarE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3nmc13DkCropToolBarE_t>.metaTypes,
    nullptr
} };

void nmc::DkCropToolBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DkCropToolBar *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->panSignal((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->cropSignal((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->cropSignal(); break;
        case 3: _t->cancelSignal(); break;
        case 4: _t->aspectRatio((*reinterpret_cast<std::add_pointer_t<DkVector>>(_a[1]))); break;
        case 5: _t->angleSignal((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 6: _t->colorSignal((*reinterpret_cast<std::add_pointer_t<QBrush>>(_a[1]))); break;
        case 7: _t->paintHint((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->shadingHint((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->showInfo((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->updateRectSignal((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1]))); break;
        case 11: _t->setAspectRatio((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1]))); break;
        case 12: _t->setRect((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1]))); break;
        case 13: _t->onCropActionTriggered(); break;
        case 14: _t->onCancelActionTriggered(); break;
        case 15: _t->onSwapActionTriggered(); break;
        case 16: _t->onRatioBoxCurrentIndexChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 17: _t->onGuideBoxCurrentIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->onHorValBoxValueChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 19: _t->onVerValBoxValueChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 20: _t->onAngleBoxValueChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 21: _t->onBgColButtonClicked(); break;
        case 22: _t->onPanActionToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->onInvertActionToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 24: _t->onInfoActionToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 25: _t->angleChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 26: _t->setVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(bool )>(_a, &DkCropToolBar::panSignal, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(bool )>(_a, &DkCropToolBar::cropSignal, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)()>(_a, &DkCropToolBar::cancelSignal, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(const DkVector & )>(_a, &DkCropToolBar::aspectRatio, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(double )>(_a, &DkCropToolBar::angleSignal, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(const QBrush & )>(_a, &DkCropToolBar::colorSignal, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(int )>(_a, &DkCropToolBar::paintHint, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(bool )>(_a, &DkCropToolBar::shadingHint, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(bool )>(_a, &DkCropToolBar::showInfo, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (DkCropToolBar::*)(const QRect & )>(_a, &DkCropToolBar::updateRectSignal, 10))
            return;
    }
}

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

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

int nmc::DkCropToolBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QToolBar::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 27;
    }
    return _id;
}

// SIGNAL 0
void nmc::DkCropToolBar::panSignal(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void nmc::DkCropToolBar::cropSignal(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 3
void nmc::DkCropToolBar::cancelSignal()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void nmc::DkCropToolBar::aspectRatio(const DkVector & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void nmc::DkCropToolBar::angleSignal(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void nmc::DkCropToolBar::colorSignal(const QBrush & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void nmc::DkCropToolBar::paintHint(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void nmc::DkCropToolBar::shadingHint(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void nmc::DkCropToolBar::showInfo(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void nmc::DkCropToolBar::updateRectSignal(const QRect & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}
QT_WARNING_POP
