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

#include <memory>
#include "../../../clementine-1.4.0rc1-495-g10bf5dc17/src/playlist/playlistcontainer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playlistcontainer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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_PlaylistContainer_t {
    QByteArrayData data[44];
    char stringdata0[540];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlaylistContainer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlaylistContainer_t qt_meta_stringdata_PlaylistContainer = {
    {
QT_MOC_LITERAL(0, 0, 17), // "PlaylistContainer"
QT_MOC_LITERAL(1, 18, 10), // "TabChanged"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 2), // "id"
QT_MOC_LITERAL(4, 33, 6), // "Rename"
QT_MOC_LITERAL(5, 40, 8), // "new_name"
QT_MOC_LITERAL(6, 49, 22), // "UndoRedoActionsChanged"
QT_MOC_LITERAL(7, 72, 8), // "QAction*"
QT_MOC_LITERAL(8, 81, 4), // "undo"
QT_MOC_LITERAL(9, 86, 4), // "redo"
QT_MOC_LITERAL(10, 91, 25), // "ViewSelectionModelChanged"
QT_MOC_LITERAL(11, 117, 14), // "ReloadSettings"
QT_MOC_LITERAL(12, 132, 11), // "NewPlaylist"
QT_MOC_LITERAL(13, 144, 12), // "LoadPlaylist"
QT_MOC_LITERAL(14, 157, 12), // "SavePlaylist"
QT_MOC_LITERAL(15, 170, 19), // "GoToNextPlaylistTab"
QT_MOC_LITERAL(16, 190, 23), // "GoToPreviousPlaylistTab"
QT_MOC_LITERAL(17, 214, 12), // "SetViewModel"
QT_MOC_LITERAL(18, 227, 9), // "Playlist*"
QT_MOC_LITERAL(19, 237, 8), // "playlist"
QT_MOC_LITERAL(20, 246, 13), // "PlaylistAdded"
QT_MOC_LITERAL(21, 260, 4), // "name"
QT_MOC_LITERAL(22, 265, 8), // "favorite"
QT_MOC_LITERAL(23, 274, 14), // "PlaylistClosed"
QT_MOC_LITERAL(24, 289, 15), // "PlaylistRenamed"
QT_MOC_LITERAL(25, 305, 7), // "Started"
QT_MOC_LITERAL(26, 313, 13), // "ActivePlaying"
QT_MOC_LITERAL(27, 327, 12), // "ActivePaused"
QT_MOC_LITERAL(28, 340, 13), // "ActiveStopped"
QT_MOC_LITERAL(29, 354, 11), // "DirtyTabBar"
QT_MOC_LITERAL(30, 366, 4), // "Save"
QT_MOC_LITERAL(31, 371, 10), // "QSettings*"
QT_MOC_LITERAL(32, 382, 9), // "settings_"
QT_MOC_LITERAL(33, 392, 16), // "SetTabBarVisible"
QT_MOC_LITERAL(34, 409, 7), // "visible"
QT_MOC_LITERAL(35, 417, 15), // "SetTabBarHeight"
QT_MOC_LITERAL(36, 433, 6), // "height"
QT_MOC_LITERAL(37, 440, 16), // "SelectionChanged"
QT_MOC_LITERAL(38, 457, 17), // "MaybeUpdateFilter"
QT_MOC_LITERAL(39, 475, 12), // "UpdateFilter"
QT_MOC_LITERAL(40, 488, 13), // "FocusOnFilter"
QT_MOC_LITERAL(41, 502, 10), // "QKeyEvent*"
QT_MOC_LITERAL(42, 513, 5), // "event"
QT_MOC_LITERAL(43, 519, 20) // "UpdateNoMatchesLabel"

    },
    "PlaylistContainer\0TabChanged\0\0id\0"
    "Rename\0new_name\0UndoRedoActionsChanged\0"
    "QAction*\0undo\0redo\0ViewSelectionModelChanged\0"
    "ReloadSettings\0NewPlaylist\0LoadPlaylist\0"
    "SavePlaylist\0GoToNextPlaylistTab\0"
    "GoToPreviousPlaylistTab\0SetViewModel\0"
    "Playlist*\0playlist\0PlaylistAdded\0name\0"
    "favorite\0PlaylistClosed\0PlaylistRenamed\0"
    "Started\0ActivePlaying\0ActivePaused\0"
    "ActiveStopped\0DirtyTabBar\0Save\0"
    "QSettings*\0settings_\0SetTabBarVisible\0"
    "visible\0SetTabBarHeight\0height\0"
    "SelectionChanged\0MaybeUpdateFilter\0"
    "UpdateFilter\0FocusOnFilter\0QKeyEvent*\0"
    "event\0UpdateNoMatchesLabel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlaylistContainer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  154,    2, 0x06 /* Public */,
       4,    2,  157,    2, 0x06 /* Public */,
       6,    2,  162,    2, 0x06 /* Public */,
      10,    0,  167,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  168,    2, 0x0a /* Public */,
      12,    0,  169,    2, 0x08 /* Private */,
      13,    0,  170,    2, 0x08 /* Private */,
      14,    0,  171,    2, 0x08 /* Private */,
      14,    1,  172,    2, 0x08 /* Private */,
      15,    0,  175,    2, 0x08 /* Private */,
      16,    0,  176,    2, 0x08 /* Private */,
      17,    1,  177,    2, 0x08 /* Private */,
      20,    3,  180,    2, 0x08 /* Private */,
      23,    1,  187,    2, 0x08 /* Private */,
      24,    2,  190,    2, 0x08 /* Private */,
      25,    0,  195,    2, 0x08 /* Private */,
      26,    0,  196,    2, 0x08 /* Private */,
      27,    0,  197,    2, 0x08 /* Private */,
      28,    0,  198,    2, 0x08 /* Private */,
      29,    0,  199,    2, 0x08 /* Private */,
      30,    1,  200,    2, 0x08 /* Private */,
      33,    1,  203,    2, 0x08 /* Private */,
      35,    1,  206,    2, 0x08 /* Private */,
      37,    0,  209,    2, 0x08 /* Private */,
      38,    0,  210,    2, 0x08 /* Private */,
      39,    0,  211,    2, 0x08 /* Private */,
      40,    1,  212,    2, 0x08 /* Private */,
      43,    0,  215,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    5,
    QMetaType::Void, 0x80000000 | 7, 0x80000000 | 7,    8,    9,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool,    3,   21,   22,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 31,   32,
    QMetaType::Void, QMetaType::Bool,   34,
    QMetaType::Void, QMetaType::Int,   36,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 41,   42,
    QMetaType::Void,

       0        // eod
};

void PlaylistContainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PlaylistContainer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->TabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->Rename((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->UndoRedoActionsChanged((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< QAction*(*)>(_a[2]))); break;
        case 3: _t->ViewSelectionModelChanged(); break;
        case 4: _t->ReloadSettings(); break;
        case 5: _t->NewPlaylist(); break;
        case 6: _t->LoadPlaylist(); break;
        case 7: _t->SavePlaylist(); break;
        case 8: _t->SavePlaylist((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->GoToNextPlaylistTab(); break;
        case 10: _t->GoToPreviousPlaylistTab(); break;
        case 11: _t->SetViewModel((*reinterpret_cast< Playlist*(*)>(_a[1]))); break;
        case 12: _t->PlaylistAdded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 13: _t->PlaylistClosed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->PlaylistRenamed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: _t->Started(); break;
        case 16: _t->ActivePlaying(); break;
        case 17: _t->ActivePaused(); break;
        case 18: _t->ActiveStopped(); break;
        case 19: _t->DirtyTabBar(); break;
        case 20: _t->Save((*reinterpret_cast< QSettings*(*)>(_a[1]))); break;
        case 21: _t->SetTabBarVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->SetTabBarHeight((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->SelectionChanged(); break;
        case 24: _t->MaybeUpdateFilter(); break;
        case 25: _t->UpdateFilter(); break;
        case 26: _t->FocusOnFilter((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 27: _t->UpdateNoMatchesLabel(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSettings* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (PlaylistContainer::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistContainer::TabChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (PlaylistContainer::*)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistContainer::Rename)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (PlaylistContainer::*)(QAction * , QAction * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistContainer::UndoRedoActionsChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (PlaylistContainer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistContainer::ViewSelectionModelChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PlaylistContainer::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_PlaylistContainer.data,
    qt_meta_data_PlaylistContainer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void PlaylistContainer::Rename(int _t1, const QString & _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, 1, _a);
}

// SIGNAL 2
void PlaylistContainer::UndoRedoActionsChanged(QAction * _t1, QAction * _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, 2, _a);
}

// SIGNAL 3
void PlaylistContainer::ViewSelectionModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
