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

#include <memory>
#include "../../../../../noson-app/backend/NosonApp/mediamodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mediamodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_nosonapp__MediaAuth_t {
    QByteArrayData data[6];
    char stringdata0[54];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_nosonapp__MediaAuth_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_nosonapp__MediaAuth_t qt_meta_stringdata_nosonapp__MediaAuth = {
    {
QT_MOC_LITERAL(0, 0, 19), // "nosonapp::MediaAuth"
QT_MOC_LITERAL(1, 20, 4), // "type"
QT_MOC_LITERAL(2, 25, 9), // "serialNum"
QT_MOC_LITERAL(3, 35, 3), // "key"
QT_MOC_LITERAL(4, 39, 5), // "token"
QT_MOC_LITERAL(5, 45, 8) // "username"

    },
    "nosonapp::MediaAuth\0type\0serialNum\0"
    "key\0token\0username"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_nosonapp__MediaAuth[] = {

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

 // properties: name, type, flags
       1, QMetaType::QString, 0x00095401,
       2, QMetaType::QString, 0x00095401,
       3, QMetaType::QString, 0x00095401,
       4, QMetaType::QString, 0x00095401,
       5, QMetaType::QString, 0x00095401,

       0        // eod
};

void nosonapp::MediaAuth::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<MediaAuth *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->serialNum(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->key(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->token(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->username(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject nosonapp::MediaAuth::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_nosonapp__MediaAuth.data,
    qt_meta_data_nosonapp__MediaAuth,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int nosonapp::MediaAuth::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_nosonapp__MediaModel_t {
    QByteArrayData data[75];
    char stringdata0[842];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_nosonapp__MediaModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_nosonapp__MediaModel_t qt_meta_stringdata_nosonapp__MediaModel = {
    {
QT_MOC_LITERAL(0, 0, 20), // "nosonapp::MediaModel"
QT_MOC_LITERAL(1, 21, 11), // "dataUpdated"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 12), // "countChanged"
QT_MOC_LITERAL(4, 47, 6), // "loaded"
QT_MOC_LITERAL(5, 54, 9), // "succeeded"
QT_MOC_LITERAL(6, 64, 10), // "loadedMore"
QT_MOC_LITERAL(7, 75, 11), // "viewUpdated"
QT_MOC_LITERAL(8, 87, 17), // "totalCountChanged"
QT_MOC_LITERAL(9, 105, 11), // "pathChanged"
QT_MOC_LITERAL(10, 117, 17), // "authStatusChanged"
QT_MOC_LITERAL(11, 135, 3), // "get"
QT_MOC_LITERAL(12, 139, 3), // "row"
QT_MOC_LITERAL(13, 143, 5), // "isNew"
QT_MOC_LITERAL(14, 149, 4), // "init"
QT_MOC_LITERAL(15, 154, 16), // "nosonapp::Sonos*"
QT_MOC_LITERAL(16, 171, 8), // "provider"
QT_MOC_LITERAL(17, 180, 7), // "service"
QT_MOC_LITERAL(18, 188, 4), // "fill"
QT_MOC_LITERAL(19, 193, 9), // "clearData"
QT_MOC_LITERAL(20, 203, 8), // "loadData"
QT_MOC_LITERAL(21, 212, 8), // "pathName"
QT_MOC_LITERAL(22, 221, 6), // "pathId"
QT_MOC_LITERAL(23, 228, 17), // "parentDisplayType"
QT_MOC_LITERAL(24, 246, 9), // "viewIndex"
QT_MOC_LITERAL(25, 256, 20), // "listSearchCategories"
QT_MOC_LITERAL(26, 277, 14), // "QList<QString>"
QT_MOC_LITERAL(27, 292, 16), // "requestSessionId"
QT_MOC_LITERAL(28, 309, 4), // "user"
QT_MOC_LITERAL(29, 314, 8), // "password"
QT_MOC_LITERAL(30, 323, 23), // "beginDeviceRegistration"
QT_MOC_LITERAL(31, 347, 17), // "requestDeviceAuth"
QT_MOC_LITERAL(32, 365, 13), // "getDeviceAuth"
QT_MOC_LITERAL(33, 379, 9), // "asyncLoad"
QT_MOC_LITERAL(34, 389, 9), // "fetchBack"
QT_MOC_LITERAL(35, 399, 14), // "asyncLoadChild"
QT_MOC_LITERAL(36, 414, 2), // "id"
QT_MOC_LITERAL(37, 417, 5), // "title"
QT_MOC_LITERAL(38, 423, 11), // "displayType"
QT_MOC_LITERAL(39, 435, 15), // "asyncLoadParent"
QT_MOC_LITERAL(40, 451, 15), // "asyncLoadSearch"
QT_MOC_LITERAL(41, 467, 8), // "category"
QT_MOC_LITERAL(42, 476, 4), // "term"
QT_MOC_LITERAL(43, 481, 10), // "resetModel"
QT_MOC_LITERAL(44, 492, 11), // "appendModel"
QT_MOC_LITERAL(45, 504, 17), // "containerUpdateID"
QT_MOC_LITERAL(46, 522, 11), // "faultString"
QT_MOC_LITERAL(47, 534, 5), // "count"
QT_MOC_LITERAL(48, 540, 7), // "failure"
QT_MOC_LITERAL(49, 548, 9), // "dataState"
QT_MOC_LITERAL(50, 558, 10), // "totalCount"
QT_MOC_LITERAL(51, 569, 6), // "isRoot"
QT_MOC_LITERAL(52, 576, 13), // "isAuthExpired"
QT_MOC_LITERAL(53, 590, 10), // "policyAuth"
QT_MOC_LITERAL(54, 601, 6), // "regURL"
QT_MOC_LITERAL(55, 608, 8), // "linkCode"
QT_MOC_LITERAL(56, 617, 8), // "username"
QT_MOC_LITERAL(57, 626, 8), // "NodeType"
QT_MOC_LITERAL(58, 635, 11), // "TypeUnknown"
QT_MOC_LITERAL(59, 647, 9), // "TypeAlbum"
QT_MOC_LITERAL(60, 657, 10), // "TypePerson"
QT_MOC_LITERAL(61, 668, 9), // "TypeGenre"
QT_MOC_LITERAL(62, 678, 12), // "TypePlaylist"
QT_MOC_LITERAL(63, 691, 13), // "TypeAudioItem"
QT_MOC_LITERAL(64, 705, 10), // "TypeFolder"
QT_MOC_LITERAL(65, 716, 11), // "DisplayType"
QT_MOC_LITERAL(66, 728, 11), // "DisplayGrid"
QT_MOC_LITERAL(67, 740, 11), // "DisplayList"
QT_MOC_LITERAL(68, 752, 11), // "DisplayHero"
QT_MOC_LITERAL(69, 764, 16), // "DisplayEditorial"
QT_MOC_LITERAL(70, 781, 8), // "AuthType"
QT_MOC_LITERAL(71, 790, 13), // "AuthAnonymous"
QT_MOC_LITERAL(72, 804, 10), // "AuthUserId"
QT_MOC_LITERAL(73, 815, 14), // "AuthDeviceLink"
QT_MOC_LITERAL(74, 830, 11) // "AuthAppLink"

    },
    "nosonapp::MediaModel\0dataUpdated\0\0"
    "countChanged\0loaded\0succeeded\0loadedMore\0"
    "viewUpdated\0totalCountChanged\0pathChanged\0"
    "authStatusChanged\0get\0row\0isNew\0init\0"
    "nosonapp::Sonos*\0provider\0service\0"
    "fill\0clearData\0loadData\0pathName\0"
    "pathId\0parentDisplayType\0viewIndex\0"
    "listSearchCategories\0QList<QString>\0"
    "requestSessionId\0user\0password\0"
    "beginDeviceRegistration\0requestDeviceAuth\0"
    "getDeviceAuth\0asyncLoad\0fetchBack\0"
    "asyncLoadChild\0id\0title\0displayType\0"
    "asyncLoadParent\0asyncLoadSearch\0"
    "category\0term\0resetModel\0appendModel\0"
    "containerUpdateID\0faultString\0count\0"
    "failure\0dataState\0totalCount\0isRoot\0"
    "isAuthExpired\0policyAuth\0regURL\0"
    "linkCode\0username\0NodeType\0TypeUnknown\0"
    "TypeAlbum\0TypePerson\0TypeGenre\0"
    "TypePlaylist\0TypeAudioItem\0TypeFolder\0"
    "DisplayType\0DisplayGrid\0DisplayList\0"
    "DisplayHero\0DisplayEditorial\0AuthType\0"
    "AuthAnonymous\0AuthUserId\0AuthDeviceLink\0"
    "AuthAppLink"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_nosonapp__MediaModel[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      33,   14, // methods
      10,  250, // properties
       3,  290, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  179,    2, 0x06 /* Public */,
       3,    0,  180,    2, 0x06 /* Public */,
       4,    1,  181,    2, 0x06 /* Public */,
       6,    1,  184,    2, 0x06 /* Public */,
       7,    0,  187,    2, 0x06 /* Public */,
       8,    0,  188,    2, 0x06 /* Public */,
       9,    0,  189,    2, 0x06 /* Public */,
      10,    0,  190,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      11,    1,  191,    2, 0x02 /* Public */,
      13,    0,  194,    2, 0x02 /* Public */,
      14,    3,  195,    2, 0x02 /* Public */,
      14,    2,  202,    2, 0x22 /* Public | MethodCloned */,
      19,    0,  207,    2, 0x02 /* Public */,
      20,    0,  208,    2, 0x02 /* Public */,
      21,    0,  209,    2, 0x02 /* Public */,
      22,    0,  210,    2, 0x02 /* Public */,
      23,    0,  211,    2, 0x02 /* Public */,
      24,    0,  212,    2, 0x02 /* Public */,
      25,    0,  213,    2, 0x02 /* Public */,
      27,    2,  214,    2, 0x02 /* Public */,
      30,    0,  219,    2, 0x02 /* Public */,
      31,    0,  220,    2, 0x02 /* Public */,
      32,    0,  221,    2, 0x02 /* Public */,
      33,    0,  222,    2, 0x02 /* Public */,
      34,    0,  223,    2, 0x02 /* Public */,
      35,    4,  224,    2, 0x02 /* Public */,
      35,    3,  233,    2, 0x22 /* Public | MethodCloned */,
      39,    0,  240,    2, 0x02 /* Public */,
      40,    2,  241,    2, 0x02 /* Public */,
      43,    0,  246,    2, 0x02 /* Public */,
      44,    0,  247,    2, 0x02 /* Public */,
      45,    0,  248,    2, 0x02 /* Public */,
      46,    0,  249,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QVariantMap, QMetaType::Int,   12,
    QMetaType::Bool,
    QMetaType::Bool, 0x80000000 | 15, QMetaType::QVariant, QMetaType::Bool,   16,   17,   18,
    QMetaType::Bool, 0x80000000 | 15, QMetaType::QVariant,   16,   17,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Int,
    QMetaType::Int,
    0x80000000 | 26,
    QMetaType::Int, QMetaType::QString, QMetaType::QString,   28,   29,
    QMetaType::Bool,
    QMetaType::Int,
    QMetaType::QVariantMap,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString, QMetaType::Int, QMetaType::Int,   36,   37,   38,   24,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString, QMetaType::Int,   36,   37,   38,
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,   41,   42,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Int,
    QMetaType::QString,

 // properties: name, type, flags
      47, QMetaType::Int, 0x00495001,
      48, QMetaType::Bool, 0x00495001,
      49, QMetaType::Int, 0x00495001,
      50, QMetaType::Int, 0x00495001,
      51, QMetaType::Bool, 0x00495001,
      52, QMetaType::Bool, 0x00495001,
      53, QMetaType::Int, 0x00095401,
      54, QMetaType::QString, 0x00095401,
      55, QMetaType::QString, 0x00095401,
      56, QMetaType::QString, 0x00095401,

 // properties: notify_signal_id
       1,
       2,
       2,
       5,
       6,
       7,
       0,
       0,
       0,
       0,

 // enums: name, alias, flags, count, data
      57,   57, 0x0,    7,  305,
      65,   65, 0x0,    4,  319,
      70,   70, 0x0,    4,  327,

 // enum data: key, value
      58, uint(nosonapp::MediaModel::TypeUnknown),
      59, uint(nosonapp::MediaModel::TypeAlbum),
      60, uint(nosonapp::MediaModel::TypePerson),
      61, uint(nosonapp::MediaModel::TypeGenre),
      62, uint(nosonapp::MediaModel::TypePlaylist),
      63, uint(nosonapp::MediaModel::TypeAudioItem),
      64, uint(nosonapp::MediaModel::TypeFolder),
      66, uint(nosonapp::MediaModel::DisplayGrid),
      67, uint(nosonapp::MediaModel::DisplayList),
      68, uint(nosonapp::MediaModel::DisplayHero),
      69, uint(nosonapp::MediaModel::DisplayEditorial),
      71, uint(nosonapp::MediaModel::AuthAnonymous),
      72, uint(nosonapp::MediaModel::AuthUserId),
      73, uint(nosonapp::MediaModel::AuthDeviceLink),
      74, uint(nosonapp::MediaModel::AuthAppLink),

       0        // eod
};

void nosonapp::MediaModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MediaModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->dataUpdated(); break;
        case 1: _t->countChanged(); break;
        case 2: _t->loaded((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->loadedMore((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->viewUpdated(); break;
        case 5: _t->totalCountChanged(); break;
        case 6: _t->pathChanged(); break;
        case 7: _t->authStatusChanged(); break;
        case 8: { QVariantMap _r = _t->get((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 9: { bool _r = _t->isNew();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->init((*reinterpret_cast< nosonapp::Sonos*(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->init((*reinterpret_cast< nosonapp::Sonos*(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->clearData(); break;
        case 13: { bool _r = _t->loadData();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { QString _r = _t->pathName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 15: { QString _r = _t->pathId();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 16: { int _r = _t->parentDisplayType();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 17: { int _r = _t->viewIndex();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 18: { QList<QString> _r = _t->listSearchCategories();
            if (_a[0]) *reinterpret_cast< QList<QString>*>(_a[0]) = std::move(_r); }  break;
        case 19: { int _r = _t->requestSessionId((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 20: { bool _r = _t->beginDeviceRegistration();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 21: { int _r = _t->requestDeviceAuth();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 22: { QVariantMap _r = _t->getDeviceAuth();
            if (_a[0]) *reinterpret_cast< QVariantMap*>(_a[0]) = std::move(_r); }  break;
        case 23: { bool _r = _t->asyncLoad();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 24: { bool _r = _t->fetchBack();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 25: { bool _r = _t->asyncLoadChild((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 26: { bool _r = _t->asyncLoadChild((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 27: { bool _r = _t->asyncLoadParent();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 28: { bool _r = _t->asyncLoadSearch((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 29: _t->resetModel(); break;
        case 30: _t->appendModel(); break;
        case 31: { int _r = _t->containerUpdateID();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 32: { QString _r = _t->faultString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MediaModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::dataUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MediaModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::countChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (MediaModel::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::loaded)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (MediaModel::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::loadedMore)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (MediaModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::viewUpdated)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (MediaModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::totalCountChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (MediaModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::pathChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (MediaModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaModel::authStatusChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<MediaModel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->rowCount(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->dataFailure(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->dataState(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->totalCount(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isRoot(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isAuthExpired(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->policyAuth(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->regURL(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->linkCode(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->username(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject nosonapp::MediaModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_meta_stringdata_nosonapp__MediaModel.data,
    qt_meta_data_nosonapp__MediaModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *nosonapp::MediaModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_nosonapp__MediaModel.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ListModel<Sonos>"))
        return static_cast< ListModel<Sonos>*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

int nosonapp::MediaModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 33)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 33;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 33)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 33;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void nosonapp::MediaModel::dataUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void nosonapp::MediaModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void nosonapp::MediaModel::loaded(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void nosonapp::MediaModel::loadedMore(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void nosonapp::MediaModel::viewUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void nosonapp::MediaModel::totalCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void nosonapp::MediaModel::pathChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void nosonapp::MediaModel::authStatusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
