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

template <> constexpr inline auto Avogadro::QtPlugins::Orbitals::qt_create_metaobjectdata<qt_meta_tag_ZN8Avogadro9QtPlugins8OrbitalsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Avogadro::QtPlugins::Orbitals",
        "moleculeChanged",
        "",
        "changes",
        "openDialog",
        "loadBasis",
        "loadOrbitals",
        "calculateOrbitalFromWidget",
        "orbital",
        "resolution",
        "Core::BasisSet::ElectronType",
        "electronType",
        "precalculateOrbitals",
        "addCalculationToQueue",
        "isoval",
        "priority",
        "checkQueue",
        "startCalculation",
        "queueIndex",
        "calculateCube",
        "calculateCubeDone",
        "calculatePosMesh",
        "calculatePosMeshDone",
        "calculateNegMesh",
        "calculateNegMeshDone",
        "calculationComplete",
        "meshComplete",
        "renderOrbital"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'moleculeChanged'
        QtMocHelpers::SlotData<void(unsigned int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 3 },
        }}),
        // Slot 'openDialog'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'loadBasis'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'loadOrbitals'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculateOrbitalFromWidget'
        QtMocHelpers::SlotData<void(unsigned int, double, Core::BasisSet::ElectronType)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 8 }, { QMetaType::Double, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'precalculateOrbitals'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'addCalculationToQueue'
        QtMocHelpers::SlotData<void(unsigned int, double, double, Core::BasisSet::ElectronType, unsigned int)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 8 }, { QMetaType::Double, 9 }, { QMetaType::Double, 14 }, { 0x80000000 | 10, 11 },
            { QMetaType::UInt, 15 },
        }}),
        // Slot 'addCalculationToQueue'
        QtMocHelpers::SlotData<void(unsigned int, double, double, Core::BasisSet::ElectronType)>(13, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::UInt, 8 }, { QMetaType::Double, 9 }, { QMetaType::Double, 14 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'checkQueue'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'startCalculation'
        QtMocHelpers::SlotData<void(unsigned int)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 18 },
        }}),
        // Slot 'calculateCube'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculateCubeDone'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculatePosMesh'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculatePosMeshDone'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculateNegMesh'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculateNegMeshDone'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'calculationComplete'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'meshComplete'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'renderOrbital'
        QtMocHelpers::SlotData<void(unsigned int, Core::BasisSet::ElectronType)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 8 }, { 0x80000000 | 10, 11 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Orbitals, qt_meta_tag_ZN8Avogadro9QtPlugins8OrbitalsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Avogadro::QtPlugins::Orbitals::staticMetaObject = { {
    QMetaObject::SuperData::link<QtGui::ExtensionPlugin::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Avogadro9QtPlugins8OrbitalsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Avogadro9QtPlugins8OrbitalsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Avogadro9QtPlugins8OrbitalsE_t>.metaTypes,
    nullptr
} };

void Avogadro::QtPlugins::Orbitals::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Orbitals *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->moleculeChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 1: _t->openDialog(); break;
        case 2: _t->loadBasis(); break;
        case 3: _t->loadOrbitals(); break;
        case 4: _t->calculateOrbitalFromWidget((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Core::BasisSet::ElectronType>>(_a[3]))); break;
        case 5: _t->precalculateOrbitals(); break;
        case 6: _t->addCalculationToQueue((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<Core::BasisSet::ElectronType>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[5]))); break;
        case 7: _t->addCalculationToQueue((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<Core::BasisSet::ElectronType>>(_a[4]))); break;
        case 8: _t->checkQueue(); break;
        case 9: _t->startCalculation((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 10: _t->calculateCube(); break;
        case 11: _t->calculateCubeDone(); break;
        case 12: _t->calculatePosMesh(); break;
        case 13: _t->calculatePosMeshDone(); break;
        case 14: _t->calculateNegMesh(); break;
        case 15: _t->calculateNegMeshDone(); break;
        case 16: _t->calculationComplete(); break;
        case 17: _t->meshComplete(); break;
        case 18: _t->renderOrbital((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Core::BasisSet::ElectronType>>(_a[2]))); break;
        default: ;
        }
    }
}

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

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

int Avogadro::QtPlugins::Orbitals::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 < 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;
}
QT_WARNING_POP
