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

#include "../../../../../src/marble-17.04.3/src/lib/marble/declarative/SearchBackend.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SearchBackend.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_Marble__SearchBackend_t {
    QByteArrayData data[24];
    char stringdata0[370];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__SearchBackend_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__SearchBackend_t qt_meta_stringdata_Marble__SearchBackend = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Marble::SearchBackend"
QT_MOC_LITERAL(1, 22, 22), // "marbleQuickItemChanged"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 15), // "marbleQuickItem"
QT_MOC_LITERAL(4, 62, 22), // "completionModelChanged"
QT_MOC_LITERAL(5, 85, 21), // "MarblePlacemarkModel*"
QT_MOC_LITERAL(6, 107, 5), // "model"
QT_MOC_LITERAL(7, 113, 19), // "searchResultChanged"
QT_MOC_LITERAL(8, 133, 14), // "searchFinished"
QT_MOC_LITERAL(9, 148, 10), // "searchTerm"
QT_MOC_LITERAL(10, 159, 24), // "selectedPlacemarkChanged"
QT_MOC_LITERAL(11, 184, 10), // "Placemark*"
QT_MOC_LITERAL(12, 195, 17), // "selectedPlacemark"
QT_MOC_LITERAL(13, 213, 20), // "setSelectedPlacemark"
QT_MOC_LITERAL(14, 234, 14), // "placemarkIndex"
QT_MOC_LITERAL(15, 249, 18), // "setMarbleQuickItem"
QT_MOC_LITERAL(16, 268, 18), // "updateSearchResult"
QT_MOC_LITERAL(17, 287, 19), // "QAbstractItemModel*"
QT_MOC_LITERAL(18, 307, 6), // "result"
QT_MOC_LITERAL(19, 314, 6), // "search"
QT_MOC_LITERAL(20, 321, 5), // "place"
QT_MOC_LITERAL(21, 327, 19), // "setCompletionPrefix"
QT_MOC_LITERAL(22, 347, 6), // "prefix"
QT_MOC_LITERAL(23, 354, 15) // "completionModel"

    },
    "Marble::SearchBackend\0marbleQuickItemChanged\0"
    "\0marbleQuickItem\0completionModelChanged\0"
    "MarblePlacemarkModel*\0model\0"
    "searchResultChanged\0searchFinished\0"
    "searchTerm\0selectedPlacemarkChanged\0"
    "Placemark*\0selectedPlacemark\0"
    "setSelectedPlacemark\0placemarkIndex\0"
    "setMarbleQuickItem\0updateSearchResult\0"
    "QAbstractItemModel*\0result\0search\0"
    "place\0setCompletionPrefix\0prefix\0"
    "completionModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__SearchBackend[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       3,   94, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       4,    1,   67,    2, 0x06 /* Public */,
       7,    1,   70,    2, 0x06 /* Public */,
       8,    1,   73,    2, 0x06 /* Public */,
      10,    1,   76,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,   79,    2, 0x0a /* Public */,
      15,    1,   82,    2, 0x0a /* Public */,
      16,    1,   85,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      19,    1,   88,    2, 0x02 /* Public */,
      21,    1,   91,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QObjectStar,    3,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, 0x80000000 | 11,   12,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::QObjectStar,    3,
    QMetaType::Void, 0x80000000 | 17,   18,

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

 // properties: name, type, flags
       3, QMetaType::QObjectStar, 0x00495103,
      23, 0x80000000 | 5, 0x00495009,
      12, 0x80000000 | 11, 0x00495009,

 // properties: notify_signal_id
       0,
       1,
       4,

       0        // eod
};

void Marble::SearchBackend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SearchBackend *_t = static_cast<SearchBackend *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->marbleQuickItemChanged((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 1: _t->completionModelChanged((*reinterpret_cast< MarblePlacemarkModel*(*)>(_a[1]))); break;
        case 2: _t->searchResultChanged((*reinterpret_cast< MarblePlacemarkModel*(*)>(_a[1]))); break;
        case 3: _t->searchFinished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->selectedPlacemarkChanged((*reinterpret_cast< Placemark*(*)>(_a[1]))); break;
        case 5: _t->setSelectedPlacemark((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setMarbleQuickItem((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 7: _t->updateSearchResult((*reinterpret_cast< QAbstractItemModel*(*)>(_a[1]))); break;
        case 8: _t->search((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setCompletionPrefix((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MarblePlacemarkModel* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MarblePlacemarkModel* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Placemark* >(); 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< QAbstractItemModel* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SearchBackend::*_t)(QObject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchBackend::marbleQuickItemChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SearchBackend::*_t)(MarblePlacemarkModel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchBackend::completionModelChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SearchBackend::*_t)(MarblePlacemarkModel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchBackend::searchResultChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (SearchBackend::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchBackend::searchFinished)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (SearchBackend::*_t)(Placemark * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchBackend::selectedPlacemarkChanged)) {
                *result = 4;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MarblePlacemarkModel* >(); break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Placemark* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SearchBackend *_t = static_cast<SearchBackend *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = _t->marbleQuickItem(); break;
        case 1: *reinterpret_cast< MarblePlacemarkModel**>(_v) = _t->completionModel(); break;
        case 2: *reinterpret_cast< Placemark**>(_v) = _t->selectedPlacemark(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SearchBackend *_t = static_cast<SearchBackend *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMarbleQuickItem(*reinterpret_cast< QObject**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::SearchBackend::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__SearchBackend.data,
      qt_meta_data_Marble__SearchBackend,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Marble::SearchBackend::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__SearchBackend.stringdata0))
        return static_cast<void*>(const_cast< SearchBackend*>(this));
    return QObject::qt_metacast(_clname);
}

int Marble::SearchBackend::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
#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 Marble::SearchBackend::marbleQuickItemChanged(QObject * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Marble::SearchBackend::completionModelChanged(MarblePlacemarkModel * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Marble::SearchBackend::searchResultChanged(MarblePlacemarkModel * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Marble::SearchBackend::searchFinished(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Marble::SearchBackend::selectedPlacemarkChanged(Placemark * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
