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

#include "../../../albert/include/albert/queryresults.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 'queryresults.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.2. 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_ZN6albert12QueryResultsE_t {};
} // unnamed namespace

template <> constexpr inline auto albert::QueryResults::qt_create_metaobjectdata<qt_meta_tag_ZN6albert12QueryResultsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "albert::QueryResults",
        "resultsAboutToBeInserted",
        "",
        "first",
        "last",
        "resultsInserted",
        "resultsAboutToBeRemoved",
        "resultsRemoved",
        "resultsAboutToBeMoved",
        "srcFirst",
        "srcLast",
        "dst",
        "resultsMoved",
        "resultsAboutToBeReset",
        "resultsReset",
        "resultChanged",
        "i",
        "resultActivated",
        "query",
        "extension_id",
        "item_id",
        "action_id"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'resultsAboutToBeInserted'
        QtMocHelpers::SignalData<void(int, int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'resultsInserted'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'resultsAboutToBeRemoved'
        QtMocHelpers::SignalData<void(int, int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 },
        }}),
        // Signal 'resultsRemoved'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'resultsAboutToBeMoved'
        QtMocHelpers::SignalData<void(int, int, int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 }, { QMetaType::Int, 10 }, { QMetaType::Int, 11 },
        }}),
        // Signal 'resultsMoved'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'resultsAboutToBeReset'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'resultsReset'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'resultChanged'
        QtMocHelpers::SignalData<void(uint)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 16 },
        }}),
        // Signal 'resultActivated'
        QtMocHelpers::SignalData<void(QString, QString, QString, QString)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 }, { QMetaType::QString, 19 }, { QMetaType::QString, 20 }, { QMetaType::QString, 21 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QueryResults, qt_meta_tag_ZN6albert12QueryResultsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject albert::QueryResults::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6albert12QueryResultsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6albert12QueryResultsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6albert12QueryResultsE_t>.metaTypes,
    nullptr
} };

void albert::QueryResults::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QueryResults *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->resultsAboutToBeInserted((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 1: _t->resultsInserted(); break;
        case 2: _t->resultsAboutToBeRemoved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->resultsRemoved(); break;
        case 4: _t->resultsAboutToBeMoved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 5: _t->resultsMoved(); break;
        case 6: _t->resultsAboutToBeReset(); break;
        case 7: _t->resultsReset(); break;
        case 8: _t->resultChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 9: _t->resultActivated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)(int , int )>(_a, &QueryResults::resultsAboutToBeInserted, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)()>(_a, &QueryResults::resultsInserted, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)(int , int )>(_a, &QueryResults::resultsAboutToBeRemoved, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)()>(_a, &QueryResults::resultsRemoved, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)(int , int , int )>(_a, &QueryResults::resultsAboutToBeMoved, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)()>(_a, &QueryResults::resultsMoved, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)()>(_a, &QueryResults::resultsAboutToBeReset, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)()>(_a, &QueryResults::resultsReset, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)(uint )>(_a, &QueryResults::resultChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (QueryResults::*)(QString , QString , QString , QString )>(_a, &QueryResults::resultActivated, 9))
            return;
    }
}

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

void *albert::QueryResults::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6albert12QueryResultsE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int albert::QueryResults::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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 albert::QueryResults::resultsAboutToBeInserted(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void albert::QueryResults::resultsInserted()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void albert::QueryResults::resultsAboutToBeRemoved(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void albert::QueryResults::resultsRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void albert::QueryResults::resultsAboutToBeMoved(int _t1, int _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
}

// SIGNAL 5
void albert::QueryResults::resultsMoved()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void albert::QueryResults::resultsAboutToBeReset()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void albert::QueryResults::resultsReset()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void albert::QueryResults::resultChanged(uint _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void albert::QueryResults::resultActivated(QString _t1, QString _t2, QString _t3, QString _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1, _t2, _t3, _t4);
}
QT_WARNING_POP
