/****************************************************************************
** Meta object code from reading C++ file 'navigationbar.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/navigation/navigationbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'navigationbar.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_NavigationBar_t {
    QByteArrayData data[19];
    char stringdata0[259];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_NavigationBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_NavigationBar_t qt_meta_stringdata_NavigationBar = {
    {
QT_MOC_LITERAL(0, 0, 13), // "NavigationBar"
QT_MOC_LITERAL(1, 14, 14), // "refreshHistory"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 4), // "stop"
QT_MOC_LITERAL(4, 35, 6), // "reload"
QT_MOC_LITERAL(5, 42, 6), // "goBack"
QT_MOC_LITERAL(6, 49, 14), // "goBackInNewTab"
QT_MOC_LITERAL(7, 64, 9), // "goForward"
QT_MOC_LITERAL(8, 74, 17), // "goForwardInNewTab"
QT_MOC_LITERAL(9, 92, 26), // "aboutToShowHistoryNextMenu"
QT_MOC_LITERAL(10, 119, 26), // "aboutToShowHistoryBackMenu"
QT_MOC_LITERAL(11, 146, 16), // "loadHistoryIndex"
QT_MOC_LITERAL(12, 163, 24), // "loadHistoryIndexInNewTab"
QT_MOC_LITERAL(13, 188, 5), // "index"
QT_MOC_LITERAL(14, 194, 12), // "clearHistory"
QT_MOC_LITERAL(15, 207, 20), // "contextMenuRequested"
QT_MOC_LITERAL(16, 228, 3), // "pos"
QT_MOC_LITERAL(17, 232, 12), // "layoutMargin"
QT_MOC_LITERAL(18, 245, 13) // "layoutSpacing"

    },
    "NavigationBar\0refreshHistory\0\0stop\0"
    "reload\0goBack\0goBackInNewTab\0goForward\0"
    "goForwardInNewTab\0aboutToShowHistoryNextMenu\0"
    "aboutToShowHistoryBackMenu\0loadHistoryIndex\0"
    "loadHistoryIndexInNewTab\0index\0"
    "clearHistory\0contextMenuRequested\0pos\0"
    "layoutMargin\0layoutSpacing"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_NavigationBar[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x0a /* Public */,
       3,    0,   85,    2, 0x0a /* Public */,
       4,    0,   86,    2, 0x0a /* Public */,
       5,    0,   87,    2, 0x0a /* Public */,
       6,    0,   88,    2, 0x0a /* Public */,
       7,    0,   89,    2, 0x0a /* Public */,
       8,    0,   90,    2, 0x0a /* Public */,
       9,    0,   91,    2, 0x08 /* Private */,
      10,    0,   92,    2, 0x08 /* Private */,
      11,    0,   93,    2, 0x08 /* Private */,
      12,    1,   94,    2, 0x08 /* Private */,
      12,    0,   97,    2, 0x28 /* Private | MethodCloned */,
      14,    0,   98,    2, 0x08 /* Private */,
      15,    1,   99,    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::Int,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   16,

 // properties: name, type, flags
      17, QMetaType::Int, 0x00095103,
      18, QMetaType::Int, 0x00095103,

       0        // eod
};

void NavigationBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NavigationBar *_t = static_cast<NavigationBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->refreshHistory(); break;
        case 1: _t->stop(); break;
        case 2: _t->reload(); break;
        case 3: _t->goBack(); break;
        case 4: _t->goBackInNewTab(); break;
        case 5: _t->goForward(); break;
        case 6: _t->goForwardInNewTab(); break;
        case 7: _t->aboutToShowHistoryNextMenu(); break;
        case 8: _t->aboutToShowHistoryBackMenu(); break;
        case 9: _t->loadHistoryIndex(); break;
        case 10: _t->loadHistoryIndexInNewTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->loadHistoryIndexInNewTab(); break;
        case 12: _t->clearHistory(); break;
        case 13: _t->contextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        NavigationBar *_t = static_cast<NavigationBar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->layoutMargin(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->layoutSpacing(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        NavigationBar *_t = static_cast<NavigationBar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setLayoutMargin(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setLayoutSpacing(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject NavigationBar::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_NavigationBar.data,
      qt_meta_data_NavigationBar,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int NavigationBar::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 < 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;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
