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

#include "../src/lib/navigation/completer/locationcompleter.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'locationcompleter.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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_LocationCompleter_t {
    QByteArrayData data[20];
    char stringdata0[289];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LocationCompleter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LocationCompleter_t qt_meta_stringdata_LocationCompleter = {
    {
QT_MOC_LITERAL(0, 0, 17), // "LocationCompleter"
QT_MOC_LITERAL(1, 18, 14), // "showCompletion"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 10), // "completion"
QT_MOC_LITERAL(4, 45, 20), // "showDomainCompletion"
QT_MOC_LITERAL(5, 66, 14), // "loadCompletion"
QT_MOC_LITERAL(6, 81, 15), // "clearCompletion"
QT_MOC_LITERAL(7, 97, 11), // "popupClosed"
QT_MOC_LITERAL(8, 109, 16), // "cancelRefreshJob"
QT_MOC_LITERAL(9, 126, 8), // "complete"
QT_MOC_LITERAL(10, 135, 6), // "string"
QT_MOC_LITERAL(11, 142, 15), // "showMostVisited"
QT_MOC_LITERAL(12, 158, 18), // "refreshJobFinished"
QT_MOC_LITERAL(13, 177, 15), // "slotPopupClosed"
QT_MOC_LITERAL(14, 193, 14), // "currentChanged"
QT_MOC_LITERAL(15, 208, 5), // "index"
QT_MOC_LITERAL(16, 214, 14), // "indexActivated"
QT_MOC_LITERAL(17, 229, 18), // "indexCtrlActivated"
QT_MOC_LITERAL(18, 248, 19), // "indexShiftActivated"
QT_MOC_LITERAL(19, 268, 20) // "indexDeleteRequested"

    },
    "LocationCompleter\0showCompletion\0\0"
    "completion\0showDomainCompletion\0"
    "loadCompletion\0clearCompletion\0"
    "popupClosed\0cancelRefreshJob\0complete\0"
    "string\0showMostVisited\0refreshJobFinished\0"
    "slotPopupClosed\0currentChanged\0index\0"
    "indexActivated\0indexCtrlActivated\0"
    "indexShiftActivated\0indexDeleteRequested"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LocationCompleter[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       4,    1,   92,    2, 0x06 /* Public */,
       5,    0,   95,    2, 0x06 /* Public */,
       6,    0,   96,    2, 0x06 /* Public */,
       7,    0,   97,    2, 0x06 /* Public */,
       8,    0,   98,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,   99,    2, 0x0a /* Public */,
      11,    0,  102,    2, 0x0a /* Public */,
      12,    0,  103,    2, 0x08 /* Private */,
      13,    0,  104,    2, 0x08 /* Private */,
      14,    1,  105,    2, 0x08 /* Private */,
      16,    1,  108,    2, 0x08 /* Private */,
      17,    1,  111,    2, 0x08 /* Private */,
      18,    1,  114,    2, 0x08 /* Private */,
      19,    1,  117,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   15,
    QMetaType::Void, QMetaType::QModelIndex,   15,
    QMetaType::Void, QMetaType::QModelIndex,   15,
    QMetaType::Void, QMetaType::QModelIndex,   15,
    QMetaType::Void, QMetaType::QModelIndex,   15,

       0        // eod
};

void LocationCompleter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        LocationCompleter *_t = static_cast<LocationCompleter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->showCompletion((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->showDomainCompletion((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->loadCompletion(); break;
        case 3: _t->clearCompletion(); break;
        case 4: _t->popupClosed(); break;
        case 5: _t->cancelRefreshJob(); break;
        case 6: _t->complete((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->showMostVisited(); break;
        case 8: _t->refreshJobFinished(); break;
        case 9: _t->slotPopupClosed(); break;
        case 10: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 11: _t->indexActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 12: _t->indexCtrlActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 13: _t->indexShiftActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 14: _t->indexDeleteRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (LocationCompleter::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LocationCompleter::showCompletion)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (LocationCompleter::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LocationCompleter::showDomainCompletion)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (LocationCompleter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LocationCompleter::loadCompletion)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (LocationCompleter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LocationCompleter::clearCompletion)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (LocationCompleter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LocationCompleter::popupClosed)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (LocationCompleter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&LocationCompleter::cancelRefreshJob)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject LocationCompleter::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_LocationCompleter.data,
      qt_meta_data_LocationCompleter,  qt_static_metacall, nullptr, nullptr}
};


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

void *LocationCompleter::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_LocationCompleter.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int LocationCompleter::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 < 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;
    }
    return _id;
}

// SIGNAL 0
void LocationCompleter::showCompletion(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void LocationCompleter::showDomainCompletion(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

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

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