/****************************************************************************
** Meta object code from reading C++ file 'btdisplaysettingsbutton.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/displaywindow/btdisplaysettingsbutton.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'btdisplaysettingsbutton.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_BtDisplaySettingsButton_t {
    QByteArrayData data[21];
    char stringdata0[309];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BtDisplaySettingsButton_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BtDisplaySettingsButton_t qt_meta_stringdata_BtDisplaySettingsButton = {
    {
QT_MOC_LITERAL(0, 0, 23), // "BtDisplaySettingsButton"
QT_MOC_LITERAL(1, 24, 23), // "sigFilterOptionsChanged"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 13), // "FilterOptions"
QT_MOC_LITERAL(4, 63, 13), // "filterOptions"
QT_MOC_LITERAL(5, 77, 24), // "sigDisplayOptionsChanged"
QT_MOC_LITERAL(6, 102, 14), // "DisplayOptions"
QT_MOC_LITERAL(7, 117, 14), // "displayOptions"
QT_MOC_LITERAL(8, 132, 17), // "sigModulesChanged"
QT_MOC_LITERAL(9, 150, 17), // "BtConstModuleList"
QT_MOC_LITERAL(10, 168, 7), // "modules"
QT_MOC_LITERAL(11, 176, 10), // "sigChanged"
QT_MOC_LITERAL(12, 187, 17), // "setDisplayOptions"
QT_MOC_LITERAL(13, 205, 15), // "displaySettings"
QT_MOC_LITERAL(14, 221, 10), // "repopulate"
QT_MOC_LITERAL(15, 232, 16), // "setFilterOptions"
QT_MOC_LITERAL(16, 249, 14), // "moduleSettings"
QT_MOC_LITERAL(17, 264, 10), // "setModules"
QT_MOC_LITERAL(18, 275, 17), // "slotOptionToggled"
QT_MOC_LITERAL(19, 293, 8), // "QAction*"
QT_MOC_LITERAL(20, 302, 6) // "action"

    },
    "BtDisplaySettingsButton\0sigFilterOptionsChanged\0"
    "\0FilterOptions\0filterOptions\0"
    "sigDisplayOptionsChanged\0DisplayOptions\0"
    "displayOptions\0sigModulesChanged\0"
    "BtConstModuleList\0modules\0sigChanged\0"
    "setDisplayOptions\0displaySettings\0"
    "repopulate\0setFilterOptions\0moduleSettings\0"
    "setModules\0slotOptionToggled\0QAction*\0"
    "action"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BtDisplaySettingsButton[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,
       8,    1,   70,    2, 0x06 /* Public */,
      11,    0,   73,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    2,   74,    2, 0x0a /* Public */,
      12,    1,   79,    2, 0x2a /* Public | MethodCloned */,
      15,    2,   82,    2, 0x0a /* Public */,
      15,    1,   87,    2, 0x2a /* Public | MethodCloned */,
      17,    1,   90,    2, 0x0a /* Public */,
      18,    1,   93,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, QMetaType::Bool,   13,   14,
    QMetaType::Void, 0x80000000 | 6,   13,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,   16,   14,
    QMetaType::Void, 0x80000000 | 3,   16,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 19,   20,

       0        // eod
};

void BtDisplaySettingsButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<BtDisplaySettingsButton *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sigFilterOptionsChanged((*reinterpret_cast< FilterOptions(*)>(_a[1]))); break;
        case 1: _t->sigDisplayOptionsChanged((*reinterpret_cast< DisplayOptions(*)>(_a[1]))); break;
        case 2: _t->sigModulesChanged((*reinterpret_cast< const BtConstModuleList(*)>(_a[1]))); break;
        case 3: _t->sigChanged(); break;
        case 4: _t->setDisplayOptions((*reinterpret_cast< const DisplayOptions(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 5: _t->setDisplayOptions((*reinterpret_cast< const DisplayOptions(*)>(_a[1]))); break;
        case 6: _t->setFilterOptions((*reinterpret_cast< const FilterOptions(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 7: _t->setFilterOptions((*reinterpret_cast< const FilterOptions(*)>(_a[1]))); break;
        case 8: _t->setModules((*reinterpret_cast< const BtConstModuleList(*)>(_a[1]))); break;
        case 9: _t->slotOptionToggled((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (BtDisplaySettingsButton::*)(FilterOptions );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtDisplaySettingsButton::sigFilterOptionsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (BtDisplaySettingsButton::*)(DisplayOptions );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtDisplaySettingsButton::sigDisplayOptionsChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (BtDisplaySettingsButton::*)(const BtConstModuleList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtDisplaySettingsButton::sigModulesChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (BtDisplaySettingsButton::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtDisplaySettingsButton::sigChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject BtDisplaySettingsButton::staticMetaObject = { {
    QMetaObject::SuperData::link<QToolButton::staticMetaObject>(),
    qt_meta_stringdata_BtDisplaySettingsButton.data,
    qt_meta_data_BtDisplaySettingsButton,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void BtDisplaySettingsButton::sigDisplayOptionsChanged(DisplayOptions _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void BtDisplaySettingsButton::sigModulesChanged(const BtConstModuleList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void BtDisplaySettingsButton::sigChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
