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

#include <memory>
#include "../../../../git/src/location/declarativeplaces/qdeclarativecategory_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativecategory_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.13. 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_QDeclarativeCategory_t {
    QByteArrayData data[34];
    char stringdata0[414];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeCategory_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeCategory_t qt_meta_stringdata_QDeclarativeCategory = {
    {
QT_MOC_LITERAL(0, 0, 20), // "QDeclarativeCategory"
QT_MOC_LITERAL(1, 21, 13), // "pluginChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 17), // "categoryIdChanged"
QT_MOC_LITERAL(4, 54, 11), // "nameChanged"
QT_MOC_LITERAL(5, 66, 17), // "visibilityChanged"
QT_MOC_LITERAL(6, 84, 11), // "iconChanged"
QT_MOC_LITERAL(7, 96, 13), // "statusChanged"
QT_MOC_LITERAL(8, 110, 13), // "replyFinished"
QT_MOC_LITERAL(9, 124, 11), // "pluginReady"
QT_MOC_LITERAL(10, 136, 11), // "errorString"
QT_MOC_LITERAL(11, 148, 4), // "save"
QT_MOC_LITERAL(12, 153, 8), // "parentId"
QT_MOC_LITERAL(13, 162, 6), // "remove"
QT_MOC_LITERAL(14, 169, 8), // "category"
QT_MOC_LITERAL(15, 178, 14), // "QPlaceCategory"
QT_MOC_LITERAL(16, 193, 6), // "plugin"
QT_MOC_LITERAL(17, 200, 31), // "QDeclarativeGeoServiceProvider*"
QT_MOC_LITERAL(18, 232, 10), // "categoryId"
QT_MOC_LITERAL(19, 243, 4), // "name"
QT_MOC_LITERAL(20, 248, 10), // "visibility"
QT_MOC_LITERAL(21, 259, 10), // "Visibility"
QT_MOC_LITERAL(22, 270, 4), // "icon"
QT_MOC_LITERAL(23, 275, 22), // "QDeclarativePlaceIcon*"
QT_MOC_LITERAL(24, 298, 6), // "status"
QT_MOC_LITERAL(25, 305, 6), // "Status"
QT_MOC_LITERAL(26, 312, 21), // "UnspecifiedVisibility"
QT_MOC_LITERAL(27, 334, 16), // "DeviceVisibility"
QT_MOC_LITERAL(28, 351, 17), // "PrivateVisibility"
QT_MOC_LITERAL(29, 369, 16), // "PublicVisibility"
QT_MOC_LITERAL(30, 386, 5), // "Ready"
QT_MOC_LITERAL(31, 392, 6), // "Saving"
QT_MOC_LITERAL(32, 399, 8), // "Removing"
QT_MOC_LITERAL(33, 408, 5) // "Error"

    },
    "QDeclarativeCategory\0pluginChanged\0\0"
    "categoryIdChanged\0nameChanged\0"
    "visibilityChanged\0iconChanged\0"
    "statusChanged\0replyFinished\0pluginReady\0"
    "errorString\0save\0parentId\0remove\0"
    "category\0QPlaceCategory\0plugin\0"
    "QDeclarativeGeoServiceProvider*\0"
    "categoryId\0name\0visibility\0Visibility\0"
    "icon\0QDeclarativePlaceIcon*\0status\0"
    "Status\0UnspecifiedVisibility\0"
    "DeviceVisibility\0PrivateVisibility\0"
    "PublicVisibility\0Ready\0Saving\0Removing\0"
    "Error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeCategory[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       7,   88, // properties
       2,  116, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // 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 */,
       6,    0,   78,    2, 0x06 /* Public */,
       7,    0,   79,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   80,    2, 0x08 /* Private */,
       9,    0,   81,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      10,    0,   82,    2, 0x02 /* Public */,
      11,    1,   83,    2, 0x02 /* Public */,
      11,    0,   86,    2, 0x22 /* Public | MethodCloned */,
      13,    0,   87,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      14, 0x80000000 | 15, 0x0009510b,
      16, 0x80000000 | 17, 0x0049510b,
      18, QMetaType::QString, 0x00495103,
      19, QMetaType::QString, 0x00495103,
      20, 0x80000000 | 21, 0x0049510b,
      22, 0x80000000 | 23, 0x0049510b,
      24, 0x80000000 | 25, 0x00495009,

 // properties: notify_signal_id
       0,
       0,
       1,
       2,
       3,
       4,
       5,

 // enums: name, alias, flags, count, data
      21,   21, 0x0,    4,  126,
      25,   25, 0x0,    4,  134,

 // enum data: key, value
      26, uint(QDeclarativeCategory::UnspecifiedVisibility),
      27, uint(QDeclarativeCategory::DeviceVisibility),
      28, uint(QDeclarativeCategory::PrivateVisibility),
      29, uint(QDeclarativeCategory::PublicVisibility),
      30, uint(QDeclarativeCategory::Ready),
      31, uint(QDeclarativeCategory::Saving),
      32, uint(QDeclarativeCategory::Removing),
      33, uint(QDeclarativeCategory::Error),

       0        // eod
};

void QDeclarativeCategory::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativeCategory *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->pluginChanged(); break;
        case 1: _t->categoryIdChanged(); break;
        case 2: _t->nameChanged(); break;
        case 3: _t->visibilityChanged(); break;
        case 4: _t->iconChanged(); break;
        case 5: _t->statusChanged(); break;
        case 6: _t->replyFinished(); break;
        case 7: _t->pluginReady(); break;
        case 8: { QString _r = _t->errorString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->save((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->save(); break;
        case 11: _t->remove(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeclarativeCategory::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeCategory::pluginChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeclarativeCategory::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeCategory::categoryIdChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeclarativeCategory::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeCategory::nameChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeclarativeCategory::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeCategory::visibilityChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QDeclarativeCategory::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeCategory::iconChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QDeclarativeCategory::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeCategory::statusChanged)) {
                *result = 5;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeGeoServiceProvider* >(); break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QPlaceCategory >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDeclarativeCategory *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QPlaceCategory*>(_v) = _t->category(); break;
        case 1: *reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v) = _t->plugin(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->categoryId(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 4: *reinterpret_cast< Visibility*>(_v) = _t->visibility(); break;
        case 5: *reinterpret_cast< QDeclarativePlaceIcon**>(_v) = _t->icon(); break;
        case 6: *reinterpret_cast< Status*>(_v) = _t->status(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativeCategory *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCategory(*reinterpret_cast< QPlaceCategory*>(_v)); break;
        case 1: _t->setPlugin(*reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v)); break;
        case 2: _t->setCategoryId(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setVisibility(*reinterpret_cast< Visibility*>(_v)); break;
        case 5: _t->setIcon(*reinterpret_cast< QDeclarativePlaceIcon**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativeCategory::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QDeclarativeCategory.data,
    qt_meta_data_QDeclarativeCategory,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QDeclarativeCategory::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QDeclarativeCategory.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 QObject::qt_metacast(_clname);
}

int QDeclarativeCategory::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

// SIGNAL 5
void QDeclarativeCategory::statusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
