/****************************************************************************
** Meta object code from reading C++ file 'termwidgetholder.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/termwidgetholder.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'termwidgetholder.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_TermWidgetHolder_t {
    QByteArrayData data[22];
    char stringdata0[282];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TermWidgetHolder_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TermWidgetHolder_t qt_meta_stringdata_TermWidgetHolder = {
    {
QT_MOC_LITERAL(0, 0, 16), // "TermWidgetHolder"
QT_MOC_LITERAL(1, 17, 8), // "finished"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 18), // "lastTerminalClosed"
QT_MOC_LITERAL(4, 46, 13), // "renameSession"
QT_MOC_LITERAL(5, 60, 16), // "termTitleChanged"
QT_MOC_LITERAL(6, 77, 5), // "title"
QT_MOC_LITERAL(7, 83, 4), // "icon"
QT_MOC_LITERAL(8, 88, 15), // "splitHorizontal"
QT_MOC_LITERAL(9, 104, 11), // "TermWidget*"
QT_MOC_LITERAL(10, 116, 4), // "term"
QT_MOC_LITERAL(11, 121, 13), // "splitVertical"
QT_MOC_LITERAL(12, 135, 13), // "splitCollapse"
QT_MOC_LITERAL(13, 149, 7), // "setWDir"
QT_MOC_LITERAL(14, 157, 4), // "wdir"
QT_MOC_LITERAL(15, 162, 21), // "directionalNavigation"
QT_MOC_LITERAL(16, 184, 19), // "NavigationDirection"
QT_MOC_LITERAL(17, 204, 3), // "dir"
QT_MOC_LITERAL(18, 208, 19), // "clearActiveTerminal"
QT_MOC_LITERAL(19, 228, 18), // "onTermTitleChanged"
QT_MOC_LITERAL(20, 247, 18), // "setCurrentTerminal"
QT_MOC_LITERAL(21, 266, 15) // "handle_finished"

    },
    "TermWidgetHolder\0finished\0\0"
    "lastTerminalClosed\0renameSession\0"
    "termTitleChanged\0title\0icon\0splitHorizontal\0"
    "TermWidget*\0term\0splitVertical\0"
    "splitCollapse\0setWDir\0wdir\0"
    "directionalNavigation\0NavigationDirection\0"
    "dir\0clearActiveTerminal\0onTermTitleChanged\0"
    "setCurrentTerminal\0handle_finished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TermWidgetHolder[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    0,   80,    2, 0x06 /* Public */,
       4,    0,   81,    2, 0x06 /* Public */,
       5,    2,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   87,    2, 0x0a /* Public */,
      11,    1,   90,    2, 0x0a /* Public */,
      12,    1,   93,    2, 0x0a /* Public */,
      13,    1,   96,    2, 0x0a /* Public */,
      15,    1,   99,    2, 0x0a /* Public */,
      18,    0,  102,    2, 0x0a /* Public */,
      19,    2,  103,    2, 0x0a /* Public */,
      20,    1,  108,    2, 0x08 /* Private */,
      21,    0,  111,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    6,    7,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,

       0        // eod
};

void TermWidgetHolder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TermWidgetHolder *_t = static_cast<TermWidgetHolder *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->finished(); break;
        case 1: _t->lastTerminalClosed(); break;
        case 2: _t->renameSession(); break;
        case 3: _t->termTitleChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 4: _t->splitHorizontal((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 5: _t->splitVertical((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 6: _t->splitCollapse((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 7: _t->setWDir((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->directionalNavigation((*reinterpret_cast< NavigationDirection(*)>(_a[1]))); break;
        case 9: _t->clearActiveTerminal(); break;
        case 10: _t->onTermTitleChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 11: _t->setCurrentTerminal((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 12: _t->handle_finished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TermWidget* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TermWidget* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TermWidget* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TermWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TermWidgetHolder::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidgetHolder::finished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TermWidgetHolder::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidgetHolder::lastTerminalClosed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TermWidgetHolder::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidgetHolder::renameSession)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TermWidgetHolder::*_t)(QString , QString ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidgetHolder::termTitleChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject TermWidgetHolder::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_TermWidgetHolder.data,
      qt_meta_data_TermWidgetHolder,  qt_static_metacall, nullptr, nullptr}
};


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

void *TermWidgetHolder::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_TermWidgetHolder.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "DBusAddressable"))
        return static_cast< DBusAddressable*>(this);
    return QWidget::qt_metacast(_clname);
}

int TermWidgetHolder::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

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

// SIGNAL 1
void TermWidgetHolder::lastTerminalClosed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void TermWidgetHolder::renameSession()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void TermWidgetHolder::termTitleChanged(QString _t1, QString _t2)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(const_cast< TermWidgetHolder *>(this), &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
