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

template <> constexpr inline auto ConvertList::qt_create_metaobjectdata<qt_meta_tag_ZN11ConvertListE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConvertList",
        "start_conversion",
        "",
        "index",
        "ConversionParameters",
        "param",
        "task_finished",
        "all_tasks_finished",
        "customContextMenuRequested",
        "QPoint",
        "pos",
        "itemSelectionChanged",
        "started",
        "stopped",
        "start",
        "stop",
        "removeSelectedItems",
        "removeCompletedItems",
        "editSelectedParameters",
        "changeSelectedOutputFile",
        "changeSelectedOutputDirectory",
        "cutSelectedTask",
        "retrySelectedItems",
        "retryAll",
        "showErrorMessage",
        "clear",
        "task_finished_slot",
        "progress_refreshed",
        "show_background_image",
        "hide_background_image",
        "slotHeaderContextMenu",
        "slotHeaderContextMenuTriggered",
        "QAction*",
        "slotRestoreListHeaders",
        "slotDoubleClick",
        "QModelIndex",
        "slotAllItemsRemoved"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'start_conversion'
        QtMocHelpers::SignalData<void(int, ConversionParameters)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'task_finished'
        QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'all_tasks_finished'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'customContextMenuRequested'
        QtMocHelpers::SignalData<void(const QPoint &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Signal 'itemSelectionChanged'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'started'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'stopped'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'start'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stop'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'removeSelectedItems'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'removeCompletedItems'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'editSelectedParameters'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeSelectedOutputFile'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeSelectedOutputDirectory'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cutSelectedTask'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'retrySelectedItems'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'retryAll'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showErrorMessage'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'task_finished_slot'
        QtMocHelpers::SlotData<void(int)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'progress_refreshed'
        QtMocHelpers::SlotData<void(int)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'show_background_image'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'hide_background_image'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotHeaderContextMenu'
        QtMocHelpers::SlotData<void(QPoint)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Slot 'slotHeaderContextMenuTriggered'
        QtMocHelpers::SlotData<void(QAction *)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 32, 2 },
        }}),
        // Slot 'slotRestoreListHeaders'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDoubleClick'
        QtMocHelpers::SlotData<void(QModelIndex)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 35, 2 },
        }}),
        // Slot 'slotAllItemsRemoved'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ConvertList, qt_meta_tag_ZN11ConvertListE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConvertList::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ConvertListE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ConvertListE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11ConvertListE_t>.metaTypes,
    nullptr
} };

void ConvertList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ConvertList *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->start_conversion((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ConversionParameters>>(_a[2]))); break;
        case 1: _t->task_finished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->all_tasks_finished(); break;
        case 3: _t->customContextMenuRequested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 4: _t->itemSelectionChanged(); break;
        case 5: _t->started(); break;
        case 6: _t->stopped(); break;
        case 7: _t->start(); break;
        case 8: _t->stop(); break;
        case 9: _t->removeSelectedItems(); break;
        case 10: _t->removeCompletedItems(); break;
        case 11: _t->editSelectedParameters(); break;
        case 12: _t->changeSelectedOutputFile(); break;
        case 13: _t->changeSelectedOutputDirectory(); break;
        case 14: _t->cutSelectedTask(); break;
        case 15: _t->retrySelectedItems(); break;
        case 16: _t->retryAll(); break;
        case 17: _t->showErrorMessage(); break;
        case 18: _t->clear(); break;
        case 19: _t->task_finished_slot((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 20: _t->progress_refreshed((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 21: _t->show_background_image(); break;
        case 22: _t->hide_background_image(); break;
        case 23: _t->slotHeaderContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 24: _t->slotHeaderContextMenuTriggered((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 25: _t->slotRestoreListHeaders(); break;
        case 26: _t->slotDoubleClick((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 27: _t->slotAllItemsRemoved(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ConvertList::*)(int , ConversionParameters )>(_a, &ConvertList::start_conversion, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConvertList::*)(int )>(_a, &ConvertList::task_finished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConvertList::*)()>(_a, &ConvertList::all_tasks_finished, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConvertList::*)(const QPoint & )>(_a, &ConvertList::customContextMenuRequested, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConvertList::*)()>(_a, &ConvertList::itemSelectionChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConvertList::*)()>(_a, &ConvertList::started, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConvertList::*)()>(_a, &ConvertList::stopped, 6))
            return;
    }
}

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

void *ConvertList::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ConvertListE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int ConvertList::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    return _id;
}

// SIGNAL 0
void ConvertList::start_conversion(int _t1, ConversionParameters _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void ConvertList::task_finished(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ConvertList::all_tasks_finished()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ConvertList::customContextMenuRequested(const QPoint & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void ConvertList::itemSelectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void ConvertList::started()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void ConvertList::stopped()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
