/****************************************************************************
** Meta object code from reading C++ file 'Session.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/qtermwidget-0.7.0/lib/Session.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Session.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_Konsole__Session_t {
    QByteArrayData data[45];
    char stringdata0[519];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Konsole__Session_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Konsole__Session_t qt_meta_stringdata_Konsole__Session = {
    {
QT_MOC_LITERAL(0, 0, 16), // "Konsole::Session"
QT_MOC_LITERAL(1, 17, 7), // "started"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 8), // "finished"
QT_MOC_LITERAL(4, 35, 12), // "receivedData"
QT_MOC_LITERAL(5, 48, 4), // "text"
QT_MOC_LITERAL(6, 53, 12), // "titleChanged"
QT_MOC_LITERAL(7, 66, 14), // "profileChanged"
QT_MOC_LITERAL(8, 81, 7), // "profile"
QT_MOC_LITERAL(9, 89, 12), // "stateChanged"
QT_MOC_LITERAL(10, 102, 5), // "state"
QT_MOC_LITERAL(11, 108, 11), // "bellRequest"
QT_MOC_LITERAL(12, 120, 7), // "message"
QT_MOC_LITERAL(13, 128, 25), // "changeTabTextColorRequest"
QT_MOC_LITERAL(14, 154, 28), // "changeBackgroundColorRequest"
QT_MOC_LITERAL(15, 183, 14), // "openUrlRequest"
QT_MOC_LITERAL(16, 198, 3), // "url"
QT_MOC_LITERAL(17, 202, 13), // "resizeRequest"
QT_MOC_LITERAL(18, 216, 4), // "size"
QT_MOC_LITERAL(19, 221, 28), // "profileChangeCommandReceived"
QT_MOC_LITERAL(20, 250, 25), // "flowControlEnabledChanged"
QT_MOC_LITERAL(21, 276, 7), // "enabled"
QT_MOC_LITERAL(22, 284, 7), // "silence"
QT_MOC_LITERAL(23, 292, 8), // "activity"
QT_MOC_LITERAL(24, 301, 3), // "run"
QT_MOC_LITERAL(25, 305, 11), // "runEmptyPTY"
QT_MOC_LITERAL(26, 317, 5), // "close"
QT_MOC_LITERAL(27, 323, 12), // "setUserTitle"
QT_MOC_LITERAL(28, 336, 7), // "caption"
QT_MOC_LITERAL(29, 344, 4), // "done"
QT_MOC_LITERAL(30, 349, 14), // "onReceiveBlock"
QT_MOC_LITERAL(31, 364, 11), // "const char*"
QT_MOC_LITERAL(32, 376, 6), // "buffer"
QT_MOC_LITERAL(33, 383, 3), // "len"
QT_MOC_LITERAL(34, 387, 16), // "monitorTimerDone"
QT_MOC_LITERAL(35, 404, 16), // "onViewSizeChange"
QT_MOC_LITERAL(36, 421, 6), // "height"
QT_MOC_LITERAL(37, 428, 5), // "width"
QT_MOC_LITERAL(38, 434, 21), // "onEmulationSizeChange"
QT_MOC_LITERAL(39, 456, 16), // "activityStateSet"
QT_MOC_LITERAL(40, 473, 13), // "viewDestroyed"
QT_MOC_LITERAL(41, 487, 4), // "view"
QT_MOC_LITERAL(42, 492, 4), // "name"
QT_MOC_LITERAL(43, 497, 9), // "processId"
QT_MOC_LITERAL(44, 507, 11) // "keyBindings"

    },
    "Konsole::Session\0started\0\0finished\0"
    "receivedData\0text\0titleChanged\0"
    "profileChanged\0profile\0stateChanged\0"
    "state\0bellRequest\0message\0"
    "changeTabTextColorRequest\0"
    "changeBackgroundColorRequest\0"
    "openUrlRequest\0url\0resizeRequest\0size\0"
    "profileChangeCommandReceived\0"
    "flowControlEnabledChanged\0enabled\0"
    "silence\0activity\0run\0runEmptyPTY\0close\0"
    "setUserTitle\0caption\0done\0onReceiveBlock\0"
    "const char*\0buffer\0len\0monitorTimerDone\0"
    "onViewSizeChange\0height\0width\0"
    "onEmulationSizeChange\0activityStateSet\0"
    "viewDestroyed\0view\0name\0processId\0"
    "keyBindings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__Session[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  144,    2, 0x06 /* Public */,
       3,    0,  145,    2, 0x06 /* Public */,
       4,    1,  146,    2, 0x06 /* Public */,
       6,    0,  149,    2, 0x06 /* Public */,
       7,    1,  150,    2, 0x06 /* Public */,
       9,    1,  153,    2, 0x06 /* Public */,
      11,    1,  156,    2, 0x06 /* Public */,
      13,    1,  159,    2, 0x06 /* Public */,
      14,    1,  162,    2, 0x06 /* Public */,
      15,    1,  165,    2, 0x06 /* Public */,
      17,    1,  168,    2, 0x06 /* Public */,
      19,    1,  171,    2, 0x06 /* Public */,
      20,    1,  174,    2, 0x06 /* Public */,
      22,    0,  177,    2, 0x06 /* Public */,
      23,    0,  178,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      24,    0,  179,    2, 0x0a /* Public */,
      25,    0,  180,    2, 0x0a /* Public */,
      26,    0,  181,    2, 0x0a /* Public */,
      27,    2,  182,    2, 0x0a /* Public */,
      29,    1,  187,    2, 0x08 /* Private */,
      30,    2,  190,    2, 0x08 /* Private */,
      34,    0,  195,    2, 0x08 /* Private */,
      35,    2,  196,    2, 0x08 /* Private */,
      38,    1,  201,    2, 0x08 /* Private */,
      39,    1,  204,    2, 0x08 /* Private */,
      40,    1,  207,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QColor,    2,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QSize,   18,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,   21,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    2,   28,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 31, QMetaType::Int,   32,   33,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   36,   37,
    QMetaType::Void, QMetaType::QSize,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QObjectStar,   41,

 // properties: name, type, flags
      42, QMetaType::QString, 0x00095001,
      43, QMetaType::Int, 0x00095001,
      44, QMetaType::QString, 0x00095103,
      18, QMetaType::QSize, 0x00095103,

       0        // eod
};

