/****************************************************************************
** Meta object code from reading C++ file 'qdeclarativesearchmodelbase_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/qdeclarativesearchmodelbase_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativesearchmodelbase_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_QDeclarativeSearchModelBase_t {
    QByteArrayData data[29];
    char stringdata0[384];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeSearchModelBase_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeSearchModelBase_t qt_meta_stringdata_QDeclarativeSearchModelBase = {
    {
QT_MOC_LITERAL(0, 0, 27), // "QDeclarativeSearchModelBase"
QT_MOC_LITERAL(1, 28, 13), // "pluginChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 17), // "searchAreaChanged"
QT_MOC_LITERAL(4, 61, 12), // "limitChanged"
QT_MOC_LITERAL(5, 74, 29), // "previousPagesAvailableChanged"
QT_MOC_LITERAL(6, 104, 25), // "nextPagesAvailableChanged"
QT_MOC_LITERAL(7, 130, 13), // "statusChanged"
QT_MOC_LITERAL(8, 144, 13), // "queryFinished"
QT_MOC_LITERAL(9, 158, 16), // "onContentUpdated"
QT_MOC_LITERAL(10, 175, 17), // "pluginNameChanged"
QT_MOC_LITERAL(11, 193, 6), // "update"
QT_MOC_LITERAL(12, 200, 6), // "cancel"
QT_MOC_LITERAL(13, 207, 5), // "reset"
QT_MOC_LITERAL(14, 213, 11), // "errorString"
QT_MOC_LITERAL(15, 225, 12), // "previousPage"
QT_MOC_LITERAL(16, 238, 8), // "nextPage"
QT_MOC_LITERAL(17, 247, 6), // "plugin"
QT_MOC_LITERAL(18, 254, 31), // "QDeclarativeGeoServiceProvider*"
QT_MOC_LITERAL(19, 286, 10), // "searchArea"
QT_MOC_LITERAL(20, 297, 5), // "limit"
QT_MOC_LITERAL(21, 303, 22), // "previousPagesAvailable"
QT_MOC_LITERAL(22, 326, 18), // "nextPagesAvailable"
QT_MOC_LITERAL(23, 345, 6), // "status"
QT_MOC_LITERAL(24, 352, 6), // "Status"
QT_MOC_LITERAL(25, 359, 4), // "Null"
QT_MOC_LITERAL(26, 364, 5), // "Ready"
QT_MOC_LITERAL(27, 370, 7), // "Loading"
QT_MOC_LITERAL(28, 378, 5) // "Error"

    },
    "QDeclarativeSearchModelBase\0pluginChanged\0"
    "\0searchAreaChanged\0limitChanged\0"
    "previousPagesAvailableChanged\0"
    "nextPagesAvailableChanged\0statusChanged\0"
    "queryFinished\0onContentUpdated\0"
    "pluginNameChanged\0update\0cancel\0reset\0"
    "errorString\0previousPage\0nextPage\0"
    "plugin\0QDeclarativeGeoServiceProvider*\0"
    "searchArea\0limit\0previousPagesAvailable\0"
    "nextPagesAvailable\0status\0Status\0Null\0"
    "Ready\0Loading\0Error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeSearchModelBase[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       6,  104, // properties
       1,  128, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    0,   90,    2, 0x06 /* Public */,
       4,    0,   91,    2, 0x06 /* Public */,
       5,    0,   92,    2, 0x06 /* Public */,
       6,    0,   93,    2, 0x06 /* Public */,
       7,    0,   94,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   95,    2, 0x09 /* Protected */,
       9,    0,   96,    2, 0x09 /* Protected */,
      10,    0,   97,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      11,    0,   98,    2, 0x02 /* Public */,
      12,    0,   99,    2, 0x02 /* Public */,
      13,    0,  100,    2, 0x02 /* Public */,
      14,    0,  101,    2, 0x02 /* Public */,
      15,    0,  102,    2, 0x02 /* Public */,
      16,    0,  103,    2, 0x02 /* Public */,

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

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

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

 // properties: name, type, flags
      17, 0x80000000 | 18, 0x0049510b,
      19, QMetaType::QVariant, 0x00495103,
      20, QMetaType::Int, 0x00495103,
      21, QMetaType::Bool, 0x00495001,
      22, QMetaType::Bool, 0x00495001,
      23, 0x80000000 | 24, 0x00495009,

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

 // enums: name, alias, flags, count, data
      24,   24, 0x0,    4,  133,

 // enum data: key, value
      25, uint(QDeclarativeSearchModelBase::Null),
      26, uint(QDeclarativeSearchModelBase::Ready),
      27, uint(QDeclarativeSearchModelBase::Loading),
      28, uint(QDeclarativeSearchModelBase::Error),

       0        // eod
};

void QDeclarativeSearchModelBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativeSearchModelBase *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->pluginChanged(); break;
        case 1: _t->searchAreaChanged(); break;
        case 2: _t->limitChanged(); break;
        case 3: _t->previousPagesAvailableChanged(); break;
        case 4: _t->nextPagesAvailableChanged(); break;
        case 5: _t->statusChanged(); break;
        case 6: _t->queryFinished(); break;
        case 7: _t->onContentUpdated(); break;
        case 8: _t->pluginNameChanged(); break;
        case 9: _t->update(); break;
        case 10: _t->cancel(); break;
        case 11: _t->reset(); break;
        case 12: { QString _r = _t->errorString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->previousPage(); break;
        case 14: _t->nextPage(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeclarativeSearchModelBase::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSearchModelBase::pluginChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSearchModelBase::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSearchModelBase::searchAreaChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSearchModelBase::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSearchModelBase::limitChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSearchModelBase::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSearchModelBase::previousPagesAvailableChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSearchModelBase::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSearchModelBase::nextPagesAvailableChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QDeclarativeSearchModelBase::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeSearchModelBase::statusChanged)) {
                *result = 5;
                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<QDeclarativeSearchModelBase *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v) = _t->plugin(); break;
        case 1: *reinterpret_cast< QVariant*>(_v) = _t->searchArea(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->limit(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->previousPagesAvailable(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->nextPagesAvailable(); break;
        case 5: *reinterpret_cast< Status*>(_v) = _t->status(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativeSearchModelBase *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPlugin(*reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v)); break;
        case 1: _t->setSearchArea(*reinterpret_cast< QVariant*>(_v)); break;
        case 2: _t->setLimit(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativeSearchModelBase::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_meta_stringdata_QDeclarativeSearchModelBase.data,
    qt_meta_data_QDeclarativeSearchModelBase,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QDeclarativeSearchModelBase::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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