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

#include <memory>
#include "../../../../bibletime-2.11.2/src/frontend/keychooser/clexiconkeychooser.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'clexiconkeychooser.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. 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_CLexiconKeyChooser_t {
    QByteArrayData data[14];
    char stringdata0[135];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CLexiconKeyChooser_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CLexiconKeyChooser_t qt_meta_stringdata_CLexiconKeyChooser = {
    {
QT_MOC_LITERAL(0, 0, 18), // "CLexiconKeyChooser"
QT_MOC_LITERAL(1, 19, 3), // "key"
QT_MOC_LITERAL(2, 23, 10), // "CSwordKey*"
QT_MOC_LITERAL(3, 34, 0), // ""
QT_MOC_LITERAL(4, 35, 6), // "setKey"
QT_MOC_LITERAL(5, 42, 9), // "activated"
QT_MOC_LITERAL(6, 52, 5), // "index"
QT_MOC_LITERAL(7, 58, 14), // "refreshContent"
QT_MOC_LITERAL(8, 73, 10), // "setModules"
QT_MOC_LITERAL(9, 84, 17), // "BtConstModuleList"
QT_MOC_LITERAL(10, 102, 7), // "modules"
QT_MOC_LITERAL(11, 110, 7), // "refresh"
QT_MOC_LITERAL(12, 118, 9), // "updateKey"
QT_MOC_LITERAL(13, 128, 6) // "newKey"

    },
    "CLexiconKeyChooser\0key\0CSwordKey*\0\0"
    "setKey\0activated\0index\0refreshContent\0"
    "setModules\0BtConstModuleList\0modules\0"
    "refresh\0updateKey\0newKey"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CLexiconKeyChooser[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   54,    3, 0x0a /* Public */,
       4,    1,   55,    3, 0x0a /* Public */,
       5,    1,   58,    3, 0x0a /* Public */,
       7,    0,   61,    3, 0x0a /* Public */,
       8,    2,   62,    3, 0x0a /* Public */,
       8,    1,   67,    3, 0x2a /* Public | MethodCloned */,
      12,    1,   70,    3, 0x0a /* Public */,
       4,    1,   73,    3, 0x09 /* Protected */,

 // slots: parameters
    0x80000000 | 2,
    QMetaType::Void, 0x80000000 | 2,    1,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Bool,   10,   11,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 2,    1,
    QMetaType::Void, QMetaType::QString,   13,

       0        // eod
};

void CLexiconKeyChooser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CLexiconKeyChooser *>(_o);
        (void)_t;
        switch (_id) {
        case 0: { CSwordKey* _r = _t->key();
            if (_a[0]) *reinterpret_cast< CSwordKey**>(_a[0]) = std::move(_r); }  break;
        case 1: _t->setKey((*reinterpret_cast< CSwordKey*(*)>(_a[1]))); break;
        case 2: _t->activated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->refreshContent(); break;
        case 4: _t->setModules((*reinterpret_cast< const BtConstModuleList(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 5: _t->setModules((*reinterpret_cast< const BtConstModuleList(*)>(_a[1]))); break;
        case 6: _t->updateKey((*reinterpret_cast< CSwordKey*(*)>(_a[1]))); break;
        case 7: _t->setKey((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject CLexiconKeyChooser::staticMetaObject = { {
    QMetaObject::SuperData::link<CKeyChooser::staticMetaObject>(),
    qt_meta_stringdata_CLexiconKeyChooser.data,
    qt_meta_data_CLexiconKeyChooser,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *CLexiconKeyChooser::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_CLexiconKeyChooser.stringdata0))
        return static_cast<void*>(this);
    return CKeyChooser::qt_metacast(_clname);
}

int CLexiconKeyChooser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = CKeyChooser::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