void Konsole::Session::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Session *_t = static_cast<Session *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->started(); break;
        case 1: _t->finished(); break;
        case 2: _t->receivedData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->titleChanged(); break;
        case 4: _t->profileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->bellRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->changeTabTextColorRequest((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->changeBackgroundColorRequest((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 9: _t->openUrlRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->resizeRequest((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 11: _t->profileChangeCommandReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->flowControlEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->silence(); break;
        case 14: _t->activity(); break;
        case 15: _t->run(); break;
        case 16: _t->runEmptyPTY(); break;
        case 17: _t->close(); break;
        case 18: _t->setUserTitle((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 19: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->onReceiveBlock((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 21: _t->monitorTimerDone(); break;
        case 22: _t->onViewSizeChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 23: _t->onEmulationSizeChange((*reinterpret_cast< QSize(*)>(_a[1]))); break;
        case 24: _t->activityStateSet((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->viewDestroyed((*reinterpret_cast< QObject*(*)>(_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 (Session::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::started)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Session::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::finished)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Session::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::receivedData)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Session::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::titleChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Session::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::profileChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Session::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::stateChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Session::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::bellRequest)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Session::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::changeTabTextColorRequest)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Session::*_t)(const QColor & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::changeBackgroundColorRequest)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Session::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::openUrlRequest)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Session::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::resizeRequest)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (Session::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::profileChangeCommandReceived)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (Session::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::flowControlEnabledChanged)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (Session::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::silence)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (Session::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Session::activity)) {
                *result = 14;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Session *_t = static_cast<Session *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->nameTitle(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->processId(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->keyBindings(); break;
        case 3: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Session *_t = static_cast<Session *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setKeyBindings(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setSize(*reinterpret_cast< QSize*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Konsole::Session::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Konsole__Session.data,
      qt_meta_data_Konsole__Session,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Konsole::Session::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Konsole__Session.stringdata0))
        return static_cast<void*>(const_cast< Session*>(this));
    return QObject::qt_metacast(_clname);
}

int Konsole::Session::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 26;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Konsole::Session::started()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Konsole::Session::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Konsole::Session::receivedData(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Konsole::Session::titleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

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

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

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

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

// SIGNAL 8
void Konsole::Session::changeBackgroundColorRequest(const QColor & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Konsole::Session::openUrlRequest(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Konsole::Session::resizeRequest(const QSize & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Konsole::Session::profileChangeCommandReceived(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Konsole::Session::flowControlEnabledChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void Konsole::Session::silence()
{
    QMetaObject::activate(this, &staticMetaObject, 13, Q_NULLPTR);
}

// SIGNAL 14
void Konsole::Session::activity()
{
    QMetaObject::activate(this, &staticMetaObject, 14, Q_NULLPTR);
}
struct qt_meta_stringdata_Konsole__SessionGroup_t {
    QByteArrayData data[1];
    char stringdata0[22];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Konsole__SessionGroup_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Konsole__SessionGroup_t qt_meta_stringdata_Konsole__SessionGroup = {
    {
QT_MOC_LITERAL(0, 0, 21) // "Konsole::SessionGroup"

    },
    "Konsole::SessionGroup"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__SessionGroup[] = {

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

       0        // eod
};

void Konsole::SessionGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject Konsole::SessionGroup::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Konsole__SessionGroup.data,
      qt_meta_data_Konsole__SessionGroup,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Konsole::SessionGroup::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Konsole__SessionGroup.stringdata0))
        return static_cast<void*>(const_cast< SessionGroup*>(this));
    return QObject::qt_metacast(_clname);
}

int Konsole::SessionGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
