/****************************************************************************
** Meta object code from reading C++ file 'playlistfilterproxymodel.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 "../../../../../haruna-1.8.1/src/playlist/playlistfilterproxymodel.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playlistfilterproxymodel.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_ZN24PlaylistFilterProxyModelE_t {};
} // unnamed namespace

template <> constexpr inline auto PlaylistFilterProxyModel::qt_create_metaobjectdata<qt_meta_tag_ZN24PlaylistFilterProxyModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PlaylistFilterProxyModel",
        "QML.Element",
        "selectionCountChanged",
        "",
        "itemCountChanged",
        "itemsSorted",
        "itemsMoved",
        "itemsRemoved",
        "itemsInserted",
        "searchTextChanged",
        "sortOrderChanged",
        "showSectionsChanged",
        "getPlayingItem",
        "setPlayingItem",
        "i",
        "playNext",
        "playPrevious",
        "saveM3uFile",
        "path",
        "highlightInFileManager",
        "row",
        "removeItem",
        "removeItems",
        "renameFile",
        "trashFile",
        "trashFiles",
        "copyFileName",
        "copyFilePath",
        "getFilePath",
        "isLastItem",
        "moveItems",
        "destinationRow",
        "selectItem",
        "Selection",
        "selectionMode",
        "refreshData",
        "addFilesAndFolders",
        "QList<QUrl>",
        "urls",
        "PlaylistModel::Behavior",
        "behavior",
        "insertOffset",
        "isDirectory",
        "QUrl",
        "url",
        "activeSortPropertiesModel",
        "PlaylistSortPropertyModel*",
        "activeGroupModel",
        "availableSortPropertiesProxyModel",
        "PlaylistSortPropertyProxyModel*",
        "availableGroupProxyModel",
        "addToActiveSortProperties",
        "sort",
        "addToActiveGroup",
        "Group",
        "group",
        "removeFromActiveSortProperties",
        "index",
        "removeFromActiveGroup",
        "setGroupHideBlank",
        "hide",
        "setSortPropertySortingOrder",
        "order",
        "getSectionList",
        "sectionKey",
        "playlistName",
        "clear",
        "addItem",
        "addItems",
        "selectionCount",
        "itemCount",
        "searchText",
        "sortPreset",
        "Sort",
        "sortOrder",
        "Qt::SortOrder",
        "showSections",
        "Clear",
        "ClearSingle",
        "Single",
        "Toggle",
        "Range",
        "RangeStart",
        "Invert",
        "All",
        "Filter",
        "Name",
        "Title"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'selectionCountChanged'
        QtMocHelpers::SignalData<void()>(2, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'itemCountChanged'
        QtMocHelpers::SignalData<void()>(4, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'itemsSorted'
        QtMocHelpers::SignalData<void()>(5, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'itemsMoved'
        QtMocHelpers::SignalData<void()>(6, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'itemsRemoved'
        QtMocHelpers::SignalData<void()>(7, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'itemsInserted'
        QtMocHelpers::SignalData<void()>(8, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'searchTextChanged'
        QtMocHelpers::SignalData<void()>(9, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sortOrderChanged'
        QtMocHelpers::SignalData<void()>(10, 3, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showSectionsChanged'
        QtMocHelpers::SignalData<void()>(11, 3, QMC::AccessPublic, QMetaType::Void),
        // Method 'getPlayingItem'
        QtMocHelpers::MethodData<uint()>(12, 3, QMC::AccessPublic, QMetaType::UInt),
        // Method 'setPlayingItem'
        QtMocHelpers::MethodData<void(uint)>(13, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 14 },
        }}),
        // Method 'playNext'
        QtMocHelpers::MethodData<void()>(15, 3, QMC::AccessPublic, QMetaType::Void),
        // Method 'playPrevious'
        QtMocHelpers::MethodData<void()>(16, 3, QMC::AccessPublic, QMetaType::Void),
        // Method 'saveM3uFile'
        QtMocHelpers::MethodData<void(const QString &)>(17, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Method 'highlightInFileManager'
        QtMocHelpers::MethodData<void(uint)>(19, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'removeItem'
        QtMocHelpers::MethodData<void(uint)>(21, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'removeItems'
        QtMocHelpers::MethodData<void()>(22, 3, QMC::AccessPublic, QMetaType::Void),
        // Method 'renameFile'
        QtMocHelpers::MethodData<void(uint)>(23, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'trashFile'
        QtMocHelpers::MethodData<void(uint)>(24, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'trashFiles'
        QtMocHelpers::MethodData<void()>(25, 3, QMC::AccessPublic, QMetaType::Void),
        // Method 'copyFileName'
        QtMocHelpers::MethodData<void(uint)>(26, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'copyFilePath'
        QtMocHelpers::MethodData<void(uint)>(27, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'getFilePath'
        QtMocHelpers::MethodData<QString(uint)>(28, 3, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'isLastItem'
        QtMocHelpers::MethodData<bool(uint)>(29, 3, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::UInt, 20 },
        }}),
        // Method 'moveItems'
        QtMocHelpers::MethodData<void(uint, uint)>(30, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 }, { QMetaType::UInt, 31 },
        }}),
        // Method 'selectItem'
        QtMocHelpers::MethodData<void(uint, enum Selection)>(32, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 20 }, { 0x80000000 | 33, 34 },
        }}),
        // Method 'refreshData'
        QtMocHelpers::MethodData<void()>(35, 3, QMC::AccessPublic, QMetaType::Void),
        // Method 'addFilesAndFolders'
        QtMocHelpers::MethodData<void(const QList<QUrl> &, PlaylistModel::Behavior, uint)>(36, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 37, 38 }, { 0x80000000 | 39, 40 }, { QMetaType::UInt, 41 },
        }}),
        // Method 'addFilesAndFolders'
        QtMocHelpers::MethodData<void(const QList<QUrl> &, PlaylistModel::Behavior)>(36, 3, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 37, 38 }, { 0x80000000 | 39, 40 },
        }}),
        // Method 'isDirectory'
        QtMocHelpers::MethodData<bool(const QUrl &)>(42, 3, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 43, 44 },
        }}),
        // Method 'activeSortPropertiesModel'
        QtMocHelpers::MethodData<PlaylistSortPropertyModel *()>(45, 3, QMC::AccessPublic, 0x80000000 | 46),
        // Method 'activeGroupModel'
        QtMocHelpers::MethodData<PlaylistSortPropertyModel *()>(47, 3, QMC::AccessPublic, 0x80000000 | 46),
        // Method 'availableSortPropertiesProxyModel'
        QtMocHelpers::MethodData<PlaylistSortPropertyProxyModel *()>(48, 3, QMC::AccessPublic, 0x80000000 | 49),
        // Method 'availableGroupProxyModel'
        QtMocHelpers::MethodData<PlaylistSortPropertyProxyModel *()>(50, 3, QMC::AccessPublic, 0x80000000 | 49),
        // Method 'addToActiveSortProperties'
        QtMocHelpers::MethodData<void(int)>(51, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 52 },
        }}),
        // Method 'addToActiveGroup'
        QtMocHelpers::MethodData<void(Group) const>(53, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 54, 55 },
        }}),
        // Method 'removeFromActiveSortProperties'
        QtMocHelpers::MethodData<void(uint)>(56, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 57 },
        }}),
        // Method 'removeFromActiveGroup'
        QtMocHelpers::MethodData<void(uint) const>(58, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 57 },
        }}),
        // Method 'setGroupHideBlank'
        QtMocHelpers::MethodData<void(uint, bool) const>(59, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 57 }, { QMetaType::Bool, 60 },
        }}),
        // Method 'setSortPropertySortingOrder'
        QtMocHelpers::MethodData<void(uint, int) const>(61, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 57 }, { QMetaType::Int, 62 },
        }}),
        // Method 'getSectionList'
        QtMocHelpers::MethodData<QStringList(const QString &) const>(63, 3, QMC::AccessPublic, QMetaType::QStringList, {{
            { QMetaType::QString, 64 },
        }}),
        // Method 'playlistName'
        QtMocHelpers::MethodData<QString() const>(65, 3, QMC::AccessPublic, QMetaType::QString),
        // Method 'clear'
        QtMocHelpers::MethodData<void()>(66, 3, QMC::AccessPublic, QMetaType::Void),
        // Method 'addItem'
        QtMocHelpers::MethodData<void(const QString &, PlaylistModel::Behavior)>(67, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 }, { 0x80000000 | 39, 40 },
        }}),
        // Method 'addItem'
        QtMocHelpers::MethodData<void(const QUrl &, PlaylistModel::Behavior)>(67, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 43, 44 }, { 0x80000000 | 39, 40 },
        }}),
        // Method 'addItems'
        QtMocHelpers::MethodData<void(const QList<QUrl> &, PlaylistModel::Behavior)>(68, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 37, 38 }, { 0x80000000 | 39, 40 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'selectionCount'
        QtMocHelpers::PropertyData<uint>(69, QMetaType::UInt, QMC::DefaultPropertyFlags, 0),
        // property 'itemCount'
        QtMocHelpers::PropertyData<uint>(70, QMetaType::UInt, QMC::DefaultPropertyFlags, 1),
        // property 'searchText'
        QtMocHelpers::PropertyData<QString>(71, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'sortPreset'
        QtMocHelpers::PropertyData<Sort>(72, 0x80000000 | 73, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
        // property 'sortOrder'
        QtMocHelpers::PropertyData<Qt::SortOrder>(74, 0x80000000 | 75, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag, 7),
        // property 'showSections'
        QtMocHelpers::PropertyData<bool>(76, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Selection'
        QtMocHelpers::EnumData<enum Selection>(33, 33, QMC::EnumIsScoped).add({
            {   77, Selection::Clear },
            {   78, Selection::ClearSingle },
            {   79, Selection::Single },
            {   80, Selection::Toggle },
            {   81, Selection::Range },
            {   82, Selection::RangeStart },
            {   83, Selection::Invert },
            {   84, Selection::All },
        }),
        // enum 'Filter'
        QtMocHelpers::EnumData<enum Filter>(85, 85, QMC::EnumFlags{}).add({
            {   86, Filter::Name },
            {   87, Filter::Title },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    0 },
    });
    return QtMocHelpers::metaObjectData<PlaylistFilterProxyModel, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject PlaylistFilterProxyModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QSortFilterProxyModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PlaylistFilterProxyModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PlaylistFilterProxyModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN24PlaylistFilterProxyModelE_t>.metaTypes,
    nullptr
} };

void PlaylistFilterProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlaylistFilterProxyModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->selectionCountChanged(); break;
        case 1: _t->itemCountChanged(); break;
        case 2: _t->itemsSorted(); break;
        case 3: _t->itemsMoved(); break;
        case 4: _t->itemsRemoved(); break;
        case 5: _t->itemsInserted(); break;
        case 6: _t->searchTextChanged(); break;
        case 7: _t->sortOrderChanged(); break;
        case 8: _t->showSectionsChanged(); break;
        case 9: { uint _r = _t->getPlayingItem();
            if (_a[0]) *reinterpret_cast<uint*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->setPlayingItem((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 11: _t->playNext(); break;
        case 12: _t->playPrevious(); break;
        case 13: _t->saveM3uFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->highlightInFileManager((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 15: _t->removeItem((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 16: _t->removeItems(); break;
        case 17: _t->renameFile((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 18: _t->trashFile((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 19: _t->trashFiles(); break;
        case 20: _t->copyFileName((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 21: _t->copyFilePath((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 22: { QString _r = _t->getFilePath((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 23: { bool _r = _t->isLastItem((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 24: _t->moveItems((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[2]))); break;
        case 25: _t->selectItem((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<enum Selection>>(_a[2]))); break;
        case 26: _t->refreshData(); break;
        case 27: _t->addFilesAndFolders((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<PlaylistModel::Behavior>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[3]))); break;
        case 28: _t->addFilesAndFolders((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<PlaylistModel::Behavior>>(_a[2]))); break;
        case 29: { bool _r = _t->isDirectory((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 30: { PlaylistSortPropertyModel* _r = _t->activeSortPropertiesModel();
            if (_a[0]) *reinterpret_cast<PlaylistSortPropertyModel**>(_a[0]) = std::move(_r); }  break;
        case 31: { PlaylistSortPropertyModel* _r = _t->activeGroupModel();
            if (_a[0]) *reinterpret_cast<PlaylistSortPropertyModel**>(_a[0]) = std::move(_r); }  break;
        case 32: { PlaylistSortPropertyProxyModel* _r = _t->availableSortPropertiesProxyModel();
            if (_a[0]) *reinterpret_cast<PlaylistSortPropertyProxyModel**>(_a[0]) = std::move(_r); }  break;
        case 33: { PlaylistSortPropertyProxyModel* _r = _t->availableGroupProxyModel();
            if (_a[0]) *reinterpret_cast<PlaylistSortPropertyProxyModel**>(_a[0]) = std::move(_r); }  break;
        case 34: _t->addToActiveSortProperties((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 35: _t->addToActiveGroup((*reinterpret_cast<std::add_pointer_t<Group>>(_a[1]))); break;
        case 36: _t->removeFromActiveSortProperties((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 37: _t->removeFromActiveGroup((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 38: _t->setGroupHideBlank((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 39: _t->setSortPropertySortingOrder((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 40: { QStringList _r = _t->getSectionList((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 41: { QString _r = _t->playlistName();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 42: _t->clear(); break;
        case 43: _t->addItem((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<PlaylistModel::Behavior>>(_a[2]))); break;
        case 44: _t->addItem((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<PlaylistModel::Behavior>>(_a[2]))); break;
        case 45: _t->addItems((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<PlaylistModel::Behavior>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 27:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlaylistModel::Behavior >(); break;
            }
            break;
        case 28:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlaylistModel::Behavior >(); break;
            }
            break;
        case 43:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlaylistModel::Behavior >(); break;
            }
            break;
        case 44:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlaylistModel::Behavior >(); break;
            }
            break;
        case 45:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlaylistModel::Behavior >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::selectionCountChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::itemCountChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::itemsSorted, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::itemsMoved, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::itemsRemoved, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::itemsInserted, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::searchTextChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::sortOrderChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistFilterProxyModel::*)()>(_a, &PlaylistFilterProxyModel::showSectionsChanged, 8))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<uint*>(_v) = _t->selectionCount(); break;
        case 1: *reinterpret_cast<uint*>(_v) = _t->itemCount(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->searchText(); break;
        case 3: *reinterpret_cast<Sort*>(_v) = _t->sortPreset(); break;
        case 4: *reinterpret_cast<Qt::SortOrder*>(_v) = _t->sortOrder(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->showSections(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setSearchText(*reinterpret_cast<QString*>(_v)); break;
        case 3: _t->setSortPreset(*reinterpret_cast<Sort*>(_v)); break;
        case 4: _t->changeSortOrder(*reinterpret_cast<Qt::SortOrder*>(_v)); break;
        case 5: _t->setShowSections(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *PlaylistFilterProxyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PlaylistFilterProxyModelE_t>.strings))
        return static_cast<void*>(this);
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int PlaylistFilterProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 46)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 46;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 46)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 46;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void PlaylistFilterProxyModel::selectionCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void PlaylistFilterProxyModel::itemCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void PlaylistFilterProxyModel::itemsSorted()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

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

// SIGNAL 5
void PlaylistFilterProxyModel::itemsInserted()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void PlaylistFilterProxyModel::searchTextChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void PlaylistFilterProxyModel::sortOrderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void PlaylistFilterProxyModel::showSectionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
