/****************************************************************************
** Meta object code from reading C++ file 'apps_list_table.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 "../../../../../../../vita3k/gui-qt/include/gui-qt/apps_list_table.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 'apps_list_table.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_ZN13AppsListTableE_t {};
} // unnamed namespace

template <> constexpr inline auto AppsListTable::qt_create_metaobjectdata<qt_meta_tag_ZN13AppsListTableE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AppsListTable",
        "app_boot_requested",
        "",
        "app::AppEntry",
        "app",
        "app_selection_changed",
        "const app::AppEntry*",
        "context_menu_requested",
        "QPoint",
        "global_pos",
        "std::vector<const app::AppEntry*>",
        "apps",
        "list_refreshed",
        "on_column_header_clicked",
        "col",
        "show_header_context_menu",
        "pos"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'app_boot_requested'
        QtMocHelpers::SignalData<void(const app::AppEntry &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'app_selection_changed'
        QtMocHelpers::SignalData<void(const app::AppEntry *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 4 },
        }}),
        // Signal 'context_menu_requested'
        QtMocHelpers::SignalData<void(const QPoint &, const std::vector<const app::AppEntry*> &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Signal 'list_refreshed'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_column_header_clicked'
        QtMocHelpers::SlotData<void(int)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'show_header_context_menu'
        QtMocHelpers::SlotData<void(const QPoint &)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 8, 16 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AppsListTable, qt_meta_tag_ZN13AppsListTableE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AppsListTable::staticMetaObject = { {
    QMetaObject::SuperData::link<QTableWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13AppsListTableE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13AppsListTableE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13AppsListTableE_t>.metaTypes,
    nullptr
} };

void AppsListTable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AppsListTable *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->app_boot_requested((*reinterpret_cast<std::add_pointer_t<app::AppEntry>>(_a[1]))); break;
        case 1: _t->app_selection_changed((*reinterpret_cast<std::add_pointer_t<const app::AppEntry*>>(_a[1]))); break;
        case 2: _t->context_menu_requested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<const app::AppEntry*>>>(_a[2]))); break;
        case 3: _t->list_refreshed(); break;
        case 4: _t->on_column_header_clicked((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->show_header_context_menu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AppsListTable::*)(const app::AppEntry & )>(_a, &AppsListTable::app_boot_requested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppsListTable::*)(const app::AppEntry * )>(_a, &AppsListTable::app_selection_changed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppsListTable::*)(const QPoint & , const std::vector<const app::AppEntry*> & )>(_a, &AppsListTable::context_menu_requested, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppsListTable::*)()>(_a, &AppsListTable::list_refreshed, 3))
            return;
    }
}

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

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

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

// SIGNAL 0
void AppsListTable::app_boot_requested(const app::AppEntry & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void AppsListTable::app_selection_changed(const app::AppEntry * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void AppsListTable::context_menu_requested(const QPoint & _t1, const std::vector<const app::AppEntry*> & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void AppsListTable::list_refreshed()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
