/****************************************************************************
** Meta object code from reading C++ file 'btbookshelffiltermodel.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/backend/bookshelfmodel/btbookshelffiltermodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'btbookshelffiltermodel.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_BtBookshelfFilterModel_t {
    QByteArrayData data[23];
    char stringdata0[360];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BtBookshelfFilterModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BtBookshelfFilterModel_t qt_meta_stringdata_BtBookshelfFilterModel = {
    {
QT_MOC_LITERAL(0, 0, 22), // "BtBookshelfFilterModel"
QT_MOC_LITERAL(1, 23, 10), // "setEnabled"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 6), // "enable"
QT_MOC_LITERAL(4, 42, 17), // "setNameFilterRole"
QT_MOC_LITERAL(5, 60, 4), // "role"
QT_MOC_LITERAL(6, 65, 22), // "setNameFilterKeyColumn"
QT_MOC_LITERAL(7, 88, 6), // "column"
QT_MOC_LITERAL(8, 95, 24), // "setNameFilterFixedString"
QT_MOC_LITERAL(9, 120, 10), // "nameFilter"
QT_MOC_LITERAL(10, 131, 17), // "setNameFilterCase"
QT_MOC_LITERAL(11, 149, 19), // "Qt::CaseSensitivity"
QT_MOC_LITERAL(12, 169, 5), // "value"
QT_MOC_LITERAL(13, 175, 19), // "setHiddenFilterRole"
QT_MOC_LITERAL(14, 195, 24), // "setHiddenFilterKeyColumn"
QT_MOC_LITERAL(15, 220, 13), // "setShowHidden"
QT_MOC_LITERAL(16, 234, 4), // "show"
QT_MOC_LITERAL(17, 239, 12), // "setShowShown"
QT_MOC_LITERAL(18, 252, 21), // "setCategoryFilterRole"
QT_MOC_LITERAL(19, 274, 26), // "setCategoryFilterKeyColumn"
QT_MOC_LITERAL(20, 301, 18), // "setShownCategories"
QT_MOC_LITERAL(21, 320, 28), // "CSwordModuleInfo::Categories"
QT_MOC_LITERAL(22, 349, 10) // "categories"

    },
    "BtBookshelfFilterModel\0setEnabled\0\0"
    "enable\0setNameFilterRole\0role\0"
    "setNameFilterKeyColumn\0column\0"
    "setNameFilterFixedString\0nameFilter\0"
    "setNameFilterCase\0Qt::CaseSensitivity\0"
    "value\0setHiddenFilterRole\0"
    "setHiddenFilterKeyColumn\0setShowHidden\0"
    "show\0setShowShown\0setCategoryFilterRole\0"
    "setCategoryFilterKeyColumn\0"
    "setShownCategories\0CSwordModuleInfo::Categories\0"
    "categories"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BtBookshelfFilterModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x0a /* Public */,
       4,    1,   77,    2, 0x0a /* Public */,
       6,    1,   80,    2, 0x0a /* Public */,
       8,    1,   83,    2, 0x0a /* Public */,
      10,    1,   86,    2, 0x0a /* Public */,
      13,    1,   89,    2, 0x0a /* Public */,
      14,    1,   92,    2, 0x0a /* Public */,
      15,    1,   95,    2, 0x0a /* Public */,
      17,    1,   98,    2, 0x0a /* Public */,
      18,    1,  101,    2, 0x0a /* Public */,
      19,    1,  104,    2, 0x0a /* Public */,
      20,    1,  107,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, 0x80000000 | 21,   22,

       0        // eod
};

void BtBookshelfFilterModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<BtBookshelfFilterModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->setNameFilterRole((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->setNameFilterKeyColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setNameFilterFixedString((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setNameFilterCase((*reinterpret_cast< Qt::CaseSensitivity(*)>(_a[1]))); break;
        case 5: _t->setHiddenFilterRole((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setHiddenFilterKeyColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setShowHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setShowShown((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->setCategoryFilterRole((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setCategoryFilterKeyColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setShownCategories((*reinterpret_cast< const CSwordModuleInfo::Categories(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject BtBookshelfFilterModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QSortFilterProxyModel::staticMetaObject>(),
    qt_meta_stringdata_BtBookshelfFilterModel.data,
    qt_meta_data_BtBookshelfFilterModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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