/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.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/krdc-17.04.3/mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#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.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_MainWindow_t {
    QByteArrayData data[47];
    char stringdata0[654];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 13), // "newConnection"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 6), // "newUrl"
QT_MOC_LITERAL(4, 33, 29), // "switchFullscreenWhenConnected"
QT_MOC_LITERAL(5, 63, 7), // "tabName"
QT_MOC_LITERAL(6, 71, 19), // "restoreOpenSessions"
QT_MOC_LITERAL(7, 91, 4), // "quit"
QT_MOC_LITERAL(8, 96, 11), // "systemEvent"
QT_MOC_LITERAL(9, 108, 11), // "preferences"
QT_MOC_LITERAL(10, 120, 22), // "configureNotifications"
QT_MOC_LITERAL(11, 143, 11), // "showMenubar"
QT_MOC_LITERAL(12, 155, 15), // "resizeTabWidget"
QT_MOC_LITERAL(13, 171, 1), // "w"
QT_MOC_LITERAL(14, 173, 1), // "h"
QT_MOC_LITERAL(15, 175, 13), // "statusChanged"
QT_MOC_LITERAL(16, 189, 24), // "RemoteView::RemoteStatus"
QT_MOC_LITERAL(17, 214, 6), // "status"
QT_MOC_LITERAL(18, 221, 21), // "showRemoteViewToolbar"
QT_MOC_LITERAL(19, 243, 14), // "takeScreenshot"
QT_MOC_LITERAL(20, 258, 16), // "switchFullscreen"
QT_MOC_LITERAL(21, 275, 14), // "disconnectHost"
QT_MOC_LITERAL(22, 290, 8), // "closeTab"
QT_MOC_LITERAL(23, 299, 5), // "index"
QT_MOC_LITERAL(24, 305, 15), // "openTabSettings"
QT_MOC_LITERAL(25, 321, 14), // "tabContextMenu"
QT_MOC_LITERAL(26, 336, 5), // "point"
QT_MOC_LITERAL(27, 342, 8), // "viewOnly"
QT_MOC_LITERAL(28, 351, 15), // "showLocalCursor"
QT_MOC_LITERAL(29, 367, 11), // "grabAllKeys"
QT_MOC_LITERAL(30, 379, 5), // "scale"
QT_MOC_LITERAL(31, 385, 18), // "updateActionStatus"
QT_MOC_LITERAL(32, 404, 19), // "updateConfiguration"
QT_MOC_LITERAL(33, 424, 10), // "tabChanged"
QT_MOC_LITERAL(34, 435, 19), // "newConnectionWidget"
QT_MOC_LITERAL(35, 455, 8), // "QWidget*"
QT_MOC_LITERAL(36, 464, 17), // "newConnectionPage"
QT_MOC_LITERAL(37, 482, 10), // "clearInput"
QT_MOC_LITERAL(38, 493, 27), // "openFromRemoteDesktopsModel"
QT_MOC_LITERAL(39, 521, 29), // "selectFromRemoteDesktopsModel"
QT_MOC_LITERAL(40, 551, 16), // "createDockWidget"
QT_MOC_LITERAL(41, 568, 25), // "showConnectionContextMenu"
QT_MOC_LITERAL(42, 594, 3), // "pos"
QT_MOC_LITERAL(43, 598, 22), // "saveConnectionListSort"
QT_MOC_LITERAL(44, 621, 12), // "logicalindex"
QT_MOC_LITERAL(45, 634, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(46, 648, 5) // "order"

    },
    "MainWindow\0newConnection\0\0newUrl\0"
    "switchFullscreenWhenConnected\0tabName\0"
    "restoreOpenSessions\0quit\0systemEvent\0"
    "preferences\0configureNotifications\0"
    "showMenubar\0resizeTabWidget\0w\0h\0"
    "statusChanged\0RemoteView::RemoteStatus\0"
    "status\0showRemoteViewToolbar\0"
    "takeScreenshot\0switchFullscreen\0"
    "disconnectHost\0closeTab\0index\0"
    "openTabSettings\0tabContextMenu\0point\0"
    "viewOnly\0showLocalCursor\0grabAllKeys\0"
    "scale\0updateActionStatus\0updateConfiguration\0"
    "tabChanged\0newConnectionWidget\0QWidget*\0"
    "newConnectionPage\0clearInput\0"
    "openFromRemoteDesktopsModel\0"
    "selectFromRemoteDesktopsModel\0"
    "createDockWidget\0showConnectionContextMenu\0"
    "pos\0saveConnectionListSort\0logicalindex\0"
    "Qt::SortOrder\0order"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    3,  184,    2, 0x0a /* Public */,
       1,    2,  191,    2, 0x2a /* Public | MethodCloned */,
       1,    1,  196,    2, 0x2a /* Public | MethodCloned */,
       1,    0,  199,    2, 0x2a /* Public | MethodCloned */,
       6,    0,  200,    2, 0x08 /* Private */,
       7,    1,  201,    2, 0x08 /* Private */,
       7,    0,  204,    2, 0x28 /* Private | MethodCloned */,
       9,    0,  205,    2, 0x08 /* Private */,
      10,    0,  206,    2, 0x08 /* Private */,
      11,    0,  207,    2, 0x08 /* Private */,
      12,    2,  208,    2, 0x08 /* Private */,
      15,    1,  213,    2, 0x08 /* Private */,
      18,    0,  216,    2, 0x08 /* Private */,
      19,    0,  217,    2, 0x08 /* Private */,
      20,    0,  218,    2, 0x08 /* Private */,
      21,    0,  219,    2, 0x08 /* Private */,
      22,    1,  220,    2, 0x08 /* Private */,
      24,    1,  223,    2, 0x08 /* Private */,
      25,    1,  226,    2, 0x08 /* Private */,
      27,    1,  229,    2, 0x08 /* Private */,
      28,    1,  232,    2, 0x08 /* Private */,
      29,    1,  235,    2, 0x08 /* Private */,
      30,    1,  238,    2, 0x08 /* Private */,
      31,    0,  241,    2, 0x08 /* Private */,
      32,    0,  242,    2, 0x08 /* Private */,
      33,    1,  243,    2, 0x08 /* Private */,
      34,    0,  246,    2, 0x08 /* Private */,
      36,    1,  247,    2, 0x08 /* Private */,
      36,    0,  250,    2, 0x28 /* Private | MethodCloned */,
      38,    1,  251,    2, 0x08 /* Private */,
      39,    1,  254,    2, 0x08 /* Private */,
      40,    0,  257,    2, 0x08 /* Private */,
      41,    1,  258,    2, 0x08 /* Private */,
      43,    2,  261,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl, QMetaType::Bool, QMetaType::QString,    3,    4,    5,
    QMetaType::Void, QMetaType::QUrl, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   13,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::QPoint,   26,
    QMetaType::Void, QMetaType::Bool,   27,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   29,
    QMetaType::Void, QMetaType::Bool,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   23,
    0x80000000 | 35,
    QMetaType::Void, QMetaType::Bool,   37,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   23,
    QMetaType::Void, QMetaType::QModelIndex,   23,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   42,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 45,   44,   46,

       0        // eod
};

