/****************************************************************************
** Meta object code from reading C++ file 'Part.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/konsole-17.04.3/src/Part.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Part.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__Part_t {
    QByteArrayData data[36];
    char stringdata0[504];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Konsole__Part_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Konsole__Part_t qt_meta_stringdata_Konsole__Part = {
    {
QT_MOC_LITERAL(0, 0, 13), // "Konsole::Part"
QT_MOC_LITERAL(1, 14, 16), // "overrideShortcut"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 10), // "QKeyEvent*"
QT_MOC_LITERAL(4, 43, 5), // "event"
QT_MOC_LITERAL(5, 49, 5), // "bool&"
QT_MOC_LITERAL(6, 55, 8), // "override"
QT_MOC_LITERAL(7, 64, 15), // "silenceDetected"
QT_MOC_LITERAL(8, 80, 16), // "activityDetected"
QT_MOC_LITERAL(9, 97, 23), // "currentDirectoryChanged"
QT_MOC_LITERAL(10, 121, 3), // "dir"
QT_MOC_LITERAL(11, 125, 13), // "createSession"
QT_MOC_LITERAL(12, 139, 11), // "profileName"
QT_MOC_LITERAL(13, 151, 9), // "directory"
QT_MOC_LITERAL(14, 161, 15), // "profileNameList"
QT_MOC_LITERAL(15, 177, 28), // "showEditCurrentProfileDialog"
QT_MOC_LITERAL(16, 206, 8), // "QWidget*"
QT_MOC_LITERAL(17, 215, 6), // "parent"
QT_MOC_LITERAL(18, 222, 21), // "changeSessionSettings"
QT_MOC_LITERAL(19, 244, 4), // "text"
QT_MOC_LITERAL(20, 249, 12), // "openTeletype"
QT_MOC_LITERAL(21, 262, 11), // "ptyMasterFd"
QT_MOC_LITERAL(22, 274, 24), // "setMonitorSilenceEnabled"
QT_MOC_LITERAL(23, 299, 7), // "enabled"
QT_MOC_LITERAL(24, 307, 25), // "setMonitorActivityEnabled"
QT_MOC_LITERAL(25, 333, 17), // "activeViewChanged"
QT_MOC_LITERAL(26, 351, 18), // "SessionController*"
QT_MOC_LITERAL(27, 370, 10), // "controller"
QT_MOC_LITERAL(28, 381, 22), // "activeViewTitleChanged"
QT_MOC_LITERAL(29, 404, 15), // "ViewProperties*"
QT_MOC_LITERAL(30, 420, 10), // "properties"
QT_MOC_LITERAL(31, 431, 14), // "terminalExited"
QT_MOC_LITERAL(32, 446, 6), // "newTab"
QT_MOC_LITERAL(33, 453, 24), // "overrideTerminalShortcut"
QT_MOC_LITERAL(34, 478, 19), // "sessionStateChanged"
QT_MOC_LITERAL(35, 498, 5) // "state"

    },
    "Konsole::Part\0overrideShortcut\0\0"
    "QKeyEvent*\0event\0bool&\0override\0"
    "silenceDetected\0activityDetected\0"
    "currentDirectoryChanged\0dir\0createSession\0"
    "profileName\0directory\0profileNameList\0"
    "showEditCurrentProfileDialog\0QWidget*\0"
    "parent\0changeSessionSettings\0text\0"
    "openTeletype\0ptyMasterFd\0"
    "setMonitorSilenceEnabled\0enabled\0"
    "setMonitorActivityEnabled\0activeViewChanged\0"
    "SessionController*\0controller\0"
    "activeViewTitleChanged\0ViewProperties*\0"
    "properties\0terminalExited\0newTab\0"
    "overrideTerminalShortcut\0sessionStateChanged\0"
    "state"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__Part[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  109,    2, 0x06 /* Public */,
       7,    0,  114,    2, 0x06 /* Public */,
       8,    0,  115,    2, 0x06 /* Public */,
       9,    1,  116,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    2,  119,    2, 0x0a /* Public */,
      11,    1,  124,    2, 0x2a /* Public | MethodCloned */,
      11,    0,  127,    2, 0x2a /* Public | MethodCloned */,
      14,    0,  128,    2, 0x0a /* Public */,
      15,    1,  129,    2, 0x0a /* Public */,
      18,    1,  132,    2, 0x0a /* Public */,
      20,    1,  135,    2, 0x0a /* Public */,
      22,    1,  138,    2, 0x0a /* Public */,
      24,    1,  141,    2, 0x0a /* Public */,
      25,    1,  144,    2, 0x08 /* Private */,
      28,    1,  147,    2, 0x08 /* Private */,
      31,    0,  150,    2, 0x08 /* Private */,
      32,    0,  151,    2, 0x08 /* Private */,
      33,    2,  152,    2, 0x08 /* Private */,
      34,    1,  157,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   10,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   12,   13,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void,
    QMetaType::QStringList,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    2,    6,
    QMetaType::Void, QMetaType::Int,   35,

       0        // eod
};

void Konsole::Part::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Part *_t = static_cast<Part *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->overrideShortcut((*reinterpret_cast< QKeyEvent*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->silenceDetected(); break;
        case 2: _t->activityDetected(); break;
        case 3: _t->currentDirectoryChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->createSession((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->createSession((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->createSession(); break;
        case 7: { QStringList _r = _t->profileNameList();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 8: _t->showEditCurrentProfileDialog((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 9: _t->changeSessionSettings((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->openTeletype((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setMonitorSilenceEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->setMonitorActivityEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->activeViewChanged((*reinterpret_cast< SessionController*(*)>(_a[1]))); break;
        case 14: _t->activeViewTitleChanged((*reinterpret_cast< ViewProperties*(*)>(_a[1]))); break;
        case 15: _t->terminalExited(); break;
        case 16: _t->newTab(); break;
        case 17: _t->overrideTerminalShortcut((*reinterpret_cast< QKeyEvent*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 18: _t->sessionStateChanged((*reinterpret_cast< int(*)>(_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 (Part::*_t)(QKeyEvent * , bool & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Part::overrideShortcut)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Part::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Part::silenceDetected)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Part::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Part::activityDetected)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Part::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Part::currentDirectoryChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Konsole::Part::staticMetaObject = {
    { &KParts::ReadOnlyPart::staticMetaObject, qt_meta_stringdata_Konsole__Part.data,
      qt_meta_data_Konsole__Part,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Konsole::Part::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Konsole__Part.stringdata0))
        return static_cast<void*>(const_cast< Part*>(this));
    if (!strcmp(_clname, "TerminalInterface"))
        return static_cast< TerminalInterface*>(const_cast< Part*>(this));
    if (!strcmp(_clname, "org.kde.TerminalInterface"))
        return static_cast< TerminalInterface*>(const_cast< Part*>(this));
    return KParts::ReadOnlyPart::qt_metacast(_clname);
}

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

// SIGNAL 0
void Konsole::Part::overrideShortcut(QKeyEvent * _t1, bool & _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, 0, _a);
}

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

// SIGNAL 2
void Konsole::Part::activityDetected()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

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