/****************************************************************************
** Meta object code from reading C++ file 'playlistmodel.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/qmmp-1.1.12/src/qmmpui/playlistmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playlistmodel.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_PlayListModel_t {
    QByteArrayData data[60];
    char stringdata0[696];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlayListModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlayListModel_t qt_meta_stringdata_PlayListModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "PlayListModel"
QT_MOC_LITERAL(1, 14, 11), // "listChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 5), // "flags"
QT_MOC_LITERAL(4, 33, 10), // "trackAdded"
QT_MOC_LITERAL(5, 44, 14), // "PlayListTrack*"
QT_MOC_LITERAL(6, 59, 5), // "track"
QT_MOC_LITERAL(7, 65, 11), // "nameChanged"
QT_MOC_LITERAL(8, 77, 4), // "name"
QT_MOC_LITERAL(9, 82, 14), // "loaderFinished"
QT_MOC_LITERAL(10, 97, 21), // "currentVisibleRequest"
QT_MOC_LITERAL(11, 119, 23), // "sortingByColumnFinished"
QT_MOC_LITERAL(12, 143, 6), // "column"
QT_MOC_LITERAL(13, 150, 8), // "reverted"
QT_MOC_LITERAL(14, 159, 3), // "add"
QT_MOC_LITERAL(15, 163, 21), // "QList<PlayListTrack*>"
QT_MOC_LITERAL(16, 185, 6), // "tracks"
QT_MOC_LITERAL(17, 192, 4), // "path"
QT_MOC_LITERAL(18, 197, 5), // "paths"
QT_MOC_LITERAL(19, 203, 6), // "insert"
QT_MOC_LITERAL(20, 210, 5), // "index"
QT_MOC_LITERAL(21, 216, 13), // "PlayListItem*"
QT_MOC_LITERAL(22, 230, 6), // "before"
QT_MOC_LITERAL(23, 237, 11), // "QList<QUrl>"
QT_MOC_LITERAL(24, 249, 4), // "urls"
QT_MOC_LITERAL(25, 254, 5), // "clear"
QT_MOC_LITERAL(26, 260, 14), // "clearSelection"
QT_MOC_LITERAL(27, 275, 14), // "removeSelected"
QT_MOC_LITERAL(28, 290, 16), // "removeUnselected"
QT_MOC_LITERAL(29, 307, 11), // "removeTrack"
QT_MOC_LITERAL(30, 319, 1), // "i"
QT_MOC_LITERAL(31, 321, 15), // "invertSelection"
QT_MOC_LITERAL(32, 337, 9), // "selectAll"
QT_MOC_LITERAL(33, 347, 11), // "showDetails"
QT_MOC_LITERAL(34, 359, 8), // "QWidget*"
QT_MOC_LITERAL(35, 368, 6), // "parent"
QT_MOC_LITERAL(36, 375, 21), // "showDetailsForCurrent"
QT_MOC_LITERAL(37, 397, 23), // "doCurrentVisibleRequest"
QT_MOC_LITERAL(38, 421, 13), // "randomizeList"
QT_MOC_LITERAL(39, 435, 11), // "reverseList"
QT_MOC_LITERAL(40, 447, 13), // "sortSelection"
QT_MOC_LITERAL(41, 461, 4), // "mode"
QT_MOC_LITERAL(42, 466, 4), // "sort"
QT_MOC_LITERAL(43, 471, 12), // "sortByColumn"
QT_MOC_LITERAL(44, 484, 10), // "addToQueue"
QT_MOC_LITERAL(45, 495, 9), // "setQueued"
QT_MOC_LITERAL(46, 505, 4), // "item"
QT_MOC_LITERAL(47, 510, 19), // "removeInvalidTracks"
QT_MOC_LITERAL(48, 530, 16), // "removeDuplicates"
QT_MOC_LITERAL(49, 547, 7), // "refresh"
QT_MOC_LITERAL(50, 555, 10), // "clearQueue"
QT_MOC_LITERAL(51, 566, 17), // "stopAfterSelected"
QT_MOC_LITERAL(52, 584, 13), // "rebuildGroups"
QT_MOC_LITERAL(53, 598, 14), // "updateMetaData"
QT_MOC_LITERAL(54, 613, 16), // "preparePlayState"
QT_MOC_LITERAL(55, 630, 24), // "prepareForShufflePlaying"
QT_MOC_LITERAL(56, 655, 3), // "yes"
QT_MOC_LITERAL(57, 659, 13), // "prepareGroups"
QT_MOC_LITERAL(58, 673, 7), // "enabled"
QT_MOC_LITERAL(59, 681, 14) // "onTaskFinished"

    },
    "PlayListModel\0listChanged\0\0flags\0"
    "trackAdded\0PlayListTrack*\0track\0"
    "nameChanged\0name\0loaderFinished\0"
    "currentVisibleRequest\0sortingByColumnFinished\0"
    "column\0reverted\0add\0QList<PlayListTrack*>\0"
    "tracks\0path\0paths\0insert\0index\0"
    "PlayListItem*\0before\0QList<QUrl>\0urls\0"
    "clear\0clearSelection\0removeSelected\0"
    "removeUnselected\0removeTrack\0i\0"
    "invertSelection\0selectAll\0showDetails\0"
    "QWidget*\0parent\0showDetailsForCurrent\0"
    "doCurrentVisibleRequest\0randomizeList\0"
    "reverseList\0sortSelection\0mode\0sort\0"
    "sortByColumn\0addToQueue\0setQueued\0"
    "item\0removeInvalidTracks\0removeDuplicates\0"
    "refresh\0clearQueue\0stopAfterSelected\0"
    "rebuildGroups\0updateMetaData\0"
    "preparePlayState\0prepareForShufflePlaying\0"
    "yes\0prepareGroups\0enabled\0onTaskFinished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlayListModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  254,    2, 0x06 /* Public */,
       4,    1,  257,    2, 0x06 /* Public */,
       7,    1,  260,    2, 0x06 /* Public */,
       9,    0,  263,    2, 0x06 /* Public */,
      10,    0,  264,    2, 0x06 /* Public */,
      11,    2,  265,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    1,  270,    2, 0x0a /* Public */,
      14,    1,  273,    2, 0x0a /* Public */,
      14,    1,  276,    2, 0x0a /* Public */,
      14,    1,  279,    2, 0x0a /* Public */,
      19,    2,  282,    2, 0x0a /* Public */,
      19,    2,  287,    2, 0x0a /* Public */,
      19,    2,  292,    2, 0x0a /* Public */,
      19,    2,  297,    2, 0x0a /* Public */,
      19,    2,  302,    2, 0x0a /* Public */,
      19,    2,  307,    2, 0x0a /* Public */,
      19,    2,  312,    2, 0x0a /* Public */,
      25,    0,  317,    2, 0x0a /* Public */,
      26,    0,  318,    2, 0x0a /* Public */,
      27,    0,  319,    2, 0x0a /* Public */,
      28,    0,  320,    2, 0x0a /* Public */,
      29,    1,  321,    2, 0x0a /* Public */,
      29,    1,  324,    2, 0x0a /* Public */,
      31,    0,  327,    2, 0x0a /* Public */,
      32,    0,  328,    2, 0x0a /* Public */,
      33,    1,  329,    2, 0x0a /* Public */,
      33,    0,  332,    2, 0x2a /* Public | MethodCloned */,
      36,    1,  333,    2, 0x0a /* Public */,
      36,    0,  336,    2, 0x2a /* Public | MethodCloned */,
      37,    0,  337,    2, 0x0a /* Public */,
      38,    0,  338,    2, 0x0a /* Public */,
      39,    0,  339,    2, 0x0a /* Public */,
      40,    1,  340,    2, 0x0a /* Public */,
      42,    1,  343,    2, 0x0a /* Public */,
      43,    1,  346,    2, 0x0a /* Public */,
      44,    0,  349,    2, 0x0a /* Public */,
      45,    1,  350,    2, 0x0a /* Public */,
      47,    0,  353,    2, 0x0a /* Public */,
      48,    0,  354,    2, 0x0a /* Public */,
      49,    0,  355,    2, 0x0a /* Public */,
      50,    0,  356,    2, 0x0a /* Public */,
      51,    0,  357,    2, 0x0a /* Public */,
      52,    0,  358,    2, 0x0a /* Public */,
      53,    0,  359,    2, 0x0a /* Public */,
      54,    0,  360,    2, 0x08 /* Private */,
      55,    1,  361,    2, 0x08 /* Private */,
      57,    1,  364,    2, 0x08 /* Private */,
      59,    0,  367,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   12,   13,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QString,   17,
    QMetaType::Void, QMetaType::QStringList,   18,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 5,   20,    6,
    QMetaType::Void, 0x80000000 | 21, 0x80000000 | 5,   22,    6,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 15,   20,   16,
    QMetaType::Void, 0x80000000 | 21, 0x80000000 | 15,   22,   16,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   20,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::QStringList,   20,   18,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 23,   20,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void, 0x80000000 | 21,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 34,   35,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 34,   35,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   41,
    QMetaType::Void, QMetaType::Int,   41,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,   46,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   56,
    QMetaType::Void, QMetaType::Bool,   58,
    QMetaType::Void,

       0        // eod
};

void PlayListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlayListModel *_t = static_cast<PlayListModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->listChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->trackAdded((*reinterpret_cast< PlayListTrack*(*)>(_a[1]))); break;
        case 2: _t->nameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->loaderFinished(); break;
        case 4: _t->currentVisibleRequest(); break;
        case 5: _t->sortingByColumnFinished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->add((*reinterpret_cast< PlayListTrack*(*)>(_a[1]))); break;
        case 7: _t->add((*reinterpret_cast< QList<PlayListTrack*>(*)>(_a[1]))); break;
        case 8: _t->add((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->add((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 10: _t->insert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< PlayListTrack*(*)>(_a[2]))); break;
        case 11: _t->insert((*reinterpret_cast< PlayListItem*(*)>(_a[1])),(*reinterpret_cast< PlayListTrack*(*)>(_a[2]))); break;
        case 12: _t->insert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QList<PlayListTrack*>(*)>(_a[2]))); break;
        case 13: _t->insert((*reinterpret_cast< PlayListItem*(*)>(_a[1])),(*reinterpret_cast< QList<PlayListTrack*>(*)>(_a[2]))); break;
        case 14: _t->insert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: _t->insert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 16: _t->insert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QList<QUrl>(*)>(_a[2]))); break;
        case 17: _t->clear(); break;
        case 18: _t->clearSelection(); break;
        case 19: _t->removeSelected(); break;
        case 20: _t->removeUnselected(); break;
        case 21: _t->removeTrack((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 22: _t->removeTrack((*reinterpret_cast< PlayListItem*(*)>(_a[1]))); break;
        case 23: _t->invertSelection(); break;
        case 24: _t->selectAll(); break;
        case 25: _t->showDetails((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 26: _t->showDetails(); break;
        case 27: _t->showDetailsForCurrent((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 28: _t->showDetailsForCurrent(); break;
        case 29: _t->doCurrentVisibleRequest(); break;
        case 30: _t->randomizeList(); break;
        case 31: _t->reverseList(); break;
        case 32: _t->sortSelection((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 33: _t->sort((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 34: _t->sortByColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 35: _t->addToQueue(); break;
        case 36: _t->setQueued((*reinterpret_cast< PlayListTrack*(*)>(_a[1]))); break;
        case 37: _t->removeInvalidTracks(); break;
        case 38: _t->removeDuplicates(); break;
        case 39: _t->refresh(); break;
        case 40: _t->clearQueue(); break;
        case 41: _t->stopAfterSelected(); break;
        case 42: _t->rebuildGroups(); break;
        case 43: _t->updateMetaData(); break;
        case 44: _t->preparePlayState(); break;
        case 45: _t->prepareForShufflePlaying((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 46: _t->prepareGroups((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 47: _t->onTaskFinished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlayListModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListModel::listChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlayListModel::*_t)(PlayListTrack * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListModel::trackAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlayListModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListModel::nameChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PlayListModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListModel::loaderFinished)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PlayListModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListModel::currentVisibleRequest)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (PlayListModel::*_t)(int , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListModel::sortingByColumnFinished)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject PlayListModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_PlayListModel.data,
      qt_meta_data_PlayListModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int PlayListModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 48)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 48;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 48)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 48;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void PlayListModel::loaderFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void PlayListModel::currentVisibleRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void PlayListModel::sortingByColumnFinished(int _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
