/****************************************************************************
** Meta object code from reading C++ file 'playlistwidget.h'
**
** 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 "../../../Baka-MPlayer-2.0.4/src/widgets/playlistwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playlistwidget.h' 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_PlaylistWidget_t {
    QByteArrayData data[22];
    char stringdata0[222];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlaylistWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlaylistWidget_t qt_meta_stringdata_PlaylistWidget = {
    {
QT_MOC_LITERAL(0, 0, 14), // "PlaylistWidget"
QT_MOC_LITERAL(1, 15, 8), // "Populate"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 15), // "RefreshPlaylist"
QT_MOC_LITERAL(4, 41, 10), // "SelectItem"
QT_MOC_LITERAL(5, 52, 4), // "item"
QT_MOC_LITERAL(6, 57, 11), // "CurrentItem"
QT_MOC_LITERAL(7, 69, 12), // "CurrentIndex"
QT_MOC_LITERAL(8, 82, 11), // "SelectIndex"
QT_MOC_LITERAL(9, 94, 5), // "index"
QT_MOC_LITERAL(10, 100, 8), // "relative"
QT_MOC_LITERAL(11, 109, 9), // "PlayIndex"
QT_MOC_LITERAL(12, 119, 11), // "RemoveIndex"
QT_MOC_LITERAL(13, 131, 6), // "Search"
QT_MOC_LITERAL(14, 138, 7), // "ShowAll"
QT_MOC_LITERAL(15, 146, 7), // "Shuffle"
QT_MOC_LITERAL(16, 154, 8), // "BoldText"
QT_MOC_LITERAL(17, 163, 1), // "f"
QT_MOC_LITERAL(18, 165, 5), // "state"
QT_MOC_LITERAL(19, 171, 18), // "RemoveFromPlaylist"
QT_MOC_LITERAL(20, 190, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(21, 207, 14) // "DeleteFromDisk"

    },
    "PlaylistWidget\0Populate\0\0RefreshPlaylist\0"
    "SelectItem\0item\0CurrentItem\0CurrentIndex\0"
    "SelectIndex\0index\0relative\0PlayIndex\0"
    "RemoveIndex\0Search\0ShowAll\0Shuffle\0"
    "BoldText\0f\0state\0RemoveFromPlaylist\0"
    "QListWidgetItem*\0DeleteFromDisk"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlaylistWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x0a /* Public */,
       3,    0,   95,    2, 0x0a /* Public */,
       4,    1,   96,    2, 0x0a /* Public */,
       6,    0,   99,    2, 0x0a /* Public */,
       7,    0,  100,    2, 0x0a /* Public */,
       8,    2,  101,    2, 0x0a /* Public */,
       8,    1,  106,    2, 0x2a /* Public | MethodCloned */,
      11,    2,  109,    2, 0x0a /* Public */,
      11,    1,  114,    2, 0x2a /* Public | MethodCloned */,
      12,    1,  117,    2, 0x0a /* Public */,
      13,    1,  120,    2, 0x0a /* Public */,
      14,    1,  123,    2, 0x0a /* Public */,
      15,    0,  126,    2, 0x0a /* Public */,
      16,    2,  127,    2, 0x09 /* Protected */,
      19,    1,  132,    2, 0x09 /* Protected */,
      21,    1,  135,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::QString,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    9,   10,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    9,   10,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   17,   18,
    QMetaType::Void, 0x80000000 | 20,    5,
    QMetaType::Void, 0x80000000 | 20,    5,

       0        // eod
};

void PlaylistWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PlaylistWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Populate(); break;
        case 1: _t->RefreshPlaylist(); break;
        case 2: _t->SelectItem((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: { QString _r = _t->CurrentItem();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { int _r = _t->CurrentIndex();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->SelectIndex((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->SelectIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->PlayIndex((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 8: _t->PlayIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->RemoveIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->Search((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->ShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->Shuffle(); break;
        case 13: _t->BoldText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 14: _t->RemoveFromPlaylist((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 15: _t->DeleteFromDisk((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PlaylistWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QListWidget::staticMetaObject>(),
    qt_meta_stringdata_PlaylistWidget.data,
    qt_meta_data_PlaylistWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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