/****************************************************************************
** Meta object code from reading C++ file 'Part.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/konsole-17.12.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.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_Konsole__Part_t {
    QByteArrayData data[37];
    char stringdata0[529];
};
#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, 24), // "showManageProfilesDialog"
QT_MOC_LITERAL(16, 202, 8), // "QWidget*"
QT_MOC_LITERAL(17, 211, 6), // "parent"
QT_MOC_LITERAL(18, 218, 28), // "showEditCurrentProfileDialog"
QT_MOC_LITERAL(19, 247, 21), // "changeSessionSettings"
QT_MOC_LITERAL(20, 269, 4), // "text"
QT_MOC_LITERAL(21, 274, 12), // "openTeletype"
QT_MOC_LITERAL(22, 287, 11), // "ptyMasterFd"
QT_MOC_LITERAL(23, 299, 24), // "setMonitorSilenceEnabled"
QT_MOC_LITERAL(24, 324, 7), // "enabled"
QT_MOC_LITERAL(25, 332, 25), // "setMonitorActivityEnabled"
QT_MOC_LITERAL(26, 358, 17), // "activeViewChanged"
QT_MOC_LITERAL(27, 376, 18), // "SessionController*"
QT_MOC_LITERAL(28, 395, 10), // "controller"
QT_MOC_LITERAL(29, 406, 22), // "activeViewTitleChanged"
QT_MOC_LITERAL(30, 429, 15), // "ViewProperties*"
QT_MOC_LITERAL(31, 445, 10), // "properties"
QT_MOC_LITERAL(32, 456, 14), // "terminalExited"
QT_MOC_LITERAL(33, 471, 6), // "newTab"
QT_MOC_LITERAL(34, 478, 24), // "overrideTerminalShortcut"
QT_MOC_LITERAL(35, 503, 19), // "sessionStateChanged"
QT_MOC_LITERAL(36, 523, 5) // "state"

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

static const uint qt_meta_data_Konsole__Part[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  114,    2, 0x06 /* Public */,
       7,    0,  119,    2, 0x06 /* Public */,
       8,    0,  120,    2, 0x06 /* Public */,
       9,    1,  121,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    2,  124,    2, 0x0a /* Public */,
      11,    1,  129,    2, 0x2a /* Public | MethodCloned */,
      11,    0,  132,    2, 0x2a /* Public | MethodCloned */,
      14,    0,  133,    2, 0x0a /* Public */,
      15,    1,  134,    2, 0x0a /* Public */,
      18,    1,  137,    2, 0x0a /* Public */,
      19,    1,  140,    2, 0x0a /* Public */,
      21,    1,  143,    2, 0x0a /* Public */,
      23,    1,  146,    2, 0x0a /* Public */,
      25,    1,  149,    2, 0x0a /* Public */,
      26,    1,  152,    2, 0x08 /* Private */,
      29,    1,  155,    2, 0x08 /* Private */,
      32,    0,  158,    2, 0x08 /* Private */,
      33,    0,  159,    2, 0x08 /* Private */,
      34,    2,  160,    2, 0x08 /* Private */,
      35,    1,  165,    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, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Void, QMetaType::Int,   22,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, 0x80000000 | 27,   28,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    2,    6,
    QMetaType::Void, QMetaType::Int,   36,

       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]) = std::move(_r); }  break;
        case 8: _t->showManageProfilesDialog((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 9: _t->showEditCurrentProfileDialog((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 10: _t->changeSessionSettings((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->openTeletype((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setMonitorSilenceEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->setMonitorActivityEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->activeViewChanged((*reinterpret_cast< SessionController*(*)>(_a[1]))); break;
        case 15: _t->activeViewTitleChanged((*reinterpret_cast< ViewProperties*(*)>(_a[1]))); break;
        case 16: _t->terminalExited(); break;
        case 17: _t->newTab(); break;
        case 18: _t->overrideTerminalShortcut((*reinterpret_cast< QKeyEvent*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 19: _t->sessionStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Part::*_t)(QKeyEvent * , bool & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Part::overrideShortcut)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Part::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Part::silenceDetected)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Part::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Part::activityDetected)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Part::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == 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, nullptr, 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 nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Konsole__Part.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "TerminalInterface"))
        return static_cast< TerminalInterface*>(this);
    if (!strcmp(_clname, "org.kde.TerminalInterface"))
        return static_cast< TerminalInterface*>(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 < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void Konsole::Part::overrideShortcut(QKeyEvent * _t1, bool & _t2)
{
    void *_a[] = { 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, nullptr);
}

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

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