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

#include <memory>
#include "qplaylisttableview.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qplaylisttableview.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. 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_QPlaylistTableView_t {
    QByteArrayData data[25];
    char stringdata0[332];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QPlaylistTableView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QPlaylistTableView_t qt_meta_stringdata_QPlaylistTableView = {
    {
QT_MOC_LITERAL(0, 0, 18), // "QPlaylistTableView"
QT_MOC_LITERAL(1, 19, 12), // "mousePressed"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 12), // "QMouseEvent*"
QT_MOC_LITERAL(4, 46, 15), // "QModelIndexList"
QT_MOC_LITERAL(5, 62, 5), // "items"
QT_MOC_LITERAL(6, 68, 7), // "resized"
QT_MOC_LITERAL(7, 76, 13), // "QResizeEvent*"
QT_MOC_LITERAL(8, 90, 5), // "event"
QT_MOC_LITERAL(9, 96, 16), // "deletesRequested"
QT_MOC_LITERAL(10, 113, 28), // "internalDragAndDropRequested"
QT_MOC_LITERAL(11, 142, 11), // "QModelIndex"
QT_MOC_LITERAL(12, 154, 6), // "target"
QT_MOC_LITERAL(13, 161, 9), // "dropEvent"
QT_MOC_LITERAL(14, 171, 11), // "QDropEvent*"
QT_MOC_LITERAL(15, 183, 14), // "dragLeaveEvent"
QT_MOC_LITERAL(16, 198, 16), // "QDragLeaveEvent*"
QT_MOC_LITERAL(17, 215, 14), // "dragEnterEvent"
QT_MOC_LITERAL(18, 230, 16), // "QDragEnterEvent*"
QT_MOC_LITERAL(19, 247, 13), // "dragMoveEvent"
QT_MOC_LITERAL(20, 261, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(21, 277, 11), // "resizeEvent"
QT_MOC_LITERAL(22, 289, 15), // "mousePressEvent"
QT_MOC_LITERAL(23, 305, 15), // "keyReleaseEvent"
QT_MOC_LITERAL(24, 321, 10) // "QKeyEvent*"

    },
    "QPlaylistTableView\0mousePressed\0\0"
    "QMouseEvent*\0QModelIndexList\0items\0"
    "resized\0QResizeEvent*\0event\0"
    "deletesRequested\0internalDragAndDropRequested\0"
    "QModelIndex\0target\0dropEvent\0QDropEvent*\0"
    "dragLeaveEvent\0QDragLeaveEvent*\0"
    "dragEnterEvent\0QDragEnterEvent*\0"
    "dragMoveEvent\0QDragMoveEvent*\0resizeEvent\0"
    "mousePressEvent\0keyReleaseEvent\0"
    "QKeyEvent*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QPlaylistTableView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       6,    1,   79,    2, 0x06 /* Public */,
       9,    1,   82,    2, 0x06 /* Public */,
      10,    2,   85,    2, 0x06 /* Public */,
      10,    1,   90,    2, 0x26 /* Public | MethodCloned */,

 // slots: name, argc, parameters, tag, flags
      13,    1,   93,    2, 0x0a /* Public */,
      15,    1,   96,    2, 0x0a /* Public */,
      17,    1,   99,    2, 0x0a /* Public */,
      19,    1,  102,    2, 0x0a /* Public */,
      21,    1,  105,    2, 0x0a /* Public */,
      22,    1,  108,    2, 0x0a /* Public */,
      23,    1,  111,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 11,    5,   12,
    QMetaType::Void, 0x80000000 | 4,    5,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 14,    8,
    QMetaType::Void, 0x80000000 | 16,    8,
    QMetaType::Void, 0x80000000 | 18,    8,
    QMetaType::Void, 0x80000000 | 20,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 3,    8,
    QMetaType::Void, 0x80000000 | 24,    8,

       0        // eod
};

void QPlaylistTableView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QPlaylistTableView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->mousePressed((*reinterpret_cast< QMouseEvent*(*)>(_a[1])),(*reinterpret_cast< const QModelIndexList(*)>(_a[2]))); break;
        case 1: _t->resized((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break;
        case 2: _t->deletesRequested((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 3: _t->internalDragAndDropRequested((*reinterpret_cast< const QModelIndexList(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 4: _t->internalDragAndDropRequested((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 5: _t->dropEvent((*reinterpret_cast< QDropEvent*(*)>(_a[1]))); break;
        case 6: _t->dragLeaveEvent((*reinterpret_cast< QDragLeaveEvent*(*)>(_a[1]))); break;
        case 7: _t->dragEnterEvent((*reinterpret_cast< QDragEnterEvent*(*)>(_a[1]))); break;
        case 8: _t->dragMoveEvent((*reinterpret_cast< QDragMoveEvent*(*)>(_a[1]))); break;
        case 9: _t->resizeEvent((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break;
        case 10: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 11: _t->keyReleaseEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QPlaylistTableView::*)(QMouseEvent * , const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlaylistTableView::mousePressed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QPlaylistTableView::*)(QResizeEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlaylistTableView::resized)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QPlaylistTableView::*)(const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlaylistTableView::deletesRequested)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QPlaylistTableView::*)(const QModelIndexList & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlaylistTableView::internalDragAndDropRequested)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QPlaylistTableView::staticMetaObject = { {
    QMetaObject::SuperData::link<QTableView::staticMetaObject>(),
    qt_meta_stringdata_QPlaylistTableView.data,
    qt_meta_data_QPlaylistTableView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void QPlaylistTableView::mousePressed(QMouseEvent * _t1, const QModelIndexList & _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 QPlaylistTableView::resized(QResizeEvent * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void QPlaylistTableView::internalDragAndDropRequested(const QModelIndexList & _t1, const QModelIndex & _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, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
