/****************************************************************************
** Meta object code from reading C++ file 'websearchbar.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/websearchbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'websearchbar.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_WebSearchBar_t {
    QByteArrayData data[17];
    char stringdata0[232];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WebSearchBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WebSearchBar_t qt_meta_stringdata_WebSearchBar = {
    {
QT_MOC_LITERAL(0, 0, 12), // "WebSearchBar"
QT_MOC_LITERAL(1, 13, 13), // "searchChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 20), // "ButtonWithMenu::Item"
QT_MOC_LITERAL(4, 49, 4), // "item"
QT_MOC_LITERAL(5, 54, 12), // "setupEngines"
QT_MOC_LITERAL(6, 67, 6), // "search"
QT_MOC_LITERAL(7, 74, 14), // "searchInNewTab"
QT_MOC_LITERAL(8, 89, 15), // "aboutToShowMenu"
QT_MOC_LITERAL(9, 105, 23), // "openSearchEnginesDialog"
QT_MOC_LITERAL(10, 129, 23), // "enableSearchSuggestions"
QT_MOC_LITERAL(11, 153, 6), // "enable"
QT_MOC_LITERAL(12, 160, 14), // "addSuggestions"
QT_MOC_LITERAL(13, 175, 4), // "list"
QT_MOC_LITERAL(14, 180, 19), // "addEngineFromAction"
QT_MOC_LITERAL(15, 200, 10), // "pasteAndGo"
QT_MOC_LITERAL(16, 211, 20) // "instantSearchChanged"

    },
    "WebSearchBar\0searchChanged\0\0"
    "ButtonWithMenu::Item\0item\0setupEngines\0"
    "search\0searchInNewTab\0aboutToShowMenu\0"
    "openSearchEnginesDialog\0enableSearchSuggestions\0"
    "enable\0addSuggestions\0list\0"
    "addEngineFromAction\0pasteAndGo\0"
    "instantSearchChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WebSearchBar[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x08 /* Private */,
       5,    0,   72,    2, 0x08 /* Private */,
       6,    0,   73,    2, 0x08 /* Private */,
       7,    0,   74,    2, 0x08 /* Private */,
       8,    0,   75,    2, 0x08 /* Private */,
       9,    0,   76,    2, 0x08 /* Private */,
      10,    1,   77,    2, 0x08 /* Private */,
      12,    1,   80,    2, 0x08 /* Private */,
      14,    0,   83,    2, 0x08 /* Private */,
      15,    0,   84,    2, 0x08 /* Private */,
      16,    1,   85,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::QStringList,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void WebSearchBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WebSearchBar *_t = static_cast<WebSearchBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->searchChanged((*reinterpret_cast< const ButtonWithMenu::Item(*)>(_a[1]))); break;
        case 1: _t->setupEngines(); break;
        case 2: _t->search(); break;
        case 3: _t->searchInNewTab(); break;
        case 4: _t->aboutToShowMenu(); break;
        case 5: _t->openSearchEnginesDialog(); break;
        case 6: _t->enableSearchSuggestions((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->addSuggestions((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 8: _t->addEngineFromAction(); break;
        case 9: _t->pasteAndGo(); break;
        case 10: _t->instantSearchChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ButtonWithMenu::Item >(); break;
            }
            break;
        }
    }
}

const QMetaObject WebSearchBar::staticMetaObject = {
    { &LineEdit::staticMetaObject, qt_meta_stringdata_WebSearchBar.data,
      qt_meta_data_WebSearchBar,  qt_static_metacall, nullptr, nullptr}
};


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

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

int WebSearchBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = LineEdit::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
