/****************************************************************************
** Meta object code from reading C++ file 'historymanager.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/history/historymanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'historymanager.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_HistoryManager_t {
    QByteArrayData data[17];
    char stringdata0[208];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_HistoryManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_HistoryManager_t qt_meta_stringdata_HistoryManager = {
    {
QT_MOC_LITERAL(0, 0, 14), // "HistoryManager"
QT_MOC_LITERAL(1, 15, 6), // "search"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 10), // "searchText"
QT_MOC_LITERAL(4, 34, 12), // "urlActivated"
QT_MOC_LITERAL(5, 47, 3), // "url"
QT_MOC_LITERAL(6, 51, 16), // "urlCtrlActivated"
QT_MOC_LITERAL(7, 68, 17), // "urlShiftActivated"
QT_MOC_LITERAL(8, 86, 7), // "openUrl"
QT_MOC_LITERAL(9, 94, 15), // "openUrlInNewTab"
QT_MOC_LITERAL(10, 110, 18), // "openUrlInNewWindow"
QT_MOC_LITERAL(11, 129, 25), // "openUrlInNewPrivateWindow"
QT_MOC_LITERAL(12, 155, 17), // "createContextMenu"
QT_MOC_LITERAL(13, 173, 3), // "pos"
QT_MOC_LITERAL(14, 177, 7), // "copyUrl"
QT_MOC_LITERAL(15, 185, 9), // "copyTitle"
QT_MOC_LITERAL(16, 195, 12) // "clearHistory"

    },
    "HistoryManager\0search\0\0searchText\0"
    "urlActivated\0url\0urlCtrlActivated\0"
    "urlShiftActivated\0openUrl\0openUrlInNewTab\0"
    "openUrlInNewWindow\0openUrlInNewPrivateWindow\0"
    "createContextMenu\0pos\0copyUrl\0copyTitle\0"
    "clearHistory"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_HistoryManager[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x0a /* Public */,
       4,    1,   97,    2, 0x08 /* Private */,
       6,    1,  100,    2, 0x08 /* Private */,
       7,    1,  103,    2, 0x08 /* Private */,
       8,    1,  106,    2, 0x08 /* Private */,
       8,    0,  109,    2, 0x28 /* Private | MethodCloned */,
       9,    1,  110,    2, 0x08 /* Private */,
       9,    0,  113,    2, 0x28 /* Private | MethodCloned */,
      10,    1,  114,    2, 0x08 /* Private */,
      10,    0,  117,    2, 0x28 /* Private | MethodCloned */,
      11,    1,  118,    2, 0x08 /* Private */,
      11,    0,  121,    2, 0x28 /* Private | MethodCloned */,
      12,    1,  122,    2, 0x08 /* Private */,
      14,    0,  125,    2, 0x08 /* Private */,
      15,    0,  126,    2, 0x08 /* Private */,
      16,    0,  127,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void HistoryManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        HistoryManager *_t = static_cast<HistoryManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->search((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->urlActivated((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->urlCtrlActivated((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->urlShiftActivated((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->openUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 5: _t->openUrl(); break;
        case 6: _t->openUrlInNewTab((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 7: _t->openUrlInNewTab(); break;
        case 8: _t->openUrlInNewWindow((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 9: _t->openUrlInNewWindow(); break;
        case 10: _t->openUrlInNewPrivateWindow((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 11: _t->openUrlInNewPrivateWindow(); break;
        case 12: _t->createContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 13: _t->copyUrl(); break;
        case 14: _t->copyTitle(); break;
        case 15: _t->clearHistory(); break;
        default: ;
        }
    }
}

const QMetaObject HistoryManager::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_HistoryManager.data,
      qt_meta_data_HistoryManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

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