/****************************************************************************
** Meta object code from reading C++ file 'btbiblekeywidget.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/versekeychooser/btbiblekeywidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'btbiblekeywidget.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_BtBibleKeyWidget_t {
    QByteArrayData data[21];
    char stringdata0[255];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BtBibleKeyWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BtBibleKeyWidget_t qt_meta_stringdata_BtBibleKeyWidget = {
    {
QT_MOC_LITERAL(0, 0, 16), // "BtBibleKeyWidget"
QT_MOC_LITERAL(1, 17, 12), // "beforeChange"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 15), // "CSwordVerseKey*"
QT_MOC_LITERAL(4, 47, 3), // "key"
QT_MOC_LITERAL(5, 51, 7), // "changed"
QT_MOC_LITERAL(6, 59, 17), // "slotReturnPressed"
QT_MOC_LITERAL(7, 77, 12), // "slotClearRef"
QT_MOC_LITERAL(8, 90, 14), // "slotUpdateLock"
QT_MOC_LITERAL(9, 105, 16), // "slotUpdateUnlock"
QT_MOC_LITERAL(10, 122, 12), // "slotStepBook"
QT_MOC_LITERAL(11, 135, 6), // "offset"
QT_MOC_LITERAL(12, 142, 15), // "slotStepChapter"
QT_MOC_LITERAL(13, 158, 13), // "slotStepVerse"
QT_MOC_LITERAL(14, 172, 14), // "slotChangeBook"
QT_MOC_LITERAL(15, 187, 8), // "bookname"
QT_MOC_LITERAL(16, 196, 17), // "slotChangeChapter"
QT_MOC_LITERAL(17, 214, 7), // "chapter"
QT_MOC_LITERAL(18, 222, 15), // "slotChangeVerse"
QT_MOC_LITERAL(19, 238, 5), // "verse"
QT_MOC_LITERAL(20, 244, 10) // "updateText"

    },
    "BtBibleKeyWidget\0beforeChange\0\0"
    "CSwordVerseKey*\0key\0changed\0"
    "slotReturnPressed\0slotClearRef\0"
    "slotUpdateLock\0slotUpdateUnlock\0"
    "slotStepBook\0offset\0slotStepChapter\0"
    "slotStepVerse\0slotChangeBook\0bookname\0"
    "slotChangeChapter\0chapter\0slotChangeVerse\0"
    "verse\0updateText"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BtBibleKeyWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       5,    1,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   85,    2, 0x09 /* Protected */,
       7,    0,   86,    2, 0x09 /* Protected */,
       8,    0,   87,    2, 0x09 /* Protected */,
       9,    0,   88,    2, 0x09 /* Protected */,
      10,    1,   89,    2, 0x09 /* Protected */,
      12,    1,   92,    2, 0x09 /* Protected */,
      13,    1,   95,    2, 0x09 /* Protected */,
      14,    1,   98,    2, 0x09 /* Protected */,
      16,    1,  101,    2, 0x09 /* Protected */,
      18,    1,  104,    2, 0x09 /* Protected */,
      20,    0,  107,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void,

       0        // eod
};

void BtBibleKeyWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<BtBibleKeyWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->beforeChange((*reinterpret_cast< CSwordVerseKey*(*)>(_a[1]))); break;
        case 1: _t->changed((*reinterpret_cast< CSwordVerseKey*(*)>(_a[1]))); break;
        case 2: _t->slotReturnPressed(); break;
        case 3: _t->slotClearRef(); break;
        case 4: _t->slotUpdateLock(); break;
        case 5: _t->slotUpdateUnlock(); break;
        case 6: _t->slotStepBook((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->slotStepChapter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->slotStepVerse((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->slotChangeBook((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 10: _t->slotChangeChapter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->slotChangeVerse((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->updateText(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (BtBibleKeyWidget::*)(CSwordVerseKey * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtBibleKeyWidget::beforeChange)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (BtBibleKeyWidget::*)(CSwordVerseKey * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtBibleKeyWidget::changed)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject BtBibleKeyWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_BtBibleKeyWidget.data,
    qt_meta_data_BtBibleKeyWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void BtBibleKeyWidget::beforeChange(CSwordVerseKey * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void BtBibleKeyWidget::changed(CSwordVerseKey * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
