/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.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/MainWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MainWindow.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__MainWindow_t {
    QByteArrayData data[40];
    char stringdata0[575];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Konsole__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Konsole__MainWindow_t qt_meta_stringdata_Konsole__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Konsole::MainWindow"
QT_MOC_LITERAL(1, 20, 16), // "newWindowRequest"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 12), // "Profile::Ptr"
QT_MOC_LITERAL(4, 51, 7), // "profile"
QT_MOC_LITERAL(5, 59, 9), // "directory"
QT_MOC_LITERAL(6, 69, 12), // "viewDetached"
QT_MOC_LITERAL(7, 82, 8), // "Session*"
QT_MOC_LITERAL(8, 91, 7), // "session"
QT_MOC_LITERAL(9, 99, 6), // "newTab"
QT_MOC_LITERAL(10, 106, 8), // "cloneTab"
QT_MOC_LITERAL(11, 115, 9), // "newWindow"
QT_MOC_LITERAL(12, 125, 24), // "showManageProfilesDialog"
QT_MOC_LITERAL(13, 150, 15), // "activateMenuBar"
QT_MOC_LITERAL(14, 166, 18), // "showSettingsDialog"
QT_MOC_LITERAL(15, 185, 15), // "showProfilePage"
QT_MOC_LITERAL(16, 201, 19), // "showShortcutsDialog"
QT_MOC_LITERAL(17, 221, 14), // "newFromProfile"
QT_MOC_LITERAL(18, 236, 17), // "activeViewChanged"
QT_MOC_LITERAL(19, 254, 18), // "SessionController*"
QT_MOC_LITERAL(20, 273, 10), // "controller"
QT_MOC_LITERAL(21, 284, 20), // "disconnectController"
QT_MOC_LITERAL(22, 305, 22), // "activeViewTitleChanged"
QT_MOC_LITERAL(23, 328, 15), // "ViewProperties*"
QT_MOC_LITERAL(24, 344, 18), // "profileListChanged"
QT_MOC_LITERAL(25, 363, 15), // "QList<QAction*>"
QT_MOC_LITERAL(26, 379, 7), // "actions"
QT_MOC_LITERAL(27, 387, 22), // "configureNotifications"
QT_MOC_LITERAL(28, 410, 16), // "updateWindowIcon"
QT_MOC_LITERAL(29, 427, 19), // "updateWindowCaption"
QT_MOC_LITERAL(30, 447, 8), // "openUrls"
QT_MOC_LITERAL(31, 456, 11), // "QList<QUrl>"
QT_MOC_LITERAL(32, 468, 4), // "urls"
QT_MOC_LITERAL(33, 473, 14), // "setProfileList"
QT_MOC_LITERAL(34, 488, 12), // "ProfileList*"
QT_MOC_LITERAL(35, 501, 4), // "list"
QT_MOC_LITERAL(36, 506, 20), // "applyKonsoleSettings"
QT_MOC_LITERAL(37, 527, 21), // "updateUseTransparency"
QT_MOC_LITERAL(38, 549, 14), // "viewFullScreen"
QT_MOC_LITERAL(39, 564, 10) // "fullScreen"

    },
    "Konsole::MainWindow\0newWindowRequest\0"
    "\0Profile::Ptr\0profile\0directory\0"
    "viewDetached\0Session*\0session\0newTab\0"
    "cloneTab\0newWindow\0showManageProfilesDialog\0"
    "activateMenuBar\0showSettingsDialog\0"
    "showProfilePage\0showShortcutsDialog\0"
    "newFromProfile\0activeViewChanged\0"
    "SessionController*\0controller\0"
    "disconnectController\0activeViewTitleChanged\0"
    "ViewProperties*\0profileListChanged\0"
    "QList<QAction*>\0actions\0configureNotifications\0"
    "updateWindowIcon\0updateWindowCaption\0"
    "openUrls\0QList<QUrl>\0urls\0setProfileList\0"
    "ProfileList*\0list\0applyKonsoleSettings\0"
    "updateUseTransparency\0viewFullScreen\0"
    "fullScreen"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__MainWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  129,    2, 0x06 /* Public */,
       6,    1,  134,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,  137,    2, 0x08 /* Private */,
      10,    0,  138,    2, 0x08 /* Private */,
      11,    0,  139,    2, 0x08 /* Private */,
      12,    0,  140,    2, 0x08 /* Private */,
      13,    0,  141,    2, 0x08 /* Private */,
      14,    1,  142,    2, 0x08 /* Private */,
      14,    0,  145,    2, 0x28 /* Private | MethodCloned */,
      16,    0,  146,    2, 0x08 /* Private */,
      17,    1,  147,    2, 0x08 /* Private */,
      18,    1,  150,    2, 0x08 /* Private */,
      21,    1,  153,    2, 0x08 /* Private */,
      22,    1,  156,    2, 0x08 /* Private */,
      24,    1,  159,    2, 0x08 /* Private */,
      27,    0,  162,    2, 0x08 /* Private */,
      28,    0,  163,    2, 0x08 /* Private */,
      29,    0,  164,    2, 0x08 /* Private */,
      30,    1,  165,    2, 0x08 /* Private */,
      33,    1,  168,    2, 0x08 /* Private */,
      36,    0,  171,    2, 0x08 /* Private */,
      37,    0,  172,    2, 0x08 /* Private */,
      38,    1,  173,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,    5,
    QMetaType::Void, 0x80000000 | 7,    8,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 23,    2,
    QMetaType::Void, 0x80000000 | 25,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 31,   32,
    QMetaType::Void, 0x80000000 | 34,   35,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   39,

       0        // eod
};

