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

#include "../src/lib/bookmarks/bookmarkstreeview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bookmarkstreeview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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_BookmarksTreeView_t {
    QByteArrayData data[18];
    char stringdata0[240];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BookmarksTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BookmarksTreeView_t qt_meta_stringdata_BookmarksTreeView = {
    {
QT_MOC_LITERAL(0, 0, 17), // "BookmarksTreeView"
QT_MOC_LITERAL(1, 18, 17), // "bookmarkActivated"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 13), // "BookmarkItem*"
QT_MOC_LITERAL(4, 51, 4), // "item"
QT_MOC_LITERAL(5, 56, 21), // "bookmarkCtrlActivated"
QT_MOC_LITERAL(6, 78, 22), // "bookmarkShiftActivated"
QT_MOC_LITERAL(7, 101, 20), // "contextMenuRequested"
QT_MOC_LITERAL(8, 122, 5), // "point"
QT_MOC_LITERAL(9, 128, 17), // "bookmarksSelected"
QT_MOC_LITERAL(10, 146, 20), // "QList<BookmarkItem*>"
QT_MOC_LITERAL(11, 167, 5), // "items"
QT_MOC_LITERAL(12, 173, 6), // "search"
QT_MOC_LITERAL(13, 180, 6), // "string"
QT_MOC_LITERAL(14, 187, 13), // "indexExpanded"
QT_MOC_LITERAL(15, 201, 6), // "parent"
QT_MOC_LITERAL(16, 208, 14), // "indexCollapsed"
QT_MOC_LITERAL(17, 223, 16) // "selectionChanged"

    },
    "BookmarksTreeView\0bookmarkActivated\0"
    "\0BookmarkItem*\0item\0bookmarkCtrlActivated\0"
    "bookmarkShiftActivated\0contextMenuRequested\0"
    "point\0bookmarksSelected\0QList<BookmarkItem*>\0"
    "items\0search\0string\0indexExpanded\0"
    "parent\0indexCollapsed\0selectionChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BookmarksTreeView[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       5,    1,   62,    2, 0x06 /* Public */,
       6,    1,   65,    2, 0x06 /* Public */,
       7,    1,   68,    2, 0x06 /* Public */,
       9,    1,   71,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,   74,    2, 0x0a /* Public */,
      14,    1,   77,    2, 0x08 /* Private */,
      16,    1,   80,    2, 0x08 /* Private */,
      17,    0,   83,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QPoint,    8,
    QMetaType::Void, 0x80000000 | 10,   11,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::QModelIndex,   15,
    QMetaType::Void, QMetaType::QModelIndex,   15,
    QMetaType::Void,

       0        // eod
};

void BookmarksTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BookmarksTreeView *_t = static_cast<BookmarksTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->bookmarkActivated((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 1: _t->bookmarkCtrlActivated((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 2: _t->bookmarkShiftActivated((*reinterpret_cast< BookmarkItem*(*)>(_a[1]))); break;
        case 3: _t->contextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 4: _t->bookmarksSelected((*reinterpret_cast< QList<BookmarkItem*>(*)>(_a[1]))); break;
        case 5: _t->search((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->indexExpanded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 7: _t->indexCollapsed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 8: _t->selectionChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (BookmarksTreeView::*_t)(BookmarkItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BookmarksTreeView::bookmarkActivated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (BookmarksTreeView::*_t)(BookmarkItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BookmarksTreeView::bookmarkCtrlActivated)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (BookmarksTreeView::*_t)(BookmarkItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BookmarksTreeView::bookmarkShiftActivated)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (BookmarksTreeView::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BookmarksTreeView::contextMenuRequested)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (BookmarksTreeView::*_t)(QList<BookmarkItem*> );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BookmarksTreeView::bookmarksSelected)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject BookmarksTreeView::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_BookmarksTreeView.data,
      qt_meta_data_BookmarksTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void BookmarksTreeView::bookmarkActivated(BookmarkItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void BookmarksTreeView::bookmarkCtrlActivated(BookmarkItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void BookmarksTreeView::bookmarkShiftActivated(BookmarkItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void BookmarksTreeView::contextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void BookmarksTreeView::bookmarksSelected(QList<BookmarkItem*> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
