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

#include <memory>
#include "../../../../../knewstuff-5.116.0/src/qtquick/quickquestionlistener.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'quickquestionlistener.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KNewStuffQuick__QuickQuestionListener_t {
    QByteArrayData data[15];
    char stringdata0[228];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KNewStuffQuick__QuickQuestionListener_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KNewStuffQuick__QuickQuestionListener_t qt_meta_stringdata_KNewStuffQuick__QuickQuestionListener = {
    {
QT_MOC_LITERAL(0, 0, 37), // "KNewStuffQuick::QuickQuestion..."
QT_MOC_LITERAL(1, 38, 15), // "askListQuestion"
QT_MOC_LITERAL(2, 54, 0), // ""
QT_MOC_LITERAL(3, 55, 5), // "title"
QT_MOC_LITERAL(4, 61, 8), // "question"
QT_MOC_LITERAL(5, 70, 4), // "list"
QT_MOC_LITERAL(6, 75, 25), // "askContinueCancelQuestion"
QT_MOC_LITERAL(7, 101, 20), // "askTextInputQuestion"
QT_MOC_LITERAL(8, 122, 19), // "askPasswordQuestion"
QT_MOC_LITERAL(9, 142, 16), // "askYesNoQuestion"
QT_MOC_LITERAL(10, 159, 11), // "askQuestion"
QT_MOC_LITERAL(11, 171, 18), // "KNSCore::Question*"
QT_MOC_LITERAL(12, 190, 12), // "passResponse"
QT_MOC_LITERAL(13, 203, 18), // "responseIsContinue"
QT_MOC_LITERAL(14, 222, 5) // "input"

    },
    "KNewStuffQuick::QuickQuestionListener\0"
    "askListQuestion\0\0title\0question\0list\0"
    "askContinueCancelQuestion\0"
    "askTextInputQuestion\0askPasswordQuestion\0"
    "askYesNoQuestion\0askQuestion\0"
    "KNSCore::Question*\0passResponse\0"
    "responseIsContinue\0input"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KNewStuffQuick__QuickQuestionListener[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    3,   49,    2, 0x06 /* Public */,
       6,    2,   56,    2, 0x06 /* Public */,
       7,    2,   61,    2, 0x06 /* Public */,
       8,    2,   66,    2, 0x06 /* Public */,
       9,    2,   71,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   76,    2, 0x0a /* Public */,
      12,    2,   79,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QStringList,    3,    4,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 11,    4,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,   13,   14,

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject KNewStuffQuick::QuickQuestionListener::staticMetaObject = { {
    QMetaObject::SuperData::link<KNSCore::QuestionListener::staticMetaObject>(),
    qt_meta_stringdata_KNewStuffQuick__QuickQuestionListener.data,
    qt_meta_data_KNewStuffQuick__QuickQuestionListener,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_KNewStuffQuick__QuickQuestionListener.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void KNewStuffQuick::QuickQuestionListener::askListQuestion(QString _t1, QString _t2, QStringList _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KNewStuffQuick::QuickQuestionListener::askContinueCancelQuestion(QString _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KNewStuffQuick::QuickQuestionListener::askTextInputQuestion(QString _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KNewStuffQuick::QuickQuestionListener::askPasswordQuestion(QString _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KNewStuffQuick::QuickQuestionListener::askYesNoQuestion(QString _t1, QString _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
