/****************************************************************************
** Meta object code from reading C++ file 'fileview.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../../kbibtex-0.10.0/src/gui/file/fileview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fileview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_FileView_t {
    QByteArrayData data[30];
    char stringdata0[488];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FileView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FileView_t qt_meta_stringdata_FileView = {
    {
QT_MOC_LITERAL(0, 0, 8), // "FileView"
QT_MOC_LITERAL(1, 9, 23), // "selectedElementsChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 21), // "currentElementChanged"
QT_MOC_LITERAL(4, 56, 23), // "QSharedPointer<Element>"
QT_MOC_LITERAL(5, 80, 11), // "const File*"
QT_MOC_LITERAL(6, 92, 15), // "elementExecuted"
QT_MOC_LITERAL(7, 108, 16), // "editorMouseEvent"
QT_MOC_LITERAL(8, 125, 12), // "QMouseEvent*"
QT_MOC_LITERAL(9, 138, 20), // "editorDragEnterEvent"
QT_MOC_LITERAL(10, 159, 16), // "QDragEnterEvent*"
QT_MOC_LITERAL(11, 176, 19), // "editorDragMoveEvent"
QT_MOC_LITERAL(12, 196, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(13, 212, 15), // "editorDropEvent"
QT_MOC_LITERAL(14, 228, 11), // "QDropEvent*"
QT_MOC_LITERAL(15, 240, 8), // "modified"
QT_MOC_LITERAL(16, 249, 18), // "viewCurrentElement"
QT_MOC_LITERAL(17, 268, 11), // "viewElement"
QT_MOC_LITERAL(18, 280, 18), // "editCurrentElement"
QT_MOC_LITERAL(19, 299, 11), // "editElement"
QT_MOC_LITERAL(20, 311, 18), // "setSelectedElement"
QT_MOC_LITERAL(21, 330, 15), // "selectionDelete"
QT_MOC_LITERAL(22, 346, 20), // "externalModification"
QT_MOC_LITERAL(23, 367, 18), // "setFilterBarFilter"
QT_MOC_LITERAL(24, 386, 32), // "SortFilterFileModel::FilterQuery"
QT_MOC_LITERAL(25, 419, 13), // "itemActivated"
QT_MOC_LITERAL(26, 433, 11), // "QModelIndex"
QT_MOC_LITERAL(27, 445, 5), // "index"
QT_MOC_LITERAL(28, 451, 19), // "dialogButtonClicked"
QT_MOC_LITERAL(29, 471, 16) // "QAbstractButton*"

    },
    "FileView\0selectedElementsChanged\0\0"
    "currentElementChanged\0QSharedPointer<Element>\0"
    "const File*\0elementExecuted\0"
    "editorMouseEvent\0QMouseEvent*\0"
    "editorDragEnterEvent\0QDragEnterEvent*\0"
    "editorDragMoveEvent\0QDragMoveEvent*\0"
    "editorDropEvent\0QDropEvent*\0modified\0"
    "viewCurrentElement\0viewElement\0"
    "editCurrentElement\0editElement\0"
    "setSelectedElement\0selectionDelete\0"
    "externalModification\0setFilterBarFilter\0"
    "SortFilterFileModel::FilterQuery\0"
    "itemActivated\0QModelIndex\0index\0"
    "dialogButtonClicked\0QAbstractButton*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FileView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    2,  105,    2, 0x06 /* Public */,
       6,    1,  110,    2, 0x06 /* Public */,
       7,    1,  113,    2, 0x06 /* Public */,
       9,    1,  116,    2, 0x06 /* Public */,
      11,    1,  119,    2, 0x06 /* Public */,
      13,    1,  122,    2, 0x06 /* Public */,
      15,    1,  125,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  128,    2, 0x0a /* Public */,
      17,    1,  129,    2, 0x0a /* Public */,
      18,    0,  132,    2, 0x0a /* Public */,
      19,    1,  133,    2, 0x0a /* Public */,
      20,    1,  136,    2, 0x0a /* Public */,
      21,    0,  139,    2, 0x0a /* Public */,
      22,    0,  140,    2, 0x0a /* Public */,
      23,    1,  141,    2, 0x0a /* Public */,
      25,    1,  144,    2, 0x09 /* Protected */,
      28,    1,  147,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 5,    2,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, 0x80000000 | 10,    2,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, 0x80000000 | 14,    2,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void,
    QMetaType::Bool, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,    2,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 29,    2,

       0        // eod
};

void FileView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FileView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->selectedElementsChanged(); break;
        case 1: _t->currentElementChanged((*reinterpret_cast< QSharedPointer<Element>(*)>(_a[1])),(*reinterpret_cast< const File*(*)>(_a[2]))); break;
        case 2: _t->elementExecuted((*reinterpret_cast< QSharedPointer<Element>(*)>(_a[1]))); break;
        case 3: _t->editorMouseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 4: _t->editorDragEnterEvent((*reinterpret_cast< QDragEnterEvent*(*)>(_a[1]))); break;
        case 5: _t->editorDragMoveEvent((*reinterpret_cast< QDragMoveEvent*(*)>(_a[1]))); break;
        case 6: _t->editorDropEvent((*reinterpret_cast< QDropEvent*(*)>(_a[1]))); break;
        case 7: _t->modified((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->viewCurrentElement(); break;
        case 9: _t->viewElement((*reinterpret_cast< const QSharedPointer<Element>(*)>(_a[1]))); break;
        case 10: _t->editCurrentElement(); break;
        case 11: { bool _r = _t->editElement((*reinterpret_cast< QSharedPointer<Element>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->setSelectedElement((*reinterpret_cast< QSharedPointer<Element>(*)>(_a[1]))); break;
        case 13: _t->selectionDelete(); break;
        case 14: _t->externalModification(); break;
        case 15: _t->setFilterBarFilter((*reinterpret_cast< const SortFilterFileModel::FilterQuery(*)>(_a[1]))); break;
        case 16: _t->itemActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 17: _t->dialogButtonClicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (FileView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::selectedElementsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (FileView::*)(QSharedPointer<Element> , const File * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::currentElementChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (FileView::*)(QSharedPointer<Element> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::elementExecuted)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (FileView::*)(QMouseEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::editorMouseEvent)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (FileView::*)(QDragEnterEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::editorDragEnterEvent)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (FileView::*)(QDragMoveEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::editorDragMoveEvent)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (FileView::*)(QDropEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::editorDropEvent)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (FileView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileView::modified)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FileView::staticMetaObject = { {
    QMetaObject::SuperData::link<BasicFileView::staticMetaObject>(),
    qt_meta_stringdata_FileView.data,
    qt_meta_data_FileView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void FileView::selectedElementsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void FileView::currentElementChanged(QSharedPointer<Element> _t1, const File * _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, 1, _a);
}

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

// SIGNAL 3
void FileView::editorMouseEvent(QMouseEvent * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void FileView::editorDragEnterEvent(QDragEnterEvent * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void FileView::editorDragMoveEvent(QDragMoveEvent * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void FileView::editorDropEvent(QDropEvent * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void FileView::modified(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