void 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->newConnection((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->newConnection((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->newConnection((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->newConnection(); break;
        case 4: _t->restoreOpenSessions(); break;
        case 5: _t->quit((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->quit(); break;
        case 7: _t->preferences(); break;
        case 8: _t->configureNotifications(); break;
        case 9: _t->showMenubar(); break;
        case 10: _t->resizeTabWidget((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->statusChanged((*reinterpret_cast< RemoteView::RemoteStatus(*)>(_a[1]))); break;
        case 12: _t->showRemoteViewToolbar(); break;
        case 13: _t->takeScreenshot(); break;
        case 14: _t->switchFullscreen(); break;
        case 15: _t->disconnectHost(); break;
        case 16: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->openTabSettings((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->tabContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 19: _t->viewOnly((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->showLocalCursor((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->grabAllKeys((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->scale((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 23: _t->updateActionStatus(); break;
        case 24: _t->updateConfiguration(); break;
        case 25: _t->tabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: { QWidget* _r = _t->newConnectionWidget();
            if (_a[0]) *reinterpret_cast< QWidget**>(_a[0]) = _r; }  break;
        case 27: _t->newConnectionPage((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 28: _t->newConnectionPage(); break;
        case 29: _t->openFromRemoteDesktopsModel((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 30: _t->selectFromRemoteDesktopsModel((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 31: _t->createDockWidget(); break;
        case 32: _t->showConnectionContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 33: _t->saveConnectionListSort((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const Qt::SortOrder(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObject MainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
      qt_meta_data_MainWindow,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int 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 < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 34)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 34;
    }
    return _id;
}
struct qt_meta_stringdata_MinimizePixel_t {
    QByteArrayData data[3];
    char stringdata0[28];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MinimizePixel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MinimizePixel_t qt_meta_stringdata_MinimizePixel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "MinimizePixel"
QT_MOC_LITERAL(1, 14, 12), // "rightClicked"
QT_MOC_LITERAL(2, 27, 0) // ""

    },
    "MinimizePixel\0rightClicked\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MinimizePixel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void MinimizePixel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MinimizePixel *_t = static_cast<MinimizePixel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->rightClicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MinimizePixel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MinimizePixel::rightClicked)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject MinimizePixel::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_MinimizePixel.data,
      qt_meta_data_MinimizePixel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *MinimizePixel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_MinimizePixel.stringdata0))
        return static_cast<void*>(const_cast< MinimizePixel*>(this));
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void MinimizePixel::rightClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
struct qt_meta_stringdata_RemoteViewScrollArea_t {
    QByteArrayData data[5];
    char stringdata0[34];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_RemoteViewScrollArea_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_RemoteViewScrollArea_t qt_meta_stringdata_RemoteViewScrollArea = {
    {
QT_MOC_LITERAL(0, 0, 20), // "RemoteViewScrollArea"
QT_MOC_LITERAL(1, 21, 7), // "resized"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 1), // "w"
QT_MOC_LITERAL(4, 32, 1) // "h"

    },
    "RemoteViewScrollArea\0resized\0\0w\0h"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_RemoteViewScrollArea[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,

       0        // eod
};

void RemoteViewScrollArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RemoteViewScrollArea *_t = static_cast<RemoteViewScrollArea *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->resized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (RemoteViewScrollArea::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RemoteViewScrollArea::resized)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject RemoteViewScrollArea::staticMetaObject = {
    { &QScrollArea::staticMetaObject, qt_meta_stringdata_RemoteViewScrollArea.data,
      qt_meta_data_RemoteViewScrollArea,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *RemoteViewScrollArea::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_RemoteViewScrollArea.stringdata0))
        return static_cast<void*>(const_cast< RemoteViewScrollArea*>(this));
    return QScrollArea::qt_metacast(_clname);
}

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

// SIGNAL 0
void RemoteViewScrollArea::resized(int _t1, int _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);
}
QT_END_MOC_NAMESPACE
