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

#include "../../../../amarok-3.3.3/src/playlist/view/listview/PrettyListView.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PrettyListView.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN8Playlist14PrettyListViewE_t {};
} // unnamed namespace

template <> constexpr inline auto Playlist::PrettyListView::qt_create_metaobjectdata<qt_meta_tag_ZN8Playlist14PrettyListViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Playlist::PrettyListView",
        "found",
        "",
        "notFound",
        "editTrackInformation",
        "playFirstSelected",
        "dequeueSelection",
        "queueSelection",
        "switchQueueState",
        "removeSelection",
        "stopAfterTrack",
        "scrollToActiveTrack",
        "selectSource",
        "downOneTrack",
        "upOneTrack",
        "setCurrentIndex",
        "QModelIndex",
        "index",
        "selectionModel_setCurrentIndex",
        "QItemSelectionModel::SelectionFlags",
        "command",
        "find",
        "searchTerm",
        "fields",
        "filter",
        "findNext",
        "findPrevious",
        "clearSearchTerm",
        "showOnlyMatches",
        "onlyMatches",
        "findInSource",
        "newPalette",
        "QPalette",
        "palette",
        "slotPlaylistActiveTrackChanged",
        "bottomModelRowsInserted",
        "parent",
        "start",
        "end",
        "bottomModelRowsInsertedScroll",
        "moveTrackSelection",
        "offset",
        "slotSelectionChanged",
        "trackActivated",
        "updateProxyTimeout",
        "fixInvisible",
        "redrawActive",
        "playlistLayoutChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'found'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'notFound'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'editTrackInformation'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'playFirstSelected'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'dequeueSelection'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'queueSelection'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'switchQueueState'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'removeSelection'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stopAfterTrack'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollToActiveTrack'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectSource'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'downOneTrack'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'upOneTrack'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setCurrentIndex'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'selectionModel_setCurrentIndex'
        QtMocHelpers::SlotData<void(const QModelIndex &, QItemSelectionModel::SelectionFlags)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 }, { 0x80000000 | 19, 20 },
        }}),
        // Slot 'find'
        QtMocHelpers::SlotData<void(const QString &, int, bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 22 }, { QMetaType::Int, 23 }, { QMetaType::Bool, 24 },
        }}),
        // Slot 'findNext'
        QtMocHelpers::SlotData<void(const QString &, int)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 22 }, { QMetaType::Int, 23 },
        }}),
        // Slot 'findPrevious'
        QtMocHelpers::SlotData<void(const QString &, int)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 22 }, { QMetaType::Int, 23 },
        }}),
        // Slot 'clearSearchTerm'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showOnlyMatches'
        QtMocHelpers::SlotData<void(bool)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 29 },
        }}),
        // Slot 'findInSource'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'newPalette'
        QtMocHelpers::SlotData<void(const QPalette &)>(31, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'slotPlaylistActiveTrackChanged'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'bottomModelRowsInserted'
        QtMocHelpers::SlotData<void(const QModelIndex &, int, int)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 36 }, { QMetaType::Int, 37 }, { QMetaType::Int, 38 },
        }}),
        // Slot 'bottomModelRowsInsertedScroll'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'moveTrackSelection'
        QtMocHelpers::SlotData<void(int)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 41 },
        }}),
        // Slot 'slotSelectionChanged'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'trackActivated'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Slot 'updateProxyTimeout'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'fixInvisible'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'redrawActive'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'playlistLayoutChanged'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PrettyListView, qt_meta_tag_ZN8Playlist14PrettyListViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Playlist::PrettyListView::staticMetaObject = { {
    QMetaObject::SuperData::link<QListView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Playlist14PrettyListViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Playlist14PrettyListViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Playlist14PrettyListViewE_t>.metaTypes,
    nullptr
} };

void Playlist::PrettyListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PrettyListView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->found(); break;
        case 1: _t->notFound(); break;
        case 2: _t->editTrackInformation(); break;
        case 3: _t->playFirstSelected(); break;
        case 4: _t->dequeueSelection(); break;
        case 5: _t->queueSelection(); break;
        case 6: _t->switchQueueState(); break;
        case 7: _t->removeSelection(); break;
        case 8: _t->stopAfterTrack(); break;
        case 9: _t->scrollToActiveTrack(); break;
        case 10: _t->selectSource(); break;
        case 11: _t->downOneTrack(); break;
        case 12: _t->upOneTrack(); break;
        case 13: _t->setCurrentIndex((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 14: _t->selectionModel_setCurrentIndex((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QItemSelectionModel::SelectionFlags>>(_a[2]))); break;
        case 15: _t->find((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 16: _t->findNext((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 17: _t->findPrevious((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 18: _t->clearSearchTerm(); break;
        case 19: _t->showOnlyMatches((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->findInSource(); break;
        case 21: _t->newPalette((*reinterpret_cast<std::add_pointer_t<QPalette>>(_a[1]))); break;
        case 22: _t->slotPlaylistActiveTrackChanged(); break;
        case 23: _t->bottomModelRowsInserted((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 24: _t->bottomModelRowsInsertedScroll(); break;
        case 25: _t->moveTrackSelection((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 26: _t->slotSelectionChanged(); break;
        case 27: _t->trackActivated((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 28: _t->updateProxyTimeout(); break;
        case 29: _t->fixInvisible(); break;
        case 30: _t->redrawActive(); break;
        case 31: _t->playlistLayoutChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PrettyListView::*)()>(_a, &PrettyListView::found, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PrettyListView::*)()>(_a, &PrettyListView::notFound, 1))
            return;
    }
}

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

void *Playlist::PrettyListView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Playlist14PrettyListViewE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ViewCommon"))
        return static_cast< ViewCommon*>(this);
    return QListView::qt_metacast(_clname);
}

int Playlist::PrettyListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QListView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 32)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 32;
    }
    return _id;
}

// SIGNAL 0
void Playlist::PrettyListView::found()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Playlist::PrettyListView::notFound()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
