/****************************************************************************
** Meta object code from reading C++ file 'searchbar.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/konqueror-17.12.3/plugins/searchbar/searchbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'searchbar.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_SearchBarCombo_t {
    QByteArrayData data[9];
    char stringdata0[98];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SearchBarCombo_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SearchBarCombo_t qt_meta_stringdata_SearchBarCombo = {
    {
QT_MOC_LITERAL(0, 0, 14), // "SearchBarCombo"
QT_MOC_LITERAL(1, 15, 11), // "iconClicked"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 17), // "suggestionEnabled"
QT_MOC_LITERAL(4, 46, 6), // "enable"
QT_MOC_LITERAL(5, 53, 14), // "historyCleared"
QT_MOC_LITERAL(6, 68, 17), // "addEnableMenuItem"
QT_MOC_LITERAL(7, 86, 6), // "QMenu*"
QT_MOC_LITERAL(8, 93, 4) // "menu"

    },
    "SearchBarCombo\0iconClicked\0\0"
    "suggestionEnabled\0enable\0historyCleared\0"
    "addEnableMenuItem\0QMenu*\0menu"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SearchBarCombo[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    0,   38,    2, 0x08 /* Private */,
       6,    1,   39,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,

       0        // eod
};

void SearchBarCombo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SearchBarCombo *_t = static_cast<SearchBarCombo *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->iconClicked(); break;
        case 1: _t->suggestionEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->historyCleared(); break;
        case 3: _t->addEnableMenuItem((*reinterpret_cast< QMenu*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SearchBarCombo::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchBarCombo::iconClicked)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SearchBarCombo::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchBarCombo::suggestionEnabled)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject SearchBarCombo::staticMetaObject = {
    { &KHistoryComboBox::staticMetaObject, qt_meta_stringdata_SearchBarCombo.data,
      qt_meta_data_SearchBarCombo,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SearchBarCombo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KHistoryComboBox::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}

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

// SIGNAL 1
void SearchBarCombo::suggestionEnabled(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_SearchBarPlugin_t {
    QByteArrayData data[29];
    char stringdata0[409];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SearchBarPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SearchBarPlugin_t qt_meta_stringdata_SearchBarPlugin = {
    {
QT_MOC_LITERAL(0, 0, 15), // "SearchBarPlugin"
QT_MOC_LITERAL(1, 16, 11), // "startSearch"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 6), // "search"
QT_MOC_LITERAL(4, 36, 7), // "setIcon"
QT_MOC_LITERAL(5, 44, 17), // "showSelectionMenu"
QT_MOC_LITERAL(6, 62, 17), // "useFindInThisPage"
QT_MOC_LITERAL(7, 80, 19), // "menuActionTriggered"
QT_MOC_LITERAL(8, 100, 8), // "QAction*"
QT_MOC_LITERAL(9, 109, 19), // "selectSearchEngines"
QT_MOC_LITERAL(10, 129, 20), // "configurationChanged"
QT_MOC_LITERAL(11, 150, 19), // "reloadConfiguration"
QT_MOC_LITERAL(12, 170, 21), // "updateComboVisibility"
QT_MOC_LITERAL(13, 192, 14), // "focusSearchbar"
QT_MOC_LITERAL(14, 207, 17), // "searchTextChanged"
QT_MOC_LITERAL(15, 225, 4), // "text"
QT_MOC_LITERAL(16, 230, 19), // "addSearchSuggestion"
QT_MOC_LITERAL(17, 250, 10), // "suggestion"
QT_MOC_LITERAL(18, 261, 17), // "requestSuggestion"
QT_MOC_LITERAL(19, 279, 16), // "enableSuggestion"
QT_MOC_LITERAL(20, 296, 6), // "enable"
QT_MOC_LITERAL(21, 303, 18), // "HTMLLoadingStarted"
QT_MOC_LITERAL(22, 322, 13), // "HTMLDocLoaded"
QT_MOC_LITERAL(23, 336, 21), // "openSearchEngineAdded"
QT_MOC_LITERAL(24, 358, 4), // "name"
QT_MOC_LITERAL(25, 363, 9), // "searchUrl"
QT_MOC_LITERAL(26, 373, 8), // "fileName"
QT_MOC_LITERAL(27, 382, 14), // "webShortcutSet"
QT_MOC_LITERAL(28, 397, 11) // "webShortcut"

    },
    "SearchBarPlugin\0startSearch\0\0search\0"
    "setIcon\0showSelectionMenu\0useFindInThisPage\0"
    "menuActionTriggered\0QAction*\0"
    "selectSearchEngines\0configurationChanged\0"
    "reloadConfiguration\0updateComboVisibility\0"
    "focusSearchbar\0searchTextChanged\0text\0"
    "addSearchSuggestion\0suggestion\0"
    "requestSuggestion\0enableSuggestion\0"
    "enable\0HTMLLoadingStarted\0HTMLDocLoaded\0"
    "openSearchEngineAdded\0name\0searchUrl\0"
    "fileName\0webShortcutSet\0webShortcut"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SearchBarPlugin[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x08 /* Private */,
       4,    0,  107,    2, 0x08 /* Private */,
       5,    0,  108,    2, 0x08 /* Private */,
       6,    0,  109,    2, 0x08 /* Private */,
       7,    1,  110,    2, 0x08 /* Private */,
       9,    0,  113,    2, 0x08 /* Private */,
      10,    0,  114,    2, 0x08 /* Private */,
      11,    0,  115,    2, 0x08 /* Private */,
      12,    0,  116,    2, 0x08 /* Private */,
      13,    0,  117,    2, 0x08 /* Private */,
      14,    1,  118,    2, 0x08 /* Private */,
      16,    1,  121,    2, 0x08 /* Private */,
      18,    0,  124,    2, 0x08 /* Private */,
      19,    1,  125,    2, 0x08 /* Private */,
      21,    0,  128,    2, 0x08 /* Private */,
      22,    0,  129,    2, 0x08 /* Private */,
      23,    3,  130,    2, 0x08 /* Private */,
      27,    3,  137,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::QStringList,   17,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   24,   25,   26,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   24,   28,   26,

       0        // eod
};

void SearchBarPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SearchBarPlugin *_t = static_cast<SearchBarPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->startSearch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->setIcon(); break;
        case 2: _t->showSelectionMenu(); break;
        case 3: _t->useFindInThisPage(); break;
        case 4: _t->menuActionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 5: _t->selectSearchEngines(); break;
        case 6: _t->configurationChanged(); break;
        case 7: _t->reloadConfiguration(); break;
        case 8: _t->updateComboVisibility(); break;
        case 9: _t->focusSearchbar(); break;
        case 10: _t->searchTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->addSearchSuggestion((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 12: _t->requestSuggestion(); break;
        case 13: _t->enableSuggestion((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->HTMLLoadingStarted(); break;
        case 15: _t->HTMLDocLoaded(); break;
        case 16: _t->openSearchEngineAdded((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 17: _t->webShortcutSet((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObject SearchBarPlugin::staticMetaObject = {
    { &KParts::Plugin::staticMetaObject, qt_meta_stringdata_SearchBarPlugin.data,
      qt_meta_data_SearchBarPlugin,  qt_static_metacall, nullptr, nullptr}
};


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

void *SearchBarPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_SearchBarPlugin.stringdata0))
        return static_cast<void*>(this);
    return KParts::Plugin::qt_metacast(_clname);
}

int SearchBarPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KParts::Plugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 18;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