void Konsole::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainWindow *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->newWindowRequest((*reinterpret_cast< Profile::Ptr(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->viewDetached((*reinterpret_cast< Session*(*)>(_a[1]))); break;
        case 2: _t->newTab(); break;
        case 3: _t->cloneTab(); break;
        case 4: _t->newWindow(); break;
        case 5: _t->showManageProfilesDialog(); break;
        case 6: _t->activateMenuBar(); break;
        case 7: _t->showSettingsDialog((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 8: _t->showSettingsDialog(); break;
        case 9: _t->showShortcutsDialog(); break;
        case 10: _t->newFromProfile((*reinterpret_cast< Profile::Ptr(*)>(_a[1]))); break;
        case 11: _t->activeViewChanged((*reinterpret_cast< SessionController*(*)>(_a[1]))); break;
        case 12: _t->disconnectController((*reinterpret_cast< SessionController*(*)>(_a[1]))); break;
        case 13: _t->activeViewTitleChanged((*reinterpret_cast< ViewProperties*(*)>(_a[1]))); break;
        case 14: _t->profileListChanged((*reinterpret_cast< const QList<QAction*>(*)>(_a[1]))); break;
        case 15: _t->configureNotifications(); break;
        case 16: _t->updateWindowIcon(); break;
        case 17: _t->updateWindowCaption(); break;
        case 18: _t->openUrls((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        case 19: _t->setProfileList((*reinterpret_cast< ProfileList*(*)>(_a[1]))); break;
        case 20: _t->applyKonsoleSettings(); break;
        case 21: _t->updateUseTransparency(); break;
        case 22: _t->viewFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (MainWindow::*_t)(Profile::Ptr , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::newWindowRequest)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)(Session * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::viewDetached)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Konsole::MainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_Konsole__MainWindow.data,
      qt_meta_data_Konsole__MainWindow,  qt_static_metacall, nullptr, nullptr}
};


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

void *Konsole::MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Konsole__MainWindow.stringdata0))
        return static_cast<void*>(this);
    return KXmlGuiWindow::qt_metacast(_clname);
}

int Konsole::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KXmlGuiWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}

// SIGNAL 0
void Konsole::MainWindow::newWindowRequest(Profile::Ptr _t1, const QString & _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::MainWindow::viewDetached(Session * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
