/****************************************************************************
** Meta object code from reading C++ file 'playlistmanager.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/playlistmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playlistmanager.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_PlayListManager_t {
    QByteArrayData data[50];
    char stringdata0[599];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlayListManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlayListManager_t qt_meta_stringdata_PlayListManager = {
    {
QT_MOC_LITERAL(0, 0, 15), // "PlayListManager"
QT_MOC_LITERAL(1, 16, 22), // "currentPlayListChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 14), // "PlayListModel*"
QT_MOC_LITERAL(4, 55, 7), // "current"
QT_MOC_LITERAL(5, 63, 8), // "previous"
QT_MOC_LITERAL(6, 72, 23), // "selectedPlayListChanged"
QT_MOC_LITERAL(7, 96, 8), // "selected"
QT_MOC_LITERAL(8, 105, 13), // "playListAdded"
QT_MOC_LITERAL(9, 119, 5), // "index"
QT_MOC_LITERAL(10, 125, 15), // "playListRemoved"
QT_MOC_LITERAL(11, 141, 13), // "playListMoved"
QT_MOC_LITERAL(12, 155, 1), // "i"
QT_MOC_LITERAL(13, 157, 1), // "j"
QT_MOC_LITERAL(14, 159, 16), // "playListsChanged"
QT_MOC_LITERAL(15, 176, 14), // "selectPlayList"
QT_MOC_LITERAL(16, 191, 5), // "model"
QT_MOC_LITERAL(17, 197, 4), // "name"
QT_MOC_LITERAL(18, 202, 18), // "selectNextPlayList"
QT_MOC_LITERAL(19, 221, 22), // "selectPreviousPlayList"
QT_MOC_LITERAL(20, 244, 16), // "activatePlayList"
QT_MOC_LITERAL(21, 261, 14), // "createPlayList"
QT_MOC_LITERAL(22, 276, 14), // "removePlayList"
QT_MOC_LITERAL(23, 291, 4), // "move"
QT_MOC_LITERAL(24, 296, 5), // "clear"
QT_MOC_LITERAL(25, 302, 14), // "clearSelection"
QT_MOC_LITERAL(26, 317, 14), // "removeSelected"
QT_MOC_LITERAL(27, 332, 16), // "removeUnselected"
QT_MOC_LITERAL(28, 349, 11), // "removeTrack"
QT_MOC_LITERAL(29, 361, 14), // "PlayListTrack*"
QT_MOC_LITERAL(30, 376, 4), // "item"
QT_MOC_LITERAL(31, 381, 15), // "invertSelection"
QT_MOC_LITERAL(32, 397, 9), // "selectAll"
QT_MOC_LITERAL(33, 407, 11), // "showDetails"
QT_MOC_LITERAL(34, 419, 3), // "add"
QT_MOC_LITERAL(35, 423, 5), // "paths"
QT_MOC_LITERAL(36, 429, 13), // "randomizeList"
QT_MOC_LITERAL(37, 443, 11), // "reverseList"
QT_MOC_LITERAL(38, 455, 13), // "sortSelection"
QT_MOC_LITERAL(39, 469, 4), // "mode"
QT_MOC_LITERAL(40, 474, 4), // "sort"
QT_MOC_LITERAL(41, 479, 10), // "addToQueue"
QT_MOC_LITERAL(42, 490, 19), // "removeInvalidTracks"
QT_MOC_LITERAL(43, 510, 16), // "removeDuplicates"
QT_MOC_LITERAL(44, 527, 7), // "refresh"
QT_MOC_LITERAL(45, 535, 10), // "clearQueue"
QT_MOC_LITERAL(46, 546, 17), // "stopAfterSelected"
QT_MOC_LITERAL(47, 564, 14), // "writePlayLists"
QT_MOC_LITERAL(48, 579, 13), // "onListChanged"
QT_MOC_LITERAL(49, 593, 5) // "flags"

    },
    "PlayListManager\0currentPlayListChanged\0"
    "\0PlayListModel*\0current\0previous\0"
    "selectedPlayListChanged\0selected\0"
    "playListAdded\0index\0playListRemoved\0"
    "playListMoved\0i\0j\0playListsChanged\0"
    "selectPlayList\0model\0name\0selectNextPlayList\0"
    "selectPreviousPlayList\0activatePlayList\0"
    "createPlayList\0removePlayList\0move\0"
    "clear\0clearSelection\0removeSelected\0"
    "removeUnselected\0removeTrack\0"
    "PlayListTrack*\0item\0invertSelection\0"
    "selectAll\0showDetails\0add\0paths\0"
    "randomizeList\0reverseList\0sortSelection\0"
    "mode\0sort\0addToQueue\0removeInvalidTracks\0"
    "removeDuplicates\0refresh\0clearQueue\0"
    "stopAfterSelected\0writePlayLists\0"
    "onListChanged\0flags"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlayListManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  214,    2, 0x06 /* Public */,
       6,    2,  219,    2, 0x06 /* Public */,
       8,    1,  224,    2, 0x06 /* Public */,
      10,    1,  227,    2, 0x06 /* Public */,
      11,    2,  230,    2, 0x06 /* Public */,
      14,    0,  235,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  236,    2, 0x0a /* Public */,
      15,    1,  239,    2, 0x0a /* Public */,
      15,    1,  242,    2, 0x0a /* Public */,
      18,    0,  245,    2, 0x0a /* Public */,
      19,    0,  246,    2, 0x0a /* Public */,
      20,    1,  247,    2, 0x0a /* Public */,
      20,    1,  250,    2, 0x0a /* Public */,
      21,    1,  253,    2, 0x0a /* Public */,
      21,    0,  256,    2, 0x2a /* Public | MethodCloned */,
      22,    1,  257,    2, 0x0a /* Public */,
      22,    1,  260,    2, 0x0a /* Public */,
      23,    2,  263,    2, 0x0a /* Public */,
      24,    0,  268,    2, 0x0a /* Public */,
      25,    0,  269,    2, 0x0a /* Public */,
      26,    0,  270,    2, 0x0a /* Public */,
      27,    0,  271,    2, 0x0a /* Public */,
      28,    1,  272,    2, 0x0a /* Public */,
      28,    1,  275,    2, 0x0a /* Public */,
      31,    0,  278,    2, 0x0a /* Public */,
      32,    0,  279,    2, 0x0a /* Public */,
      33,    0,  280,    2, 0x0a /* Public */,
      34,    1,  281,    2, 0x0a /* Public */,
      36,    0,  284,    2, 0x0a /* Public */,
      37,    0,  285,    2, 0x0a /* Public */,
      38,    1,  286,    2, 0x0a /* Public */,
      40,    1,  289,    2, 0x0a /* Public */,
      41,    0,  292,    2, 0x0a /* Public */,
      42,    0,  293,    2, 0x0a /* Public */,
      43,    0,  294,    2, 0x0a /* Public */,
      44,    0,  295,    2, 0x0a /* Public */,
      45,    0,  296,    2, 0x0a /* Public */,
      46,    0,  297,    2, 0x0a /* Public */,
      47,    0,  298,    2, 0x08 /* Private */,
      48,    1,  299,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    5,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    7,    5,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,   16,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::QString,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,   16,
    QMetaType::Void, QMetaType::Int,    9,
    0x80000000 | 3, QMetaType::QString,   17,
    0x80000000 | 3,
    QMetaType::Void, 0x80000000 | 3,   16,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,   35,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   39,
    QMetaType::Void, QMetaType::Int,   39,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   49,

       0        // eod
};

void PlayListManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlayListManager *_t = static_cast<PlayListManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentPlayListChanged((*reinterpret_cast< PlayListModel*(*)>(_a[1])),(*reinterpret_cast< PlayListModel*(*)>(_a[2]))); break;
        case 1: _t->selectedPlayListChanged((*reinterpret_cast< PlayListModel*(*)>(_a[1])),(*reinterpret_cast< PlayListModel*(*)>(_a[2]))); break;
        case 2: _t->playListAdded((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->playListRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->playListMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->playListsChanged(); break;
        case 6: _t->selectPlayList((*reinterpret_cast< PlayListModel*(*)>(_a[1]))); break;
        case 7: _t->selectPlayList((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->selectPlayList((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->selectNextPlayList(); break;
        case 10: _t->selectPreviousPlayList(); break;
        case 11: _t->activatePlayList((*reinterpret_cast< PlayListModel*(*)>(_a[1]))); break;
        case 12: _t->activatePlayList((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: { PlayListModel* _r = _t->createPlayList((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< PlayListModel**>(_a[0]) = std::move(_r); }  break;
        case 14: { PlayListModel* _r = _t->createPlayList();
            if (_a[0]) *reinterpret_cast< PlayListModel**>(_a[0]) = std::move(_r); }  break;
        case 15: _t->removePlayList((*reinterpret_cast< PlayListModel*(*)>(_a[1]))); break;
        case 16: _t->removePlayList((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->move((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->clear(); break;
        case 19: _t->clearSelection(); break;
        case 20: _t->removeSelected(); break;
        case 21: _t->removeUnselected(); break;
        case 22: _t->removeTrack((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->removeTrack((*reinterpret_cast< PlayListTrack*(*)>(_a[1]))); break;
        case 24: _t->invertSelection(); break;
        case 25: _t->selectAll(); break;
        case 26: _t->showDetails(); break;
        case 27: _t->add((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 28: _t->randomizeList(); break;
        case 29: _t->reverseList(); break;
        case 30: _t->sortSelection((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 31: _t->sort((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 32: _t->addToQueue(); break;
        case 33: _t->removeInvalidTracks(); break;
        case 34: _t->removeDuplicates(); break;
        case 35: _t->refresh(); break;
        case 36: _t->clearQueue(); break;
        case 37: _t->stopAfterSelected(); break;
        case 38: _t->writePlayLists(); break;
        case 39: _t->onListChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PlayListModel* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PlayListModel* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PlayListModel* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PlayListModel* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PlayListModel* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PlayListManager::*_t)(PlayListModel * , PlayListModel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListManager::currentPlayListChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlayListManager::*_t)(PlayListModel * , PlayListModel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListManager::selectedPlayListChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlayListManager::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListManager::playListAdded)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PlayListManager::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListManager::playListRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PlayListManager::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListManager::playListMoved)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (PlayListManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlayListManager::playListsChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject PlayListManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_PlayListManager.data,
      qt_meta_data_PlayListManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

int PlayListManager::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 < 40)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 40;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 40)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 40;
    }
    return _id;
}

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

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

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

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

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

// SIGNAL 5
void PlayListManager::playListsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
