/****************************************************************************
** Meta object code from reading C++ file 'globalsearchview.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/globalsearch/globalsearchview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'globalsearchview.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_GlobalSearchView_t {
    QByteArrayData data[34];
    char stringdata0[437];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GlobalSearchView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GlobalSearchView_t qt_meta_stringdata_GlobalSearchView = {
    {
QT_MOC_LITERAL(0, 0, 16), // "GlobalSearchView"
QT_MOC_LITERAL(1, 17, 13), // "AddToPlaylist"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 10), // "QMimeData*"
QT_MOC_LITERAL(4, 43, 4), // "data"
QT_MOC_LITERAL(5, 48, 14), // "ReloadSettings"
QT_MOC_LITERAL(6, 63, 11), // "StartSearch"
QT_MOC_LITERAL(7, 75, 5), // "query"
QT_MOC_LITERAL(8, 81, 16), // "FocusSearchField"
QT_MOC_LITERAL(9, 98, 18), // "OpenSettingsDialog"
QT_MOC_LITERAL(10, 117, 17), // "UpdateSuggestions"
QT_MOC_LITERAL(11, 135, 10), // "SwapModels"
QT_MOC_LITERAL(12, 146, 10), // "TextEdited"
QT_MOC_LITERAL(13, 157, 4), // "text"
QT_MOC_LITERAL(14, 162, 10), // "AddResults"
QT_MOC_LITERAL(15, 173, 2), // "id"
QT_MOC_LITERAL(16, 176, 26), // "SearchProvider::ResultList"
QT_MOC_LITERAL(17, 203, 7), // "results"
QT_MOC_LITERAL(18, 211, 9), // "ArtLoaded"
QT_MOC_LITERAL(19, 221, 6), // "pixmap"
QT_MOC_LITERAL(20, 228, 13), // "FocusOnFilter"
QT_MOC_LITERAL(21, 242, 10), // "QKeyEvent*"
QT_MOC_LITERAL(22, 253, 5), // "event"
QT_MOC_LITERAL(23, 259, 21), // "AddSelectedToPlaylist"
QT_MOC_LITERAL(24, 281, 12), // "LoadSelected"
QT_MOC_LITERAL(25, 294, 25), // "OpenSelectedInNewPlaylist"
QT_MOC_LITERAL(26, 320, 28), // "AddSelectedToPlaylistEnqueue"
QT_MOC_LITERAL(27, 349, 13), // "SearchForThis"
QT_MOC_LITERAL(28, 363, 14), // "GroupByClicked"
QT_MOC_LITERAL(29, 378, 8), // "QAction*"
QT_MOC_LITERAL(30, 387, 6), // "action"
QT_MOC_LITERAL(31, 394, 10), // "SetGroupBy"
QT_MOC_LITERAL(32, 405, 22), // "LibraryModel::Grouping"
QT_MOC_LITERAL(33, 428, 8) // "grouping"

    },
    "GlobalSearchView\0AddToPlaylist\0\0"
    "QMimeData*\0data\0ReloadSettings\0"
    "StartSearch\0query\0FocusSearchField\0"
    "OpenSettingsDialog\0UpdateSuggestions\0"
    "SwapModels\0TextEdited\0text\0AddResults\0"
    "id\0SearchProvider::ResultList\0results\0"
    "ArtLoaded\0pixmap\0FocusOnFilter\0"
    "QKeyEvent*\0event\0AddSelectedToPlaylist\0"
    "LoadSelected\0OpenSelectedInNewPlaylist\0"
    "AddSelectedToPlaylistEnqueue\0SearchForThis\0"
    "GroupByClicked\0QAction*\0action\0"
    "SetGroupBy\0LibraryModel::Grouping\0"
    "grouping"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GlobalSearchView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,  107,    2, 0x0a /* Public */,
       6,    1,  108,    2, 0x0a /* Public */,
       8,    0,  111,    2, 0x0a /* Public */,
       9,    0,  112,    2, 0x0a /* Public */,
      10,    0,  113,    2, 0x08 /* Private */,
      11,    0,  114,    2, 0x08 /* Private */,
      12,    1,  115,    2, 0x08 /* Private */,
      14,    2,  118,    2, 0x08 /* Private */,
      18,    2,  123,    2, 0x08 /* Private */,
      20,    1,  128,    2, 0x08 /* Private */,
      23,    0,  131,    2, 0x08 /* Private */,
      24,    0,  132,    2, 0x08 /* Private */,
      25,    0,  133,    2, 0x08 /* Private */,
      26,    0,  134,    2, 0x08 /* Private */,
      27,    0,  135,    2, 0x08 /* Private */,
      28,    1,  136,    2, 0x08 /* Private */,
      31,    1,  139,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 16,   15,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::QPixmap,   15,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void, 0x80000000 | 32,   33,

       0        // eod
};

void GlobalSearchView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GlobalSearchView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->AddToPlaylist((*reinterpret_cast< QMimeData*(*)>(_a[1]))); break;
        case 1: _t->ReloadSettings(); break;
        case 2: _t->StartSearch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->FocusSearchField(); break;
        case 4: _t->OpenSettingsDialog(); break;
        case 5: _t->UpdateSuggestions(); break;
        case 6: _t->SwapModels(); break;
        case 7: _t->TextEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->AddResults((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const SearchProvider::ResultList(*)>(_a[2]))); break;
        case 9: _t->ArtLoaded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QPixmap(*)>(_a[2]))); break;
        case 10: _t->FocusOnFilter((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 11: _t->AddSelectedToPlaylist(); break;
        case 12: _t->LoadSelected(); break;
        case 13: _t->OpenSelectedInNewPlaylist(); break;
        case 14: _t->AddSelectedToPlaylistEnqueue(); break;
        case 15: _t->SearchForThis(); break;
        case 16: _t->GroupByClicked((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 17: _t->SetGroupBy((*reinterpret_cast< const LibraryModel::Grouping(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SearchProvider::ResultList >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LibraryModel::Grouping >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GlobalSearchView::*)(QMimeData * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GlobalSearchView::AddToPlaylist)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject GlobalSearchView::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_GlobalSearchView.data,
    qt_meta_data_GlobalSearchView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void GlobalSearchView::AddToPlaylist(QMimeData * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
