/****************************************************************************
** Meta object code from reading C++ file 'tabwidget.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/qterminal-0.8.0/src/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.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_TabWidget_t {
    QByteArrayData data[45];
    char stringdata0[664];
};
#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, 20), // "closeTabNotification"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 18), // "tabRenameRequested"
QT_MOC_LITERAL(4, 51, 19), // "currentTitleChanged"
QT_MOC_LITERAL(5, 71, 9), // "addNewTab"
QT_MOC_LITERAL(6, 81, 14), // "TerminalConfig"
QT_MOC_LITERAL(7, 96, 3), // "cfg"
QT_MOC_LITERAL(8, 100, 9), // "removeTab"
QT_MOC_LITERAL(9, 110, 16), // "removeCurrentTab"
QT_MOC_LITERAL(10, 127, 13), // "switchToRight"
QT_MOC_LITERAL(11, 141, 12), // "switchToLeft"
QT_MOC_LITERAL(12, 154, 14), // "removeFinished"
QT_MOC_LITERAL(13, 169, 8), // "moveLeft"
QT_MOC_LITERAL(14, 178, 9), // "moveRight"
QT_MOC_LITERAL(15, 188, 13), // "renameSession"
QT_MOC_LITERAL(16, 202, 20), // "renameCurrentSession"
QT_MOC_LITERAL(17, 223, 21), // "switchLeftSubterminal"
QT_MOC_LITERAL(18, 245, 22), // "switchRightSubterminal"
QT_MOC_LITERAL(19, 268, 20), // "switchTopSubterminal"
QT_MOC_LITERAL(20, 289, 23), // "switchBottomSubterminal"
QT_MOC_LITERAL(21, 313, 17), // "splitHorizontally"
QT_MOC_LITERAL(22, 331, 15), // "splitVertically"
QT_MOC_LITERAL(23, 347, 13), // "splitCollapse"
QT_MOC_LITERAL(24, 361, 13), // "copySelection"
QT_MOC_LITERAL(25, 375, 14), // "pasteClipboard"
QT_MOC_LITERAL(26, 390, 14), // "pasteSelection"
QT_MOC_LITERAL(27, 405, 6), // "zoomIn"
QT_MOC_LITERAL(28, 412, 7), // "zoomOut"
QT_MOC_LITERAL(29, 420, 9), // "zoomReset"
QT_MOC_LITERAL(30, 430, 17), // "changeTabPosition"
QT_MOC_LITERAL(31, 448, 8), // "QAction*"
QT_MOC_LITERAL(32, 457, 20), // "changeScrollPosition"
QT_MOC_LITERAL(33, 478, 25), // "changeKeyboardCursorShape"
QT_MOC_LITERAL(34, 504, 17), // "propertiesChanged"
QT_MOC_LITERAL(35, 522, 19), // "clearActiveTerminal"
QT_MOC_LITERAL(36, 542, 11), // "saveSession"
QT_MOC_LITERAL(37, 554, 11), // "loadSession"
QT_MOC_LITERAL(38, 566, 17), // "preset2Horizontal"
QT_MOC_LITERAL(39, 584, 15), // "preset2Vertical"
QT_MOC_LITERAL(40, 600, 16), // "preset4Terminals"
QT_MOC_LITERAL(41, 617, 16), // "updateTabIndices"
QT_MOC_LITERAL(42, 634, 18), // "onTermTitleChanged"
QT_MOC_LITERAL(43, 653, 5), // "title"
QT_MOC_LITERAL(44, 659, 4) // "icon"

    },
    "TabWidget\0closeTabNotification\0\0"
    "tabRenameRequested\0currentTitleChanged\0"
    "addNewTab\0TerminalConfig\0cfg\0removeTab\0"
    "removeCurrentTab\0switchToRight\0"
    "switchToLeft\0removeFinished\0moveLeft\0"
    "moveRight\0renameSession\0renameCurrentSession\0"
    "switchLeftSubterminal\0switchRightSubterminal\0"
    "switchTopSubterminal\0switchBottomSubterminal\0"
    "splitHorizontally\0splitVertically\0"
    "splitCollapse\0copySelection\0pasteClipboard\0"
    "pasteSelection\0zoomIn\0zoomOut\0zoomReset\0"
    "changeTabPosition\0QAction*\0"
    "changeScrollPosition\0changeKeyboardCursorShape\0"
    "propertiesChanged\0clearActiveTerminal\0"
    "saveSession\0loadSession\0preset2Horizontal\0"
    "preset2Vertical\0preset4Terminals\0"
    "updateTabIndices\0onTermTitleChanged\0"
    "title\0icon"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TabWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  204,    2, 0x06 /* Public */,
       3,    1,  205,    2, 0x06 /* Public */,
       4,    1,  208,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,  211,    2, 0x0a /* Public */,
       8,    1,  214,    2, 0x0a /* Public */,
       9,    0,  217,    2, 0x0a /* Public */,
      10,    0,  218,    2, 0x0a /* Public */,
      11,    0,  219,    2, 0x0a /* Public */,
      12,    0,  220,    2, 0x0a /* Public */,
      13,    0,  221,    2, 0x0a /* Public */,
      14,    0,  222,    2, 0x0a /* Public */,
      15,    1,  223,    2, 0x0a /* Public */,
      16,    0,  226,    2, 0x0a /* Public */,
      17,    0,  227,    2, 0x0a /* Public */,
      18,    0,  228,    2, 0x0a /* Public */,
      19,    0,  229,    2, 0x0a /* Public */,
      20,    0,  230,    2, 0x0a /* Public */,
      21,    0,  231,    2, 0x0a /* Public */,
      22,    0,  232,    2, 0x0a /* Public */,
      23,    0,  233,    2, 0x0a /* Public */,
      24,    0,  234,    2, 0x0a /* Public */,
      25,    0,  235,    2, 0x0a /* Public */,
      26,    0,  236,    2, 0x0a /* Public */,
      27,    0,  237,    2, 0x0a /* Public */,
      28,    0,  238,    2, 0x0a /* Public */,
      29,    0,  239,    2, 0x0a /* Public */,
      30,    1,  240,    2, 0x0a /* Public */,
      32,    1,  243,    2, 0x0a /* Public */,
      33,    1,  246,    2, 0x0a /* Public */,
      34,    0,  249,    2, 0x0a /* Public */,
      35,    0,  250,    2, 0x0a /* Public */,
      36,    0,  251,    2, 0x0a /* Public */,
      37,    0,  252,    2, 0x0a /* Public */,
      38,    0,  253,    2, 0x0a /* Public */,
      39,    0,  254,    2, 0x0a /* Public */,
      40,    0,  255,    2, 0x0a /* Public */,
      41,    0,  256,    2, 0x09 /* Protected */,
      42,    2,  257,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Int, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    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::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 31,    2,
    QMetaType::Void, 0x80000000 | 31,    2,
    QMetaType::Void, 0x80000000 | 31,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   43,   44,

       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->closeTabNotification(); break;
        case 1: _t->tabRenameRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->currentTitleChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: { int _r = _t->addNewTab((*reinterpret_cast< TerminalConfig(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->removeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->removeCurrentTab(); break;
        case 6: { int _r = _t->switchToRight();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: { int _r = _t->switchToLeft();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->removeFinished(); break;
        case 9: _t->moveLeft(); break;
        case 10: _t->moveRight(); break;
        case 11: _t->renameSession((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->renameCurrentSession(); break;
        case 13: _t->switchLeftSubterminal(); break;
        case 14: _t->switchRightSubterminal(); break;
        case 15: _t->switchTopSubterminal(); break;
        case 16: _t->switchBottomSubterminal(); break;
        case 17: _t->splitHorizontally(); break;
        case 18: _t->splitVertically(); break;
        case 19: _t->splitCollapse(); break;
        case 20: _t->copySelection(); break;
        case 21: _t->pasteClipboard(); break;
        case 22: _t->pasteSelection(); break;
        case 23: _t->zoomIn(); break;
        case 24: _t->zoomOut(); break;
        case 25: _t->zoomReset(); break;
        case 26: _t->changeTabPosition((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 27: _t->changeScrollPosition((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 28: _t->changeKeyboardCursorShape((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 29: _t->propertiesChanged(); break;
        case 30: _t->clearActiveTerminal(); break;
        case 31: _t->saveSession(); break;
        case 32: _t->loadSession(); break;
        case 33: _t->preset2Horizontal(); break;
        case 34: _t->preset2Vertical(); break;
        case 35: _t->preset4Terminals(); break;
        case 36: _t->updateTabIndices(); break;
        case 37: _t->onTermTitleChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TabWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TabWidget::closeTabNotification)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TabWidget::tabRenameRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TabWidget::currentTitleChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject TabWidget::staticMetaObject = {
    { &QTabWidget::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 QTabWidget::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void TabWidget::tabRenameRequested(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void TabWidget::currentTitleChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
