/****************************************************************************
** Meta object code from reading C++ file 'ScriptConsole.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../amarok-3.3.3/src/scripting/scriptconsole/ScriptConsole.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 'ScriptConsole.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN15ScriptConsoleNS13ScriptConsoleE_t {};
} // unnamed namespace

template <> constexpr inline auto ScriptConsoleNS::ScriptConsole::qt_create_metaobjectdata<qt_meta_tag_ZN15ScriptConsoleNS13ScriptConsoleE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ScriptConsoleNS::ScriptConsole",
        "slotAbortEvaluation",
        "",
        "slotExecuteNewScript",
        "slotNewScript",
        "setCurrentScriptItem",
        "ScriptConsoleItem*",
        "item",
        "slotEvaluationSuspended",
        "slotEvaluationResumed",
        "slotEditScript"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotAbortEvaluation'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotExecuteNewScript'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotNewScript'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setCurrentScriptItem'
        QtMocHelpers::SlotData<void(ScriptConsoleItem *)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'slotEvaluationSuspended'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotEvaluationResumed'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotEditScript'
        QtMocHelpers::SlotData<void(ScriptConsoleItem *)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ScriptConsole, qt_meta_tag_ZN15ScriptConsoleNS13ScriptConsoleE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ScriptConsoleNS::ScriptConsole::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScriptConsoleNS13ScriptConsoleE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScriptConsoleNS13ScriptConsoleE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ScriptConsoleNS13ScriptConsoleE_t>.metaTypes,
    nullptr
} };

void ScriptConsoleNS::ScriptConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ScriptConsole *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotAbortEvaluation(); break;
        case 1: _t->slotExecuteNewScript(); break;
        case 2: _t->slotNewScript(); break;
        case 3: _t->setCurrentScriptItem((*reinterpret_cast<std::add_pointer_t<ScriptConsoleItem*>>(_a[1]))); break;
        case 4: _t->slotEvaluationSuspended(); break;
        case 5: _t->slotEvaluationResumed(); break;
        case 6: _t->slotEditScript((*reinterpret_cast<std::add_pointer_t<ScriptConsoleItem*>>(_a[1]))); break;
        default: ;
        }
    }
}

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

void *ScriptConsoleNS::ScriptConsole::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScriptConsoleNS13ScriptConsoleE_t>.strings))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int ScriptConsoleNS::ScriptConsole::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 7;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN15ScriptConsoleNS20ScriptListDockWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto ScriptConsoleNS::ScriptListDockWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15ScriptConsoleNS20ScriptListDockWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ScriptConsoleNS::ScriptListDockWidget",
        "edit",
        "",
        "ScriptConsoleItem*",
        "item",
        "executeScript",
        "currentItemChanged",
        "newItem",
        "newScript",
        "clear",
        "removeCurrentScript",
        "prev",
        "next",
        "slotDoubleClicked",
        "QModelIndex",
        "index",
        "slotCurrentItemChanged",
        "QListWidgetItem*",
        "oldItem"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'edit'
        QtMocHelpers::SignalData<void(ScriptConsoleItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'executeScript'
        QtMocHelpers::SignalData<void(ScriptConsoleItem *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'currentItemChanged'
        QtMocHelpers::SignalData<void(ScriptConsoleItem *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 7 },
        }}),
        // Signal 'newScript'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'removeCurrentScript'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'prev'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'next'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotDoubleClicked'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Slot 'slotCurrentItemChanged'
        QtMocHelpers::SlotData<void(QListWidgetItem *, QListWidgetItem *)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 7 }, { 0x80000000 | 17, 18 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ScriptListDockWidget, qt_meta_tag_ZN15ScriptConsoleNS20ScriptListDockWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ScriptConsoleNS::ScriptListDockWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScriptConsoleNS20ScriptListDockWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScriptConsoleNS20ScriptListDockWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ScriptConsoleNS20ScriptListDockWidgetE_t>.metaTypes,
    nullptr
} };

void ScriptConsoleNS::ScriptListDockWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ScriptListDockWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->edit((*reinterpret_cast<std::add_pointer_t<ScriptConsoleItem*>>(_a[1]))); break;
        case 1: _t->executeScript((*reinterpret_cast<std::add_pointer_t<ScriptConsoleItem*>>(_a[1]))); break;
        case 2: _t->currentItemChanged((*reinterpret_cast<std::add_pointer_t<ScriptConsoleItem*>>(_a[1]))); break;
        case 3: _t->newScript(); break;
        case 4: _t->clear(); break;
        case 5: _t->removeCurrentScript(); break;
        case 6: _t->prev(); break;
        case 7: _t->next(); break;
        case 8: _t->slotDoubleClicked((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 9: _t->slotCurrentItemChanged((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ScriptListDockWidget::*)(ScriptConsoleItem * )>(_a, &ScriptListDockWidget::edit, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScriptListDockWidget::*)(ScriptConsoleItem * )>(_a, &ScriptListDockWidget::executeScript, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScriptListDockWidget::*)(ScriptConsoleItem * )>(_a, &ScriptListDockWidget::currentItemChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScriptListDockWidget::*)()>(_a, &ScriptListDockWidget::newScript, 3))
            return;
    }
}

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

void *ScriptConsoleNS::ScriptListDockWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScriptConsoleNS20ScriptListDockWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QDockWidget::qt_metacast(_clname);
}

int ScriptConsoleNS::ScriptListDockWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDockWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void ScriptConsoleNS::ScriptListDockWidget::edit(ScriptConsoleItem * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void ScriptConsoleNS::ScriptListDockWidget::executeScript(ScriptConsoleItem * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ScriptConsoleNS::ScriptListDockWidget::currentItemChanged(ScriptConsoleItem * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void ScriptConsoleNS::ScriptListDockWidget::newScript()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
