/****************************************************************************
** Meta object code from reading C++ file 'opensearchengine.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/opensearch/opensearchengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'opensearchengine.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_OpenSearchEngine_t {
    QByteArrayData data[23];
    char stringdata0[346];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_OpenSearchEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_OpenSearchEngine_t qt_meta_stringdata_OpenSearchEngine = {
    {
QT_MOC_LITERAL(0, 0, 16), // "OpenSearchEngine"
QT_MOC_LITERAL(1, 17, 12), // "imageChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 11), // "suggestions"
QT_MOC_LITERAL(4, 43, 18), // "requestSuggestions"
QT_MOC_LITERAL(5, 62, 10), // "searchTerm"
QT_MOC_LITERAL(6, 73, 20), // "requestSearchResults"
QT_MOC_LITERAL(7, 94, 13), // "imageObtained"
QT_MOC_LITERAL(8, 108, 19), // "suggestionsObtained"
QT_MOC_LITERAL(9, 128, 4), // "name"
QT_MOC_LITERAL(10, 133, 11), // "description"
QT_MOC_LITERAL(11, 145, 17), // "searchUrlTemplate"
QT_MOC_LITERAL(12, 163, 16), // "searchParameters"
QT_MOC_LITERAL(13, 180, 10), // "Parameters"
QT_MOC_LITERAL(14, 191, 12), // "searchMethod"
QT_MOC_LITERAL(15, 204, 22), // "suggestionsUrlTemplate"
QT_MOC_LITERAL(16, 227, 21), // "suggestionsParameters"
QT_MOC_LITERAL(17, 249, 17), // "suggestionsMethod"
QT_MOC_LITERAL(18, 267, 19), // "providesSuggestions"
QT_MOC_LITERAL(19, 287, 8), // "imageUrl"
QT_MOC_LITERAL(20, 296, 5), // "valid"
QT_MOC_LITERAL(21, 302, 20), // "networkAccessManager"
QT_MOC_LITERAL(22, 323, 22) // "QNetworkAccessManager*"

    },
    "OpenSearchEngine\0imageChanged\0\0"
    "suggestions\0requestSuggestions\0"
    "searchTerm\0requestSearchResults\0"
    "imageObtained\0suggestionsObtained\0"
    "name\0description\0searchUrlTemplate\0"
    "searchParameters\0Parameters\0searchMethod\0"
    "suggestionsUrlTemplate\0suggestionsParameters\0"
    "suggestionsMethod\0providesSuggestions\0"
    "imageUrl\0valid\0networkAccessManager\0"
    "QNetworkAccessManager*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_OpenSearchEngine[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    1,   45,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   48,    2, 0x0a /* Public */,
       6,    1,   51,    2, 0x0a /* Public */,
       7,    0,   54,    2, 0x08 /* Private */,
       8,    0,   55,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       9, QMetaType::QString, 0x00095103,
      10, QMetaType::QString, 0x00095103,
      11, QMetaType::QString, 0x00095103,
      12, 0x80000000 | 13, 0x0009510b,
      14, QMetaType::QString, 0x00095103,
      15, QMetaType::QString, 0x00095103,
      16, 0x80000000 | 13, 0x0009510b,
      17, QMetaType::QString, 0x00095103,
      18, QMetaType::Bool, 0x00095001,
      19, QMetaType::QString, 0x00095103,
      20, QMetaType::Bool, 0x00095001,
      21, 0x80000000 | 22, 0x0009510b,

       0        // eod
};

void OpenSearchEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        OpenSearchEngine *_t = static_cast<OpenSearchEngine *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->imageChanged(); break;
        case 1: _t->suggestions((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 2: _t->requestSuggestions((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->requestSearchResults((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->imageObtained(); break;
        case 5: _t->suggestionsObtained(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (OpenSearchEngine::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OpenSearchEngine::imageChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (OpenSearchEngine::*_t)(const QStringList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OpenSearchEngine::suggestions)) {
                *result = 1;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkAccessManager* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        OpenSearchEngine *_t = static_cast<OpenSearchEngine *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->description(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->searchUrlTemplate(); break;
        case 3: *reinterpret_cast< Parameters*>(_v) = _t->searchParameters(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->searchMethod(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->suggestionsUrlTemplate(); break;
        case 6: *reinterpret_cast< Parameters*>(_v) = _t->suggestionsParameters(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->suggestionsMethod(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->providesSuggestions(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->imageUrl(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->isValid(); break;
        case 11: *reinterpret_cast< QNetworkAccessManager**>(_v) = _t->networkAccessManager(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        OpenSearchEngine *_t = static_cast<OpenSearchEngine *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setDescription(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setSearchUrlTemplate(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setSearchParameters(*reinterpret_cast< Parameters*>(_v)); break;
        case 4: _t->setSearchMethod(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setSuggestionsUrlTemplate(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setSuggestionsParameters(*reinterpret_cast< Parameters*>(_v)); break;
        case 7: _t->setSuggestionsMethod(*reinterpret_cast< QString*>(_v)); break;
        case 9: _t->setImageUrl(*reinterpret_cast< QString*>(_v)); break;
        case 11: _t->setNetworkAccessManager(*reinterpret_cast< QNetworkAccessManager**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject OpenSearchEngine::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_OpenSearchEngine.data,
      qt_meta_data_OpenSearchEngine,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void OpenSearchEngine::suggestions(const QStringList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
