/****************************************************************************
** Meta object code from reading C++ file 'termwidget.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/termwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'termwidget.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_TermWidgetImpl_t {
    QByteArrayData data[11];
    char stringdata0[118];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TermWidgetImpl_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TermWidgetImpl_t qt_meta_stringdata_TermWidgetImpl = {
    {
QT_MOC_LITERAL(0, 0, 14), // "TermWidgetImpl"
QT_MOC_LITERAL(1, 15, 13), // "renameSession"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 20), // "removeCurrentSession"
QT_MOC_LITERAL(4, 51, 6), // "zoomIn"
QT_MOC_LITERAL(5, 58, 7), // "zoomOut"
QT_MOC_LITERAL(6, 66, 9), // "zoomReset"
QT_MOC_LITERAL(7, 76, 21), // "customContextMenuCall"
QT_MOC_LITERAL(8, 98, 3), // "pos"
QT_MOC_LITERAL(9, 102, 11), // "activateUrl"
QT_MOC_LITERAL(10, 114, 3) // "url"

    },
    "TermWidgetImpl\0renameSession\0\0"
    "removeCurrentSession\0zoomIn\0zoomOut\0"
    "zoomReset\0customContextMenuCall\0pos\0"
    "activateUrl\0url"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TermWidgetImpl[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    0,   50,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,   51,    2, 0x0a /* Public */,
       5,    0,   52,    2, 0x0a /* Public */,
       6,    0,   53,    2, 0x0a /* Public */,
       7,    1,   54,    2, 0x08 /* Private */,
       9,    1,   57,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,    8,
    QMetaType::Void, QMetaType::QUrl,   10,

       0        // eod
};

void TermWidgetImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TermWidgetImpl *_t = static_cast<TermWidgetImpl *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->renameSession(); break;
        case 1: _t->removeCurrentSession(); break;
        case 2: _t->zoomIn(); break;
        case 3: _t->zoomOut(); break;
        case 4: _t->zoomReset(); break;
        case 5: _t->customContextMenuCall((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 6: _t->activateUrl((*reinterpret_cast< const QUrl(*)>(_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 (TermWidgetImpl::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidgetImpl::renameSession)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TermWidgetImpl::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidgetImpl::removeCurrentSession)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject TermWidgetImpl::staticMetaObject = {
    { &QTermWidget::staticMetaObject, qt_meta_stringdata_TermWidgetImpl.data,
      qt_meta_data_TermWidgetImpl,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void TermWidgetImpl::removeCurrentSession()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
struct qt_meta_stringdata_TermWidget_t {
    QByteArrayData data[16];
    char stringdata0[199];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TermWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TermWidget_t qt_meta_stringdata_TermWidget = {
    {
QT_MOC_LITERAL(0, 0, 10), // "TermWidget"
QT_MOC_LITERAL(1, 11, 8), // "finished"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 13), // "renameSession"
QT_MOC_LITERAL(4, 35, 20), // "removeCurrentSession"
QT_MOC_LITERAL(5, 56, 15), // "splitHorizontal"
QT_MOC_LITERAL(6, 72, 11), // "TermWidget*"
QT_MOC_LITERAL(7, 84, 4), // "self"
QT_MOC_LITERAL(8, 89, 13), // "splitVertical"
QT_MOC_LITERAL(9, 103, 13), // "splitCollapse"
QT_MOC_LITERAL(10, 117, 12), // "termGetFocus"
QT_MOC_LITERAL(11, 130, 16), // "termTitleChanged"
QT_MOC_LITERAL(12, 147, 9), // "titleText"
QT_MOC_LITERAL(13, 157, 4), // "icon"
QT_MOC_LITERAL(14, 162, 17), // "term_termGetFocus"
QT_MOC_LITERAL(15, 180, 18) // "term_termLostFocus"

    },
    "TermWidget\0finished\0\0renameSession\0"
    "removeCurrentSession\0splitHorizontal\0"
    "TermWidget*\0self\0splitVertical\0"
    "splitCollapse\0termGetFocus\0termTitleChanged\0"
    "titleText\0icon\0term_termGetFocus\0"
    "term_termLostFocus"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TermWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,
       8,    1,   70,    2, 0x06 /* Public */,
       9,    1,   73,    2, 0x06 /* Public */,
      10,    1,   76,    2, 0x06 /* Public */,
      11,    2,   79,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,   84,    2, 0x08 /* Private */,
      15,    0,   85,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   12,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TermWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TermWidget *_t = static_cast<TermWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->finished(); break;
        case 1: _t->renameSession(); break;
        case 2: _t->removeCurrentSession(); break;
        case 3: _t->splitHorizontal((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 4: _t->splitVertical((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 5: _t->splitCollapse((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 6: _t->termGetFocus((*reinterpret_cast< TermWidget*(*)>(_a[1]))); break;
        case 7: _t->termTitleChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 8: _t->term_termGetFocus(); break;
        case 9: _t->term_termLostFocus(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            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 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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TermWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::finished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TermWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::renameSession)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TermWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::removeCurrentSession)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TermWidget::*_t)(TermWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::splitHorizontal)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TermWidget::*_t)(TermWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::splitVertical)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TermWidget::*_t)(TermWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::splitCollapse)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TermWidget::*_t)(TermWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::termGetFocus)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (TermWidget::*_t)(QString , QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TermWidget::termTitleChanged)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject TermWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_TermWidget.data,
      qt_meta_data_TermWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void TermWidget::renameSession()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void TermWidget::removeCurrentSession()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void TermWidget::splitHorizontal(TermWidget * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void TermWidget::splitVertical(TermWidget * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void TermWidget::splitCollapse(TermWidget * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void TermWidget::termGetFocus(TermWidget * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

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