/****************************************************************************
** Meta object code from reading C++ file 'surfaces.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 "../../../../../../avogadrolibs/avogadro/qtplugins/surfaces/surfaces.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 'surfaces.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_ZN8Avogadro9QtPlugins8SurfacesE_t {};
} // unnamed namespace

template <> constexpr inline auto Avogadro::QtPlugins::Surfaces::qt_create_metaobjectdata<qt_meta_tag_ZN8Avogadro9QtPlugins8SurfacesE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Avogadro::QtPlugins::Surfaces",
        "handleCommand",
        "",
        "command",
        "QVariantMap",
        "options",
        "moleculeChanged",
        "changes",
        "surfacesActivated",
        "calculateSurface",
        "calculateEDT",
        "Type",
        "type",
        "defaultResolution",
        "performEDTStep",
        "calculateQM",
        "index",
        "betaSpin",
        "isoValue",
        "calculateCube",
        "stepChanged",
        "displayMesh",
        "meshFinished",
        "colorMesh",
        "colorMeshByPotential",
        "recordMovie",
        "movieFrame"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'handleCommand'
        QtMocHelpers::SlotData<bool(const QString &, const QVariantMap &)>(1, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 3 }, { 0x80000000 | 4, 5 },
        }}),
        // Slot 'moleculeChanged'
        QtMocHelpers::SlotData<void(unsigned int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
        // Slot 'surfacesActivated'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculateSurface'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculateEDT'
        QtMocHelpers::SlotData<void(enum Type, float)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { QMetaType::Float, 13 },
        }}),
        // Slot 'calculateEDT'
        QtMocHelpers::SlotData<void(enum Type)>(10, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'calculateEDT'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'performEDTStep'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculateQM'
        QtMocHelpers::SlotData<void(enum Type, int, bool, float, float)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { QMetaType::Int, 16 }, { QMetaType::Bool, 17 }, { QMetaType::Float, 18 },
            { QMetaType::Float, 13 },
        }}),
        // Slot 'calculateQM'
        QtMocHelpers::SlotData<void(enum Type, int, bool, float)>(15, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { QMetaType::Int, 16 }, { QMetaType::Bool, 17 }, { QMetaType::Float, 18 },
        }}),
        // Slot 'calculateQM'
        QtMocHelpers::SlotData<void(enum Type, int, bool)>(15, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { QMetaType::Int, 16 }, { QMetaType::Bool, 17 },
        }}),
        // Slot 'calculateQM'
        QtMocHelpers::SlotData<void(enum Type, int)>(15, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { QMetaType::Int, 16 },
        }}),
        // Slot 'calculateQM'
        QtMocHelpers::SlotData<void(enum Type)>(15, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'calculateQM'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'calculateCube'
        QtMocHelpers::SlotData<void(int, float)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 16 }, { QMetaType::Float, 18 },
        }}),
        // Slot 'calculateCube'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 16 },
        }}),
        // Slot 'calculateCube'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'stepChanged'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'displayMesh'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'meshFinished'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'colorMesh'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'colorMeshByPotential'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'recordMovie'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'movieFrame'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Surfaces, qt_meta_tag_ZN8Avogadro9QtPlugins8SurfacesE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Avogadro::QtPlugins::Surfaces::staticMetaObject = { {
    QMetaObject::SuperData::link<QtGui::ExtensionPlugin::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Avogadro9QtPlugins8SurfacesE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Avogadro9QtPlugins8SurfacesE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Avogadro9QtPlugins8SurfacesE_t>.metaTypes,
    nullptr
} };

void Avogadro::QtPlugins::Surfaces::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Surfaces *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = _t->handleCommand((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->moleculeChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 2: _t->surfacesActivated(); break;
        case 3: _t->calculateSurface(); break;
        case 4: _t->calculateEDT((*reinterpret_cast<std::add_pointer_t<enum Type>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[2]))); break;
        case 5: _t->calculateEDT((*reinterpret_cast<std::add_pointer_t<enum Type>>(_a[1]))); break;
        case 6: _t->calculateEDT(); break;
        case 7: _t->performEDTStep(); break;
        case 8: _t->calculateQM((*reinterpret_cast<std::add_pointer_t<enum Type>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[5]))); break;
        case 9: _t->calculateQM((*reinterpret_cast<std::add_pointer_t<enum Type>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[4]))); break;
        case 10: _t->calculateQM((*reinterpret_cast<std::add_pointer_t<enum Type>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 11: _t->calculateQM((*reinterpret_cast<std::add_pointer_t<enum Type>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 12: _t->calculateQM((*reinterpret_cast<std::add_pointer_t<enum Type>>(_a[1]))); break;
        case 13: _t->calculateQM(); break;
        case 14: _t->calculateCube((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<float>>(_a[2]))); break;
        case 15: _t->calculateCube((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->calculateCube(); break;
        case 17: _t->stepChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->displayMesh(); break;
        case 19: _t->meshFinished(); break;
        case 20: _t->colorMesh(); break;
        case 21: _t->colorMeshByPotential(); break;
        case 22: _t->recordMovie(); break;
        case 23: _t->movieFrame(); break;
        default: ;
        }
    }
}

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

void *Avogadro::QtPlugins::Surfaces::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Avogadro9QtPlugins8SurfacesE_t>.strings))
        return static_cast<void*>(this);
    return QtGui::ExtensionPlugin::qt_metacast(_clname);
}

int Avogadro::QtPlugins::Surfaces::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QtGui::ExtensionPlugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 24;
    }
    return _id;
}
QT_WARNING_POP
