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

#include "../src/lib/history/historymenu.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'historymenu.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_HistoryMenu_t {
    QByteArrayData data[17];
    char stringdata0[247];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_HistoryMenu_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_HistoryMenu_t qt_meta_stringdata_HistoryMenu = {
    {
QT_MOC_LITERAL(0, 0, 11), // "HistoryMenu"
QT_MOC_LITERAL(1, 12, 6), // "goBack"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 9), // "goForward"
QT_MOC_LITERAL(4, 30, 6), // "goHome"
QT_MOC_LITERAL(5, 37, 18), // "showHistoryManager"
QT_MOC_LITERAL(6, 56, 11), // "aboutToShow"
QT_MOC_LITERAL(7, 68, 11), // "aboutToHide"
QT_MOC_LITERAL(8, 80, 22), // "aboutToShowMostVisited"
QT_MOC_LITERAL(9, 103, 21), // "aboutToShowClosedTabs"
QT_MOC_LITERAL(10, 125, 21), // "historyEntryActivated"
QT_MOC_LITERAL(11, 147, 25), // "historyEntryCtrlActivated"
QT_MOC_LITERAL(12, 173, 26), // "historyEntryShiftActivated"
QT_MOC_LITERAL(13, 200, 7), // "openUrl"
QT_MOC_LITERAL(14, 208, 3), // "url"
QT_MOC_LITERAL(15, 212, 15), // "openUrlInNewTab"
QT_MOC_LITERAL(16, 228, 18) // "openUrlInNewWindow"

    },
    "HistoryMenu\0goBack\0\0goForward\0goHome\0"
    "showHistoryManager\0aboutToShow\0"
    "aboutToHide\0aboutToShowMostVisited\0"
    "aboutToShowClosedTabs\0historyEntryActivated\0"
    "historyEntryCtrlActivated\0"
    "historyEntryShiftActivated\0openUrl\0"
    "url\0openUrlInNewTab\0openUrlInNewWindow"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_HistoryMenu[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x08 /* Private */,
       3,    0,   85,    2, 0x08 /* Private */,
       4,    0,   86,    2, 0x08 /* Private */,
       5,    0,   87,    2, 0x08 /* Private */,
       6,    0,   88,    2, 0x08 /* Private */,
       7,    0,   89,    2, 0x08 /* Private */,
       8,    0,   90,    2, 0x08 /* Private */,
       9,    0,   91,    2, 0x08 /* Private */,
      10,    0,   92,    2, 0x08 /* Private */,
      11,    0,   93,    2, 0x08 /* Private */,
      12,    0,   94,    2, 0x08 /* Private */,
      13,    1,   95,    2, 0x08 /* Private */,
      15,    1,   98,    2, 0x08 /* Private */,
      16,    1,  101,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   14,
    QMetaType::Void, QMetaType::QUrl,   14,
    QMetaType::Void, QMetaType::QUrl,   14,

       0        // eod
};

void HistoryMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        HistoryMenu *_t = static_cast<HistoryMenu *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->goBack(); break;
        case 1: _t->goForward(); break;
        case 2: _t->goHome(); break;
        case 3: _t->showHistoryManager(); break;
        case 4: _t->aboutToShow(); break;
        case 5: _t->aboutToHide(); break;
        case 6: _t->aboutToShowMostVisited(); break;
        case 7: _t->aboutToShowClosedTabs(); break;
        case 8: _t->historyEntryActivated(); break;
        case 9: _t->historyEntryCtrlActivated(); break;
        case 10: _t->historyEntryShiftActivated(); break;
        case 11: _t->openUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 12: _t->openUrlInNewTab((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 13: _t->openUrlInNewWindow((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject HistoryMenu::staticMetaObject = {
    { &Menu::staticMetaObject, qt_meta_stringdata_HistoryMenu.data,
      qt_meta_data_HistoryMenu,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *HistoryMenu::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_HistoryMenu.stringdata0))
        return static_cast<void*>(const_cast< HistoryMenu*>(this));
    return Menu::qt_metacast(_clname);
}

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