/****************************************************************************
** Meta object code from reading C++ file 'interactiveconsole.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/plasma-workspace-5.8.8/components/shellprivate/interactiveconsole/interactiveconsole.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'interactiveconsole.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_InteractiveConsole_t {
    QByteArrayData data[32];
    char stringdata0[410];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_InteractiveConsole_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_InteractiveConsole_t qt_meta_stringdata_InteractiveConsole = {
    {
QT_MOC_LITERAL(0, 0, 18), // "InteractiveConsole"
QT_MOC_LITERAL(1, 19, 19), // "scriptEngineChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 11), // "modeChanged"
QT_MOC_LITERAL(4, 52, 14), // "visibleChanged"
QT_MOC_LITERAL(5, 67, 5), // "print"
QT_MOC_LITERAL(6, 73, 6), // "string"
QT_MOC_LITERAL(7, 80, 6), // "reject"
QT_MOC_LITERAL(8, 87, 14), // "openScriptFile"
QT_MOC_LITERAL(9, 102, 10), // "saveScript"
QT_MOC_LITERAL(10, 113, 17), // "scriptTextChanged"
QT_MOC_LITERAL(11, 131, 14), // "evaluateScript"
QT_MOC_LITERAL(12, 146, 11), // "clearEditor"
QT_MOC_LITERAL(13, 158, 11), // "clearOutput"
QT_MOC_LITERAL(14, 170, 19), // "scriptFileDataRecvd"
QT_MOC_LITERAL(15, 190, 9), // "KIO::Job*"
QT_MOC_LITERAL(16, 200, 3), // "job"
QT_MOC_LITERAL(17, 204, 4), // "data"
QT_MOC_LITERAL(18, 209, 17), // "scriptFileDataReq"
QT_MOC_LITERAL(19, 227, 11), // "QByteArray&"
QT_MOC_LITERAL(20, 239, 14), // "reenableEditor"
QT_MOC_LITERAL(21, 254, 5), // "KJob*"
QT_MOC_LITERAL(22, 260, 21), // "saveScriptUrlSelected"
QT_MOC_LITERAL(23, 282, 6), // "result"
QT_MOC_LITERAL(24, 289, 21), // "openScriptUrlSelected"
QT_MOC_LITERAL(25, 311, 17), // "loadScriptFromUrl"
QT_MOC_LITERAL(26, 329, 3), // "url"
QT_MOC_LITERAL(27, 333, 21), // "populateTemplatesMenu"
QT_MOC_LITERAL(28, 355, 12), // "loadTemplate"
QT_MOC_LITERAL(29, 368, 8), // "QAction*"
QT_MOC_LITERAL(30, 377, 11), // "useTemplate"
QT_MOC_LITERAL(31, 389, 20) // "modeSelectionChanged"

    },
    "InteractiveConsole\0scriptEngineChanged\0"
    "\0modeChanged\0visibleChanged\0print\0"
    "string\0reject\0openScriptFile\0saveScript\0"
    "scriptTextChanged\0evaluateScript\0"
    "clearEditor\0clearOutput\0scriptFileDataRecvd\0"
    "KIO::Job*\0job\0data\0scriptFileDataReq\0"
    "QByteArray&\0reenableEditor\0KJob*\0"
    "saveScriptUrlSelected\0result\0"
    "openScriptUrlSelected\0loadScriptFromUrl\0"
    "url\0populateTemplatesMenu\0loadTemplate\0"
    "QAction*\0useTemplate\0modeSelectionChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_InteractiveConsole[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    0,  120,    2, 0x06 /* Public */,
       4,    1,  121,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,  124,    2, 0x09 /* Protected */,
       7,    0,  127,    2, 0x09 /* Protected */,
       8,    0,  128,    2, 0x08 /* Private */,
       9,    0,  129,    2, 0x08 /* Private */,
      10,    0,  130,    2, 0x08 /* Private */,
      11,    0,  131,    2, 0x08 /* Private */,
      12,    0,  132,    2, 0x08 /* Private */,
      13,    0,  133,    2, 0x08 /* Private */,
      14,    2,  134,    2, 0x08 /* Private */,
      18,    2,  139,    2, 0x08 /* Private */,
      20,    1,  144,    2, 0x08 /* Private */,
      22,    1,  147,    2, 0x08 /* Private */,
      24,    1,  150,    2, 0x08 /* Private */,
      25,    1,  153,    2, 0x08 /* Private */,
      27,    0,  156,    2, 0x08 /* Private */,
      28,    1,  157,    2, 0x08 /* Private */,
      30,    1,  160,    2, 0x08 /* Private */,
      31,    0,  163,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray,   16,   17,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 19,   16,   17,
    QMetaType::Void, 0x80000000 | 21,   16,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::QUrl,   26,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void,

       0        // eod
};

void InteractiveConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        InteractiveConsole *_t = static_cast<InteractiveConsole *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->scriptEngineChanged(); break;
        case 1: _t->modeChanged(); break;
        case 2: _t->visibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->print((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->reject(); break;
        case 5: _t->openScriptFile(); break;
        case 6: _t->saveScript(); break;
        case 7: _t->scriptTextChanged(); break;
        case 8: _t->evaluateScript(); break;
        case 9: _t->clearEditor(); break;
        case 10: _t->clearOutput(); break;
        case 11: _t->scriptFileDataRecvd((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break;
        case 12: _t->scriptFileDataReq((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< QByteArray(*)>(_a[2]))); break;
        case 13: _t->reenableEditor((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 14: _t->saveScriptUrlSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->openScriptUrlSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->loadScriptFromUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 17: _t->populateTemplatesMenu(); break;
        case 18: _t->loadTemplate((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 19: _t->useTemplate((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 20: _t->modeSelectionChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< KIO::Job* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KIO::Job* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (InteractiveConsole::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InteractiveConsole::scriptEngineChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (InteractiveConsole::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InteractiveConsole::modeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (InteractiveConsole::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InteractiveConsole::visibleChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject InteractiveConsole::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_InteractiveConsole.data,
      qt_meta_data_InteractiveConsole,  qt_static_metacall, nullptr, nullptr}
};


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

void *InteractiveConsole::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_InteractiveConsole.stringdata0))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int InteractiveConsole::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}

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

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

// SIGNAL 2
void InteractiveConsole::visibleChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_InteractiveConsoleItem_t {
    QByteArrayData data[10];
    char stringdata0[113];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_InteractiveConsoleItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_InteractiveConsoleItem_t qt_meta_stringdata_InteractiveConsoleItem = {
    {
QT_MOC_LITERAL(0, 0, 22), // "InteractiveConsoleItem"
QT_MOC_LITERAL(1, 23, 19), // "scriptEngineChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 11), // "modeChanged"
QT_MOC_LITERAL(4, 56, 14), // "visibleChanged"
QT_MOC_LITERAL(5, 71, 10), // "loadScript"
QT_MOC_LITERAL(6, 82, 4), // "path"
QT_MOC_LITERAL(7, 87, 12), // "scriptEngine"
QT_MOC_LITERAL(8, 100, 4), // "mode"
QT_MOC_LITERAL(9, 105, 7) // "visible"

    },
    "InteractiveConsoleItem\0scriptEngineChanged\0"
    "\0modeChanged\0visibleChanged\0loadScript\0"
    "path\0scriptEngine\0mode\0visible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_InteractiveConsoleItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   34,    2, 0x06 /* Public */,
       3,    0,   35,    2, 0x06 /* Public */,
       4,    1,   36,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   39,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    6,

 // properties: name, type, flags
       7, QMetaType::QObjectStar, 0x00495003,
       8, QMetaType::QString, 0x00495103,
       9, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

void InteractiveConsoleItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        InteractiveConsoleItem *_t = static_cast<InteractiveConsoleItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->scriptEngineChanged(); break;
        case 1: _t->modeChanged(); break;
        case 2: _t->visibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->loadScript((*reinterpret_cast< const QString(*)>(_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 (InteractiveConsoleItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InteractiveConsoleItem::scriptEngineChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (InteractiveConsoleItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InteractiveConsoleItem::modeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (InteractiveConsoleItem::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InteractiveConsoleItem::visibleChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        InteractiveConsoleItem *_t = static_cast<InteractiveConsoleItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = _t->scriptEngine(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->mode(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        InteractiveConsoleItem *_t = static_cast<InteractiveConsoleItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setScriptInterface(*reinterpret_cast< QObject**>(_v)); break;
        case 1: _t->setMode(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject InteractiveConsoleItem::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_InteractiveConsoleItem.data,
      qt_meta_data_InteractiveConsoleItem,  qt_static_metacall, nullptr, nullptr}
};


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

void *InteractiveConsoleItem::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_InteractiveConsoleItem.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int InteractiveConsoleItem::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void InteractiveConsoleItem::visibleChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
