/****************************************************************************
** Meta object code from reading C++ file 'csearchresultview.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/csearchresultview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'csearchresultview.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__CSearchResultView_t {
    QByteArrayData data[22];
    char stringdata0[290];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Search__CSearchResultView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Search__CSearchResultView_t qt_meta_stringdata_Search__CSearchResultView = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Search::CSearchResultView"
QT_MOC_LITERAL(1, 26, 11), // "keySelected"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 13), // "keyDeselected"
QT_MOC_LITERAL(4, 53, 9), // "saveItems"
QT_MOC_LITERAL(5, 63, 9), // "setupTree"
QT_MOC_LITERAL(6, 73, 23), // "const CSwordModuleInfo*"
QT_MOC_LITERAL(7, 97, 1), // "m"
QT_MOC_LITERAL(8, 99, 14), // "sword::ListKey"
QT_MOC_LITERAL(9, 114, 7), // "results"
QT_MOC_LITERAL(10, 122, 16), // "setupStrongsTree"
QT_MOC_LITERAL(11, 139, 17), // "CSwordModuleInfo*"
QT_MOC_LITERAL(12, 157, 17), // "copyItemsWithText"
QT_MOC_LITERAL(13, 175, 9), // "copyItems"
QT_MOC_LITERAL(14, 185, 17), // "saveItemsWithText"
QT_MOC_LITERAL(15, 203, 16), // "contextMenuEvent"
QT_MOC_LITERAL(16, 220, 18), // "QContextMenuEvent*"
QT_MOC_LITERAL(17, 239, 5), // "event"
QT_MOC_LITERAL(18, 245, 10), // "printItems"
QT_MOC_LITERAL(19, 256, 8), // "executed"
QT_MOC_LITERAL(20, 265, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(21, 282, 7) // "current"

    },
    "Search::CSearchResultView\0keySelected\0"
    "\0keyDeselected\0saveItems\0setupTree\0"
    "const CSwordModuleInfo*\0m\0sword::ListKey\0"
    "results\0setupStrongsTree\0CSwordModuleInfo*\0"
    "copyItemsWithText\0copyItems\0"
    "saveItemsWithText\0contextMenuEvent\0"
    "QContextMenuEvent*\0event\0printItems\0"
    "executed\0QTreeWidgetItem*\0current"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Search__CSearchResultView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       3,    0,   72,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,   73,    2, 0x0a /* Public */,
       5,    2,   74,    2, 0x0a /* Public */,
      10,    2,   79,    2, 0x0a /* Public */,
      12,    0,   84,    2, 0x0a /* Public */,
      13,    0,   85,    2, 0x0a /* Public */,
      14,    0,   86,    2, 0x0a /* Public */,
      15,    1,   87,    2, 0x0a /* Public */,
      18,    0,   90,    2, 0x09 /* Protected */,
      19,    2,   91,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 8,    7,    9,
    QMetaType::Void, 0x80000000 | 11, QMetaType::QStringList,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 20,   21,    2,

       0        // eod
};

void Search::CSearchResultView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CSearchResultView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->keySelected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->keyDeselected(); break;
        case 2: _t->saveItems(); break;
        case 3: _t->setupTree((*reinterpret_cast< const CSwordModuleInfo*(*)>(_a[1])),(*reinterpret_cast< const sword::ListKey(*)>(_a[2]))); break;
        case 4: _t->setupStrongsTree((*reinterpret_cast< CSwordModuleInfo*(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 5: _t->copyItemsWithText(); break;
        case 6: _t->copyItems(); break;
        case 7: _t->saveItemsWithText(); break;
        case 8: _t->contextMenuEvent((*reinterpret_cast< QContextMenuEvent*(*)>(_a[1]))); break;
        case 9: _t->printItems(); break;
        case 10: _t->executed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CSearchResultView::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CSearchResultView::keySelected)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (CSearchResultView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CSearchResultView::keyDeselected)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Search::CSearchResultView::staticMetaObject = { {
    QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
    qt_meta_stringdata_Search__CSearchResultView.data,
    qt_meta_data_Search__CSearchResultView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Search::CSearchResultView::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

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

// SIGNAL 1
void Search::CSearchResultView::keyDeselected()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
