/****************************************************************************
** Meta object code from reading C++ file 'quickquestionlistener.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 "../../../../../knewstuff-6.27.0/src/qtquick/quickquestionlistener.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 'quickquestionlistener.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_ZN14KNewStuffQuick21QuickQuestionListenerE_t {};
} // unnamed namespace

template <> constexpr inline auto KNewStuffQuick::QuickQuestionListener::qt_create_metaobjectdata<qt_meta_tag_ZN14KNewStuffQuick21QuickQuestionListenerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KNewStuffQuick::QuickQuestionListener",
        "askListQuestion",
        "",
        "title",
        "question",
        "list",
        "askContinueCancelQuestion",
        "askTextInputQuestion",
        "askPasswordQuestion",
        "askYesNoQuestion",
        "askQuestion",
        "KNSCore::Question*",
        "passResponse",
        "responseIsContinue",
        "input"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'askListQuestion'
        QtMocHelpers::SignalData<void(QString, QString, QStringList)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { QMetaType::QStringList, 5 },
        }}),
        // Signal 'askContinueCancelQuestion'
        QtMocHelpers::SignalData<void(QString, QString)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'askTextInputQuestion'
        QtMocHelpers::SignalData<void(QString, QString)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'askPasswordQuestion'
        QtMocHelpers::SignalData<void(QString, QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'askYesNoQuestion'
        QtMocHelpers::SignalData<void(QString, QString)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Slot 'askQuestion'
        QtMocHelpers::SlotData<void(KNSCore::Question *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 4 },
        }}),
        // Slot 'passResponse'
        QtMocHelpers::SlotData<void(bool, QString)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 }, { QMetaType::QString, 14 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QuickQuestionListener, qt_meta_tag_ZN14KNewStuffQuick21QuickQuestionListenerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KNewStuffQuick::QuickQuestionListener::staticMetaObject = { {
    QMetaObject::SuperData::link<KNSCore::QuestionListener::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KNewStuffQuick21QuickQuestionListenerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KNewStuffQuick21QuickQuestionListenerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KNewStuffQuick21QuickQuestionListenerE_t>.metaTypes,
    nullptr
} };

void KNewStuffQuick::QuickQuestionListener::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QuickQuestionListener *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->askListQuestion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[3]))); break;
        case 1: _t->askContinueCancelQuestion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 2: _t->askTextInputQuestion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->askPasswordQuestion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 4: _t->askYesNoQuestion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 5: _t->askQuestion((*reinterpret_cast<std::add_pointer_t<KNSCore::Question*>>(_a[1]))); break;
        case 6: _t->passResponse((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QuickQuestionListener::*)(QString , QString , QStringList )>(_a, &QuickQuestionListener::askListQuestion, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QuickQuestionListener::*)(QString , QString )>(_a, &QuickQuestionListener::askContinueCancelQuestion, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QuickQuestionListener::*)(QString , QString )>(_a, &QuickQuestionListener::askTextInputQuestion, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QuickQuestionListener::*)(QString , QString )>(_a, &QuickQuestionListener::askPasswordQuestion, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QuickQuestionListener::*)(QString , QString )>(_a, &QuickQuestionListener::askYesNoQuestion, 4))
            return;
    }
}

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

void *KNewStuffQuick::QuickQuestionListener::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KNewStuffQuick21QuickQuestionListenerE_t>.strings))
        return static_cast<void*>(this);
    return KNSCore::QuestionListener::qt_metacast(_clname);
}

int KNewStuffQuick::QuickQuestionListener::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KNSCore::QuestionListener::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;
}

// SIGNAL 0
void KNewStuffQuick::QuickQuestionListener::askListQuestion(QString _t1, QString _t2, QStringList _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void KNewStuffQuick::QuickQuestionListener::askContinueCancelQuestion(QString _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void KNewStuffQuick::QuickQuestionListener::askTextInputQuestion(QString _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void KNewStuffQuick::QuickQuestionListener::askPasswordQuestion(QString _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

// SIGNAL 4
void KNewStuffQuick::QuickQuestionListener::askYesNoQuestion(QString _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}
QT_WARNING_POP
