/****************************************************************************
** Meta object code from reading C++ file 'cmdiarea.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/cmdiarea.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'cmdiarea.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_CMDIArea_t {
    QByteArrayData data[19];
    char stringdata0[282];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CMDIArea_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CMDIArea_t qt_meta_stringdata_CMDIArea = {
    {
QT_MOC_LITERAL(0, 0, 8), // "CMDIArea"
QT_MOC_LITERAL(1, 9, 21), // "sigSetToplevelCaption"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 6), // "myTile"
QT_MOC_LITERAL(4, 39, 9), // "myCascade"
QT_MOC_LITERAL(5, 49, 14), // "myTileVertical"
QT_MOC_LITERAL(6, 64, 16), // "myTileHorizontal"
QT_MOC_LITERAL(7, 81, 26), // "findNextTextInActiveWindow"
QT_MOC_LITERAL(8, 108, 4), // "text"
QT_MOC_LITERAL(9, 113, 13), // "caseSensitive"
QT_MOC_LITERAL(10, 127, 30), // "findPreviousTextInActiveWindow"
QT_MOC_LITERAL(11, 158, 27), // "highlightTextInActiveWindow"
QT_MOC_LITERAL(12, 186, 22), // "slotSubWindowActivated"
QT_MOC_LITERAL(13, 209, 14), // "QMdiSubWindow*"
QT_MOC_LITERAL(14, 224, 6), // "client"
QT_MOC_LITERAL(15, 231, 8), // "closeTab"
QT_MOC_LITERAL(16, 240, 1), // "i"
QT_MOC_LITERAL(17, 242, 20), // "m_mdiArrangementMode"
QT_MOC_LITERAL(18, 263, 18) // "MDIArrangementMode"

    },
    "CMDIArea\0sigSetToplevelCaption\0\0myTile\0"
    "myCascade\0myTileVertical\0myTileHorizontal\0"
    "findNextTextInActiveWindow\0text\0"
    "caseSensitive\0findPreviousTextInActiveWindow\0"
    "highlightTextInActiveWindow\0"
    "slotSubWindowActivated\0QMdiSubWindow*\0"
    "client\0closeTab\0i\0m_mdiArrangementMode\0"
    "MDIArrangementMode"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CMDIArea[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   67,    2, 0x0a /* Public */,
       4,    0,   68,    2, 0x0a /* Public */,
       5,    0,   69,    2, 0x0a /* Public */,
       6,    0,   70,    2, 0x0a /* Public */,
       7,    2,   71,    2, 0x0a /* Public */,
      10,    2,   76,    2, 0x0a /* Public */,
      11,    2,   81,    2, 0x0a /* Public */,
      12,    1,   86,    2, 0x09 /* Protected */,
      15,    1,   89,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    8,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    8,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    8,    9,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::Int,   16,

 // properties: name, type, flags
      17, 0x80000000 | 18, 0x0009500b,

       0        // eod
};

void CMDIArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CMDIArea *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sigSetToplevelCaption((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->myTile(); break;
        case 2: _t->myCascade(); break;
        case 3: _t->myTileVertical(); break;
        case 4: _t->myTileHorizontal(); break;
        case 5: _t->findNextTextInActiveWindow((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->findPreviousTextInActiveWindow((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 7: _t->highlightTextInActiveWindow((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 8: _t->slotSubWindowActivated((*reinterpret_cast< QMdiSubWindow*(*)>(_a[1]))); break;
        case 9: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CMDIArea::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CMDIArea::sigSetToplevelCaption)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<CMDIArea *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< MDIArrangementMode*>(_v) = _t->getMDIArrangementMode(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<CMDIArea *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMDIArrangementMode(*reinterpret_cast< MDIArrangementMode*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject CMDIArea::staticMetaObject = { {
    QMetaObject::SuperData::link<QMdiArea::staticMetaObject>(),
    qt_meta_stringdata_CMDIArea.data,
    qt_meta_data_CMDIArea,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int CMDIArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMdiArea::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;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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