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

#include "../../../../../src/qtlocation-opensource-src-5.4.2/src/imports/location/declarativeplaces/qdeclarativesearchresultmodel_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativesearchresultmodel_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_QDeclarativeSearchResultModel_t {
    QByteArrayData data[42];
    char stringdata[710];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeSearchResultModel_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeSearchResultModel_t qt_meta_stringdata_QDeclarativeSearchResultModel = {
    {
QT_MOC_LITERAL(0, 0, 29), // "QDeclarativeSearchResultModel"
QT_MOC_LITERAL(1, 30, 17), // "searchTermChanged"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 17), // "categoriesChanged"
QT_MOC_LITERAL(4, 67, 23), // "recommendationIdChanged"
QT_MOC_LITERAL(5, 91, 20), // "relevanceHintChanged"
QT_MOC_LITERAL(6, 112, 22), // "visibilityScopeChanged"
QT_MOC_LITERAL(7, 135, 15), // "rowCountChanged"
QT_MOC_LITERAL(8, 151, 22), // "favoritesPluginChanged"
QT_MOC_LITERAL(9, 174, 31), // "favoritesMatchParametersChanged"
QT_MOC_LITERAL(10, 206, 11), // "dataChanged"
QT_MOC_LITERAL(11, 218, 13), // "queryFinished"
QT_MOC_LITERAL(12, 232, 12), // "updateLayout"
QT_MOC_LITERAL(13, 245, 13), // "QList<QPlace>"
QT_MOC_LITERAL(14, 259, 14), // "favoritePlaces"
QT_MOC_LITERAL(15, 274, 12), // "placeUpdated"
QT_MOC_LITERAL(16, 287, 7), // "placeId"
QT_MOC_LITERAL(17, 295, 12), // "placeRemoved"
QT_MOC_LITERAL(18, 308, 4), // "data"
QT_MOC_LITERAL(19, 313, 5), // "index"
QT_MOC_LITERAL(20, 319, 8), // "roleName"
QT_MOC_LITERAL(21, 328, 10), // "updateWith"
QT_MOC_LITERAL(22, 339, 19), // "proposedSearchIndex"
QT_MOC_LITERAL(23, 359, 10), // "searchTerm"
QT_MOC_LITERAL(24, 370, 10), // "categories"
QT_MOC_LITERAL(25, 381, 38), // "QQmlListProperty<QDeclarative..."
QT_MOC_LITERAL(26, 420, 16), // "recommendationId"
QT_MOC_LITERAL(27, 437, 13), // "relevanceHint"
QT_MOC_LITERAL(28, 451, 13), // "RelevanceHint"
QT_MOC_LITERAL(29, 465, 15), // "visibilityScope"
QT_MOC_LITERAL(30, 481, 29), // "QDeclarativePlace::Visibility"
QT_MOC_LITERAL(31, 511, 5), // "count"
QT_MOC_LITERAL(32, 517, 15), // "favoritesPlugin"
QT_MOC_LITERAL(33, 533, 31), // "QDeclarativeGeoServiceProvider*"
QT_MOC_LITERAL(34, 565, 24), // "favoritesMatchParameters"
QT_MOC_LITERAL(35, 590, 16), // "SearchResultType"
QT_MOC_LITERAL(36, 607, 19), // "UnknownSearchResult"
QT_MOC_LITERAL(37, 627, 11), // "PlaceResult"
QT_MOC_LITERAL(38, 639, 20), // "ProposedSearchResult"
QT_MOC_LITERAL(39, 660, 15), // "UnspecifiedHint"
QT_MOC_LITERAL(40, 676, 12), // "DistanceHint"
QT_MOC_LITERAL(41, 689, 20) // "LexicalPlaceNameHint"

    },
    "QDeclarativeSearchResultModel\0"
    "searchTermChanged\0\0categoriesChanged\0"
    "recommendationIdChanged\0relevanceHintChanged\0"
    "visibilityScopeChanged\0rowCountChanged\0"
    "favoritesPluginChanged\0"
    "favoritesMatchParametersChanged\0"
    "dataChanged\0queryFinished\0updateLayout\0"
    "QList<QPlace>\0favoritePlaces\0placeUpdated\0"
    "placeId\0placeRemoved\0data\0index\0"
    "roleName\0updateWith\0proposedSearchIndex\0"
    "searchTerm\0categories\0"
    "QQmlListProperty<QDeclarativeCategory>\0"
    "recommendationId\0relevanceHint\0"
    "RelevanceHint\0visibilityScope\0"
    "QDeclarativePlace::Visibility\0count\0"
    "favoritesPlugin\0QDeclarativeGeoServiceProvider*\0"
    "favoritesMatchParameters\0SearchResultType\0"
    "UnknownSearchResult\0PlaceResult\0"
    "ProposedSearchResult\0UnspecifiedHint\0"
    "DistanceHint\0LexicalPlaceNameHint"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeSearchResultModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       8,  122, // properties
       2,  154, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    0,   95,    2, 0x06 /* Public */,
       4,    0,   96,    2, 0x06 /* Public */,
       5,    0,   97,    2, 0x06 /* Public */,
       6,    0,   98,    2, 0x06 /* Public */,
       7,    0,   99,    2, 0x06 /* Public */,
       8,    0,  100,    2, 0x06 /* Public */,
       9,    0,  101,    2, 0x06 /* Public */,
      10,    0,  102,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  103,    2, 0x09 /* Protected */,
      12,    1,  104,    2, 0x08 /* Private */,
      12,    0,  107,    2, 0x28 /* Private | MethodCloned */,
      15,    1,  108,    2, 0x08 /* Private */,
      17,    1,  111,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      18,    2,  114,    2, 0x02 /* Public */,
      21,    1,  119,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString,   16,

 // methods: parameters
    QMetaType::QVariant, QMetaType::Int, QMetaType::QString,   19,   20,
    QMetaType::Void, QMetaType::Int,   22,

 // properties: name, type, flags
      23, QMetaType::QString, 0x00495103,
      24, 0x80000000 | 25, 0x00495009,
      26, QMetaType::QString, 0x00495103,
      27, 0x80000000 | 28, 0x0049510b,
      29, 0x80000000 | 30, 0x0049510b,
      31, QMetaType::Int, 0x00495001,
      32, 0x80000000 | 33, 0x0049510b,
      34, QMetaType::QVariantMap, 0x00495103,

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

 // enums: name, flags, count, data
      35, 0x0,    3,  162,
      28, 0x0,    3,  168,

 // enum data: key, value
      36, uint(QDeclarativeSearchResultModel::UnknownSearchResult),
      37, uint(QDeclarativeSearchResultModel::PlaceResult),
      38, uint(QDeclarativeSearchResultModel::ProposedSearchResult),
      39, uint(QDeclarativeSearchResultModel::UnspecifiedHint),
      40, uint(QDeclarativeSearchResultModel::DistanceHint),
      41, uint(QDeclarativeSearchResultModel::LexicalPlaceNameHint),

       0        // eod
};

void QDeclarativeSearchResultModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QDeclarativeSearchResultModel *_t = static_cast<QDeclarativeSearchResultModel *>(_o);
        switch (_id) {
        case 0: _t->searchTermChanged(); break;
        case 1: _t->categoriesChanged(); break;
        case 2: _t->recommendationIdChanged(); break;
        case 3: _t->relevanceHintChanged(); break;
        case 4: _t->visibilityScopeChanged(); break;
        case 5: _t->rowCountChanged(); break;
        case 6: _t->favoritesPluginChanged(); break;
        case 7: _t->favoritesMatchParametersChanged(); break;
        case 8: _t->dataChanged(); break;
        case 9: _t->queryFinished(); break;
        case 10: _t->updateLayout((*reinterpret_cast< const QList<QPlace>(*)>(_a[1]))); break;
        case 11: _t->updateLayout(); break;
        case 12: _t->placeUpdated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->placeRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: { QVariant _r = _t->data((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 15: _t->updateWith((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QPlace> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::searchTermChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::categoriesChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::recommendationIdChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::relevanceHintChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::visibilityScopeChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::rowCountChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::favoritesPluginChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::favoritesMatchParametersChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (QDeclarativeSearchResultModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDeclarativeSearchResultModel::dataChanged)) {
                *result = 8;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeGeoServiceProvider* >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QDeclarativeCategory> >(); break;
        }
    }

}

static const QMetaObject * const qt_meta_extradata_QDeclarativeSearchResultModel[] = {
        &QDeclarativePlace::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject QDeclarativeSearchResultModel::staticMetaObject = {
    { &QDeclarativeSearchModelBase::staticMetaObject, qt_meta_stringdata_QDeclarativeSearchResultModel.data,
      qt_meta_data_QDeclarativeSearchResultModel,  qt_static_metacall, qt_meta_extradata_QDeclarativeSearchResultModel, Q_NULLPTR}
};


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

void *QDeclarativeSearchResultModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QDeclarativeSearchResultModel.stringdata))
        return static_cast<void*>(const_cast< QDeclarativeSearchResultModel*>(this));
    return QDeclarativeSearchModelBase::qt_metacast(_clname);
}

int QDeclarativeSearchResultModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDeclarativeSearchModelBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = searchTerm(); break;
        case 1: *reinterpret_cast< QQmlListProperty<QDeclarativeCategory>*>(_v) = categories(); break;
        case 2: *reinterpret_cast< QString*>(_v) = recommendationId(); break;
        case 3: *reinterpret_cast< RelevanceHint*>(_v) = relevanceHint(); break;
        case 4: *reinterpret_cast< QDeclarativePlace::Visibility*>(_v) = visibilityScope(); break;
        case 5: *reinterpret_cast< int*>(_v) = rowCount(); break;
        case 6: *reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v) = favoritesPlugin(); break;
        case 7: *reinterpret_cast< QVariantMap*>(_v) = favoritesMatchParameters(); break;
        default: break;
        }
        _id -= 8;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSearchTerm(*reinterpret_cast< QString*>(_v)); break;
        case 2: setRecommendationId(*reinterpret_cast< QString*>(_v)); break;
        case 3: setRelevanceHint(*reinterpret_cast< RelevanceHint*>(_v)); break;
        case 4: setVisibilityScope(*reinterpret_cast< QDeclarativePlace::Visibility*>(_v)); break;
        case 6: setFavoritesPlugin(*reinterpret_cast< QDeclarativeGeoServiceProvider**>(_v)); break;
        case 7: setFavoritesMatchParameters(*reinterpret_cast< QVariantMap*>(_v)); break;
        default: break;
        }
        _id -= 8;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QDeclarativeSearchResultModel::searchTermChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void QDeclarativeSearchResultModel::categoriesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void QDeclarativeSearchResultModel::recommendationIdChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void QDeclarativeSearchResultModel::relevanceHintChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void QDeclarativeSearchResultModel::visibilityScopeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void QDeclarativeSearchResultModel::rowCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void QDeclarativeSearchResultModel::favoritesPluginChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void QDeclarativeSearchResultModel::favoritesMatchParametersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void QDeclarativeSearchResultModel::dataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
