/****************************************************************************
** Meta object code from reading C++ file 'tabwidget.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/tabwidget/tabwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tabwidget.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_MenuTabs_t {
    QByteArrayData data[3];
    char stringdata0[19];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MenuTabs_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MenuTabs_t qt_meta_stringdata_MenuTabs = {
    {
QT_MOC_LITERAL(0, 0, 8), // "MenuTabs"
QT_MOC_LITERAL(1, 9, 8), // "closeTab"
QT_MOC_LITERAL(2, 18, 0) // ""

    },
    "MenuTabs\0closeTab\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MenuTabs[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,

       0        // eod
};

void MenuTabs::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MenuTabs *_t = static_cast<MenuTabs *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MenuTabs::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MenuTabs::closeTab)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject MenuTabs::staticMetaObject = {
    { &QMenu::staticMetaObject, qt_meta_stringdata_MenuTabs.data,
      qt_meta_data_MenuTabs,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void MenuTabs::closeTab(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_TabWidget_t {
    QByteArrayData data[39];
    char stringdata0[453];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TabWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TabWidget_t qt_meta_stringdata_TabWidget = {
    {
QT_MOC_LITERAL(0, 0, 9), // "TabWidget"
QT_MOC_LITERAL(1, 10, 7), // "changed"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 7), // "addView"
QT_MOC_LITERAL(4, 27, 11), // "LoadRequest"
QT_MOC_LITERAL(5, 39, 3), // "req"
QT_MOC_LITERAL(6, 43, 23), // "Qz::NewTabPositionFlags"
QT_MOC_LITERAL(7, 67, 9), // "openFlags"
QT_MOC_LITERAL(8, 77, 10), // "selectLine"
QT_MOC_LITERAL(9, 88, 6), // "pinned"
QT_MOC_LITERAL(10, 95, 5), // "title"
QT_MOC_LITERAL(11, 101, 8), // "position"
QT_MOC_LITERAL(12, 110, 7), // "WebTab*"
QT_MOC_LITERAL(13, 118, 3), // "tab"
QT_MOC_LITERAL(14, 122, 19), // "addTabFromClipboard"
QT_MOC_LITERAL(15, 142, 12), // "duplicateTab"
QT_MOC_LITERAL(16, 155, 5), // "index"
QT_MOC_LITERAL(17, 161, 8), // "closeTab"
QT_MOC_LITERAL(18, 170, 5), // "force"
QT_MOC_LITERAL(19, 176, 9), // "reloadTab"
QT_MOC_LITERAL(20, 186, 13), // "reloadAllTabs"
QT_MOC_LITERAL(21, 200, 7), // "stopTab"
QT_MOC_LITERAL(22, 208, 18), // "closeAllButCurrent"
QT_MOC_LITERAL(23, 227, 9), // "detachTab"
QT_MOC_LITERAL(24, 237, 16), // "restoreClosedTab"
QT_MOC_LITERAL(25, 254, 3), // "obj"
QT_MOC_LITERAL(26, 258, 20), // "restoreAllClosedTabs"
QT_MOC_LITERAL(27, 279, 19), // "clearClosedTabsList"
QT_MOC_LITERAL(28, 299, 16), // "moveAddTabButton"
QT_MOC_LITERAL(29, 316, 4), // "posX"
QT_MOC_LITERAL(30, 321, 21), // "tabBarOverFlowChanged"
QT_MOC_LITERAL(31, 343, 10), // "overflowed"
QT_MOC_LITERAL(32, 354, 12), // "loadSettings"
QT_MOC_LITERAL(33, 367, 19), // "aboutToShowTabsMenu"
QT_MOC_LITERAL(34, 387, 25), // "aboutToShowClosedTabsMenu"
QT_MOC_LITERAL(35, 413, 17), // "actionChangeIndex"
QT_MOC_LITERAL(36, 431, 8), // "tabMoved"
QT_MOC_LITERAL(37, 440, 6), // "before"
QT_MOC_LITERAL(38, 447, 5) // "after"

    },
    "TabWidget\0changed\0\0addView\0LoadRequest\0"
    "req\0Qz::NewTabPositionFlags\0openFlags\0"
    "selectLine\0pinned\0title\0position\0"
    "WebTab*\0tab\0addTabFromClipboard\0"
    "duplicateTab\0index\0closeTab\0force\0"
    "reloadTab\0reloadAllTabs\0stopTab\0"
    "closeAllButCurrent\0detachTab\0"
    "restoreClosedTab\0obj\0restoreAllClosedTabs\0"
    "clearClosedTabsList\0moveAddTabButton\0"
    "posX\0tabBarOverFlowChanged\0overflowed\0"
    "loadSettings\0aboutToShowTabsMenu\0"
    "aboutToShowClosedTabsMenu\0actionChangeIndex\0"
    "tabMoved\0before\0after"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TabWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  174,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    4,  175,    2, 0x0a /* Public */,
       3,    3,  184,    2, 0x2a /* Public | MethodCloned */,
       3,    2,  191,    2, 0x2a /* Public | MethodCloned */,
       3,    6,  196,    2, 0x0a /* Public */,
       3,    5,  209,    2, 0x2a /* Public | MethodCloned */,
       3,    4,  220,    2, 0x2a /* Public | MethodCloned */,
       3,    3,  229,    2, 0x2a /* Public | MethodCloned */,
       3,    2,  236,    2, 0x2a /* Public | MethodCloned */,
       3,    1,  241,    2, 0x2a /* Public | MethodCloned */,
       3,    1,  244,    2, 0x0a /* Public */,
      14,    0,  247,    2, 0x0a /* Public */,
      15,    1,  248,    2, 0x0a /* Public */,
      17,    2,  251,    2, 0x0a /* Public */,
      17,    1,  256,    2, 0x2a /* Public | MethodCloned */,
      17,    0,  259,    2, 0x2a /* Public | MethodCloned */,
      19,    1,  260,    2, 0x0a /* Public */,
      20,    0,  263,    2, 0x0a /* Public */,
      21,    1,  264,    2, 0x0a /* Public */,
      22,    1,  267,    2, 0x0a /* Public */,
      23,    1,  270,    2, 0x0a /* Public */,
      24,    1,  273,    2, 0x0a /* Public */,
      24,    0,  276,    2, 0x2a /* Public | MethodCloned */,
      26,    0,  277,    2, 0x0a /* Public */,
      27,    0,  278,    2, 0x0a /* Public */,
      28,    1,  279,    2, 0x0a /* Public */,
      30,    1,  282,    2, 0x0a /* Public */,
      32,    0,  285,    2, 0x08 /* Private */,
      33,    0,  286,    2, 0x08 /* Private */,
      34,    0,  287,    2, 0x08 /* Private */,
      35,    0,  288,    2, 0x08 /* Private */,
      36,    2,  289,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Int, 0x80000000 | 4, 0x80000000 | 6, QMetaType::Bool, QMetaType::Bool,    5,    7,    8,    9,
    QMetaType::Int, 0x80000000 | 4, 0x80000000 | 6, QMetaType::Bool,    5,    7,    8,
    QMetaType::Int, 0x80000000 | 4, 0x80000000 | 6,    5,    7,
    QMetaType::Int, 0x80000000 | 4, QMetaType::QString, 0x80000000 | 6, QMetaType::Bool, QMetaType::Int, QMetaType::Bool,    5,   10,    7,    8,   11,    9,
    QMetaType::Int, 0x80000000 | 4, QMetaType::QString, 0x80000000 | 6, QMetaType::Bool, QMetaType::Int,    5,   10,    7,    8,   11,
    QMetaType::Int, 0x80000000 | 4, QMetaType::QString, 0x80000000 | 6, QMetaType::Bool,    5,   10,    7,    8,
    QMetaType::Int, 0x80000000 | 4, QMetaType::QString, 0x80000000 | 6,    5,   10,    7,
    QMetaType::Int, 0x80000000 | 4, QMetaType::QString,    5,   10,
    QMetaType::Int, 0x80000000 | 4,    5,
    QMetaType::Int, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Int, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   16,   18,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::QObjectStar,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   29,
    QMetaType::Void, QMetaType::Bool,   31,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   37,   38,

       0        // eod
};

void TabWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TabWidget *_t = static_cast<TabWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const Qz::NewTabPositionFlags(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 2: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const Qz::NewTabPositionFlags(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 3: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const Qz::NewTabPositionFlags(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const Qz::NewTabPositionFlags(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])),(*reinterpret_cast< bool(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const Qz::NewTabPositionFlags(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 6: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const Qz::NewTabPositionFlags(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const Qz::NewTabPositionFlags(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 8: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 9: { int _r = _t->addView((*reinterpret_cast< const LoadRequest(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 10: { int _r = _t->addView((*reinterpret_cast< WebTab*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->addTabFromClipboard(); break;
        case 12: { int _r = _t->duplicateTab((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->closeTab((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 14: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->closeTab(); break;
        case 16: _t->reloadTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->reloadAllTabs(); break;
        case 18: _t->stopTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->closeAllButCurrent((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->detachTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->restoreClosedTab((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 22: _t->restoreClosedTab(); break;
        case 23: _t->restoreAllClosedTabs(); break;
        case 24: _t->clearClosedTabsList(); break;
        case 25: _t->moveAddTabButton((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->tabBarOverFlowChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 27: _t->loadSettings(); break;
        case 28: _t->aboutToShowTabsMenu(); break;
        case 29: _t->aboutToShowClosedTabsMenu(); break;
        case 30: _t->actionChangeIndex(); break;
        case 31: _t->tabMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WebTab* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TabWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabWidget::changed)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject TabWidget::staticMetaObject = {
    { &TabStackedWidget::staticMetaObject, qt_meta_stringdata_TabWidget.data,
      qt_meta_data_TabWidget,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TabWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TabStackedWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    }
    return _id;
}

// SIGNAL 0
void TabWidget::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
