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

#include "../../src/lokalize-17.12.3/src/webquery/webquerycontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'webquerycontroller.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_WebQueryController_t {
    QByteArrayData data[19];
    char stringdata0[194];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WebQueryController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WebQueryController_t qt_meta_stringdata_WebQueryController = {
    {
QT_MOC_LITERAL(0, 0, 18), // "WebQueryController"
QT_MOC_LITERAL(1, 19, 17), // "addWebQueryResult"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 7), // "doQuery"
QT_MOC_LITERAL(4, 46, 11), // "postProcess"
QT_MOC_LITERAL(5, 58, 5), // "query"
QT_MOC_LITERAL(6, 64, 11), // "CatalogData"
QT_MOC_LITERAL(7, 76, 4), // "data"
QT_MOC_LITERAL(8, 81, 18), // "slotDownloadResult"
QT_MOC_LITERAL(9, 100, 5), // "KJob*"
QT_MOC_LITERAL(10, 106, 3), // "msg"
QT_MOC_LITERAL(11, 110, 8), // "filePath"
QT_MOC_LITERAL(12, 119, 19), // "setTwinLangFilePath"
QT_MOC_LITERAL(13, 139, 11), // "twinLangMsg"
QT_MOC_LITERAL(14, 151, 19), // "doDownloadAndFilter"
QT_MOC_LITERAL(15, 171, 3), // "url"
QT_MOC_LITERAL(16, 175, 5), // "codec"
QT_MOC_LITERAL(17, 181, 2), // "rx"
QT_MOC_LITERAL(18, 184, 9) // "setResult"

    },
    "WebQueryController\0addWebQueryResult\0"
    "\0doQuery\0postProcess\0query\0CatalogData\0"
    "data\0slotDownloadResult\0KJob*\0msg\0"
    "filePath\0setTwinLangFilePath\0twinLangMsg\0"
    "doDownloadAndFilter\0url\0codec\0rx\0"
    "setResult"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WebQueryController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   69,    2, 0x06 /* Public */,
       3,    0,   74,    2, 0x06 /* Public */,
       4,    1,   75,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   78,    2, 0x0a /* Public */,
       8,    1,   81,    2, 0x0a /* Public */,
      10,    0,   84,    2, 0x0a /* Public */,
      11,    0,   85,    2, 0x0a /* Public */,
      12,    1,   86,    2, 0x0a /* Public */,
      13,    0,   89,    2, 0x0a /* Public */,
      14,    3,   90,    2, 0x0a /* Public */,
      18,    1,   97,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   15,   16,   17,
    QMetaType::Void, QMetaType::QString,    2,

       0        // eod
};

void WebQueryController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WebQueryController *_t = static_cast<WebQueryController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addWebQueryResult((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->doQuery(); break;
        case 2: _t->postProcess((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: _t->query((*reinterpret_cast< const CatalogData(*)>(_a[1]))); break;
        case 4: _t->slotDownloadResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 5: { QString _r = _t->msg();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 6: { QString _r = _t->filePath();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setTwinLangFilePath((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 8: { QString _r = _t->twinLangMsg();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->doDownloadAndFilter((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 10: _t->setResult((*reinterpret_cast< QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (WebQueryController::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WebQueryController::addWebQueryResult)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (WebQueryController::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WebQueryController::doQuery)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (WebQueryController::*_t)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WebQueryController::postProcess)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject WebQueryController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_WebQueryController.data,
      qt_meta_data_WebQueryController,  qt_static_metacall, nullptr, nullptr}
};


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

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

int WebQueryController::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

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

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

// SIGNAL 2
void WebQueryController::postProcess(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
