/****************************************************************************
** Meta object code from reading C++ file 'tabwidget.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/qterminal-0.7.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.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_TabWidget_t {
    QByteArrayData data[43];
    char stringdata0[630];
};
#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, 13), // "shell_program"
QT_MOC_LITERAL(7, 95, 9), // "removeTab"
QT_MOC_LITERAL(8, 105, 16), // "removeCurrentTab"
QT_MOC_LITERAL(9, 122, 13), // "switchToRight"
QT_MOC_LITERAL(10, 136, 12), // "switchToLeft"
QT_MOC_LITERAL(11, 149, 14), // "removeFinished"
QT_MOC_LITERAL(12, 164, 8), // "moveLeft"
QT_MOC_LITERAL(13, 173, 9), // "moveRight"
QT_MOC_LITERAL(14, 183, 13), // "renameSession"
QT_MOC_LITERAL(15, 197, 20), // "renameCurrentSession"
QT_MOC_LITERAL(16, 218, 16), // "setWorkDirectory"
QT_MOC_LITERAL(17, 235, 21), // "switchNextSubterminal"
QT_MOC_LITERAL(18, 257, 21), // "switchPrevSubterminal"
QT_MOC_LITERAL(19, 279, 17), // "splitHorizontally"
QT_MOC_LITERAL(20, 297, 15), // "splitVertically"
QT_MOC_LITERAL(21, 313, 13), // "splitCollapse"
QT_MOC_LITERAL(22, 327, 13), // "copySelection"
QT_MOC_LITERAL(23, 341, 14), // "pasteClipboard"
QT_MOC_LITERAL(24, 356, 14), // "pasteSelection"
QT_MOC_LITERAL(25, 371, 6), // "zoomIn"
QT_MOC_LITERAL(26, 378, 7), // "zoomOut"
QT_MOC_LITERAL(27, 386, 9), // "zoomReset"
QT_MOC_LITERAL(28, 396, 17), // "changeTabPosition"
QT_MOC_LITERAL(29, 414, 8), // "QAction*"
QT_MOC_LITERAL(30, 423, 20), // "changeScrollPosition"
QT_MOC_LITERAL(31, 444, 25), // "changeKeyboardCursorShape"
QT_MOC_LITERAL(32, 470, 17), // "propertiesChanged"
QT_MOC_LITERAL(33, 488, 19), // "clearActiveTerminal"
QT_MOC_LITERAL(34, 508, 11), // "saveSession"
QT_MOC_LITERAL(35, 520, 11), // "loadSession"
QT_MOC_LITERAL(36, 532, 17), // "preset2Horizontal"
QT_MOC_LITERAL(37, 550, 15), // "preset2Vertical"
QT_MOC_LITERAL(38, 566, 16), // "preset4Terminals"
QT_MOC_LITERAL(39, 583, 16), // "updateTabIndices"
QT_MOC_LITERAL(40, 600, 18), // "onTermTitleChanged"
QT_MOC_LITERAL(41, 619, 5), // "title"
QT_MOC_LITERAL(42, 625, 4) // "icon"

    },
    "TabWidget\0closeTabNotification\0\0"
    "tabRenameRequested\0currentTitleChanged\0"
    "addNewTab\0shell_program\0removeTab\0"
    "removeCurrentTab\0switchToRight\0"
    "switchToLeft\0removeFinished\0moveLeft\0"
    "moveRight\0renameSession\0renameCurrentSession\0"
    "setWorkDirectory\0switchNextSubterminal\0"
    "switchPrevSubterminal\0splitHorizontally\0"
    "splitVertically\0splitCollapse\0"
    "copySelection\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 */,
       5,    0,  214,    2, 0x2a /* Public | MethodCloned */,
       7,    1,  215,    2, 0x0a /* Public */,
       8,    0,  218,    2, 0x0a /* Public */,
       9,    0,  219,    2, 0x0a /* Public */,
      10,    0,  220,    2, 0x0a /* Public */,
      11,    0,  221,    2, 0x0a /* Public */,
      12,    0,  222,    2, 0x0a /* Public */,
      13,    0,  223,    2, 0x0a /* Public */,
      14,    1,  224,    2, 0x0a /* Public */,
      15,    0,  227,    2, 0x0a /* Public */,
      16,    1,  228,    2, 0x0a /* Public */,
      17,    0,  231,    2, 0x0a /* Public */,
      18,    0,  232,    2, 0x0a /* Public */,
      19,    0,  233,    2, 0x0a /* Public */,
      20,    0,  234,    2, 0x0a /* Public */,
      21,    0,  235,    2, 0x0a /* Public */,
      22,    0,  236,    2, 0x0a /* Public */,
      23,    0,  237,    2, 0x0a /* Public */,
      24,    0,  238,    2, 0x0a /* Public */,
      25,    0,  239,    2, 0x0a /* Public */,
      26,    0,  240,    2, 0x0a /* Public */,
      27,    0,  241,    2, 0x0a /* Public */,
      28,    1,  242,    2, 0x0a /* Public */,
      30,    1,  245,    2, 0x0a /* Public */,
      31,    1,  248,    2, 0x0a /* Public */,
      32,    0,  251,    2, 0x0a /* Public */,
      33,    0,  252,    2, 0x0a /* Public */,
      34,    0,  253,    2, 0x0a /* Public */,
      35,    0,  254,    2, 0x0a /* Public */,
      36,    0,  255,    2, 0x0a /* Public */,
      37,    0,  256,    2, 0x0a /* Public */,
      38,    0,  257,    2, 0x0a /* Public */,
      39,    0,  258,    2, 0x09 /* Protected */,
      40,    2,  259,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Int, QMetaType::QString,    6,
    QMetaType::Int,
    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::QString,    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, 0x80000000 | 29,    2,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   41,   42,

       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< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 4: { int _r = _t->addNewTab();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 5: _t->removeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->removeCurrentTab(); break;
        case 7: { int _r = _t->switchToRight();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 8: { int _r = _t->switchToLeft();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 9: _t->removeFinished(); break;
        case 10: _t->moveLeft(); break;
        case 11: _t->moveRight(); break;
        case 12: _t->renameSession((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->renameCurrentSession(); break;
        case 14: _t->setWorkDirectory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->switchNextSubterminal(); break;
        case 16: _t->switchPrevSubterminal(); 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::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 26:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        case 27:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        case 28:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); 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::closeTabNotification)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabWidget::tabRenameRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == 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, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TabWidget.stringdata0))
        return static_cast<void*>(const_cast< TabWidget*>(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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 38;
    }
    return _id;
}

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

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

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