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

#include <memory>
#include "../../../../git/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativesupportedcategoriesmodel_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.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_QDeclarativeSupportedCategoriesModel_t {
    QByteArrayData data[33];
    char stringdata0[405];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeSupportedCategoriesModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeSupportedCategoriesModel_t qt_meta_stringdata_QDeclarativeSupportedCategoriesModel = {
    {
QT_MOC_LITERAL(0, 0, 36), // "QDeclarativeSupportedCategori..."
QT_MOC_LITERAL(1, 37, 13), // "pluginChanged"
QT_MOC_LITERAL(2, 51, 0), // ""
QT_MOC_LITERAL(3, 52, 19), // "hierarchicalChanged"
QT_MOC_LITERAL(4, 72, 13), // "statusChanged"
QT_MOC_LITERAL(5, 86, 11), // "dataChanged"
QT_MOC_LITERAL(6, 98, 6), // "update"
QT_MOC_LITERAL(7, 105, 13), // "replyFinished"
QT_MOC_LITERAL(8, 119, 13), // "addedCategory"
QT_MOC_LITERAL(9, 133, 14), // "QPlaceCategory"
QT_MOC_LITERAL(10, 148, 8), // "category"
QT_MOC_LITERAL(11, 157, 8), // "parentId"
QT_MOC_LITERAL(12, 166, 15), // "updatedCategory"
QT_MOC_LITERAL(13, 182, 15), // "removedCategory"
QT_MOC_LITERAL(14, 198, 10), // "categoryId"
QT_MOC_LITERAL(15, 209, 26), // "connectNotificationSignals"
QT_MOC_LITERAL(16, 236, 4), // "data"
QT_MOC_LITERAL(17, 241, 11), // "QModelIndex"
QT_MOC_LITERAL(18, 253, 5), // "index"
QT_MOC_LITERAL(19, 259, 4), // "role"
QT_MOC_LITERAL(20, 264, 11), // "errorString"
QT_MOC_LITERAL(21, 276, 6), // "plugin"
QT_MOC_LITERAL(22, 283, 31), // "QDeclarativeGeoServiceProvider*"
QT_MOC_LITERAL(23, 315, 12), // "hierarchical"
QT_MOC_LITERAL(24, 328, 6), // "status"
QT_MOC_LITERAL(25, 335, 6), // "Status"
QT_MOC_LITERAL(26, 342, 5), // "Roles"
QT_MOC_LITERAL(27, 348, 12), // "CategoryRole"
QT_MOC_LITERAL(28, 361, 18), // "ParentCategoryRole"
QT_MOC_LITERAL(29, 380, 4), // "Null"
QT_MOC_LITERAL(30, 385, 5), // "Ready"
QT_MOC_LITERAL(31, 391, 7), // "Loading"
QT_MOC_LITERAL(32, 399, 5) // "Error"

    },
    "QDeclarativeSupportedCategoriesModel\0"
    "pluginChanged\0\0hierarchicalChanged\0"
    "statusChanged\0dataChanged\0update\0"
    "replyFinished\0addedCategory\0QPlaceCategory\0"
    "category\0parentId\0updatedCategory\0"
    "removedCategory\0categoryId\0"
    "connectNotificationSignals\0data\0"
    "QModelIndex\0index\0role\0errorString\0"
    "plugin\0QDeclarativeGeoServiceProvider*\0"
    "hierarchical\0status\0Status\0Roles\0"
    "CategoryRole\0ParentCategoryRole\0Null\0"
    "Ready\0Loading\0Error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeSupportedCategoriesModel[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       3,  102, // properties
       2,  114, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    0,   75,    2, 0x06 /* Public */,
       4,    0,   76,    2, 0x06 /* Public */,
       5,    0,   77,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   78,    2, 0x0a /* Public */,
       7,    0,   79,    2, 0x08 /* Private */,
       8,    2,   80,    2, 0x08 /* Private */,
      12,    2,   85,    2, 0x08 /* Private */,
      13,    2,   90,    2, 0x08 /* Private */,
      15,    0,   95,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      16,    2,   96,    2, 0x02 /* Public */,
      20,    0,  101,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9, QMetaType::QString,   10,   11,
    QMetaType::Void, 0x80000000 | 9, QMetaType::QString,   10,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   14,   11,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QVariant, 0x80000000 | 17, QMetaType::Int,   18,   19,
    QMetaType::QString,

 // properties: name, type, flags
      21, 0x80000000 | 22, 0x0049510b,
      23, QMetaType::Bool, 0x00495103,
      24, 0x80000000 | 25, 0x00495009,

 // properties: notify_signal_id
       0,
       1,
       2,

 // enums: name, alias, flags, count, data
      26,   26, 0x0,    2,  124,
      25,   25, 0x0,    4,  128,

 // enum data: key, value
      27, uint(QDeclarativeSupportedCategoriesModel::CategoryRole),
      28, uint(QDeclarativeSupportedCategoriesModel::ParentCategoryRole),
      29, uint(QDeclarativeSupportedCategoriesModel::Null),
      30, uint(QDeclarativeSupportedCategoriesModel::Ready),
      31, uint(QDeclarativeSupportedCategoriesModel::Loading),
      32, uint(QDeclarativeSupportedCategoriesModel::Error),

       0        // eod
};

void QDeclarativeSupportedCategoriesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativeSupportedCategoriesModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pluginChanged(); break;
        case 1: _t->hierarchicalChanged(); break;
        case 2: _t->statusChanged(); break;
        case 3: _t->dataChanged(); break;
        case 4: _t->update(); break;
        case 5: _t->replyFinished(); break;
        case 6: _t->addedCategory((*reinterpret_cast< const QPlaceCategory(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->updatedCategory((*reinterpret_cast< const QPlaceCategory(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->removedCategory((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: _t->connectNotificationSignals(); break;
        case 10: { QVariant _r = _t->data((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 11: { QString _r = _t->errorString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QPlaceCategory >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QPlaceCategory >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeclarativeSupportedCategoriesModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSupportedCategoriesModel::pluginChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSupportedCategoriesModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSupportedCategoriesModel::hierarchicalChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSupportedCategoriesModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSupportedCategoriesModel::statusChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSupportedCategoriesModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSupportedCategoriesModel::dataChanged)) {
                *result = 3;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeGeoServiceProvider* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDeclarativeSupportedCategoriesModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v) = _t->plugin(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->hierarchical(); break;
        case 2: *reinterpret_cast< Status*>(_v) = _t->status(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativeSupportedCategoriesModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPlugin(*reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v)); break;
        case 1: _t->setHierarchical(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativeSupportedCategoriesModel::staticMetaObject = { {
    &QAbstractItemModel::staticMetaObject,
    qt_meta_stringdata_QDeclarativeSupportedCategoriesModel.data,
    qt_meta_data_QDeclarativeSupportedCategoriesModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QDeclarativeSupportedCategoriesModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QDeclarativeSupportedCategoriesModel.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QAbstractItemModel::qt_metacast(_clname);
}

int QDeclarativeSupportedCategoriesModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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