/****************************************************************************
** Meta object code from reading C++ file 'cmoduleresultview.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/searchdialog/cmoduleresultview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'cmoduleresultview.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_Search__CModuleResultView_t {
    QByteArrayData data[18];
    char stringdata0[269];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Search__CModuleResultView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Search__CModuleResultView_t qt_meta_stringdata_Search__CModuleResultView = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Search::CModuleResultView"
QT_MOC_LITERAL(1, 26, 14), // "moduleSelected"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 23), // "const CSwordModuleInfo*"
QT_MOC_LITERAL(4, 66, 14), // "sword::ListKey"
QT_MOC_LITERAL(5, 81, 13), // "moduleChanged"
QT_MOC_LITERAL(6, 95, 15), // "strongsSelected"
QT_MOC_LITERAL(7, 111, 17), // "CSwordModuleInfo*"
QT_MOC_LITERAL(8, 129, 8), // "executed"
QT_MOC_LITERAL(9, 138, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(10, 155, 18), // "copyResultWithText"
QT_MOC_LITERAL(11, 174, 10), // "copyResult"
QT_MOC_LITERAL(12, 185, 16), // "contextMenuEvent"
QT_MOC_LITERAL(13, 202, 18), // "QContextMenuEvent*"
QT_MOC_LITERAL(14, 221, 5), // "event"
QT_MOC_LITERAL(15, 227, 11), // "printResult"
QT_MOC_LITERAL(16, 239, 18), // "saveResultWithText"
QT_MOC_LITERAL(17, 258, 10) // "saveResult"

    },
    "Search::CModuleResultView\0moduleSelected\0"
    "\0const CSwordModuleInfo*\0sword::ListKey\0"
    "moduleChanged\0strongsSelected\0"
    "CSwordModuleInfo*\0executed\0QTreeWidgetItem*\0"
    "copyResultWithText\0copyResult\0"
    "contextMenuEvent\0QContextMenuEvent*\0"
    "event\0printResult\0saveResultWithText\0"
    "saveResult"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Search__CModuleResultView[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       8,    2,   75,    2, 0x09 /* Protected */,
      10,    0,   80,    2, 0x09 /* Protected */,
      11,    0,   81,    2, 0x09 /* Protected */,
      12,    1,   82,    2, 0x09 /* Protected */,
      15,    0,   85,    2, 0x09 /* Protected */,
      16,    0,   86,    2, 0x09 /* Protected */,
      17,    0,   87,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 9,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Search::CModuleResultView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CModuleResultView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->moduleSelected((*reinterpret_cast< const CSwordModuleInfo*(*)>(_a[1])),(*reinterpret_cast< const sword::ListKey(*)>(_a[2]))); break;
        case 1: _t->moduleChanged(); break;
        case 2: _t->strongsSelected((*reinterpret_cast< CSwordModuleInfo*(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 3: _t->executed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
        case 4: _t->copyResultWithText(); break;
        case 5: _t->copyResult(); break;
        case 6: _t->contextMenuEvent((*reinterpret_cast< QContextMenuEvent*(*)>(_a[1]))); break;
        case 7: _t->printResult(); break;
        case 8: _t->saveResultWithText(); break;
        case 9: _t->saveResult(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CModuleResultView::*)(const CSwordModuleInfo * , const sword::ListKey & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CModuleResultView::moduleSelected)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (CModuleResultView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CModuleResultView::moduleChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (CModuleResultView::*)(CSwordModuleInfo * , const QStringList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CModuleResultView::strongsSelected)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Search::CModuleResultView::staticMetaObject = { {
    QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
    qt_meta_stringdata_Search__CModuleResultView.data,
    qt_meta_data_Search__CModuleResultView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Search::CModuleResultView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Search__CModuleResultView.stringdata0))
        return static_cast<void*>(this);
    return QTreeWidget::qt_metacast(_clname);
}

int Search::CModuleResultView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeWidget::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 Search::CModuleResultView::moduleSelected(const CSwordModuleInfo * _t1, const sword::ListKey & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Search::CModuleResultView::moduleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Search::CModuleResultView::strongsSelected(CSwordModuleInfo * _t1, const QStringList & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
