/****************************************************************************
** 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/step-17.04.3/step/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[31];
    char stringdata0[393];
};
#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, 7), // "newFile"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 8), // "openFile"
QT_MOC_LITERAL(4, 29, 3), // "url"
QT_MOC_LITERAL(5, 33, 8), // "startUrl"
QT_MOC_LITERAL(6, 42, 10), // "saveFileAs"
QT_MOC_LITERAL(7, 53, 8), // "saveFile"
QT_MOC_LITERAL(8, 62, 12), // "openTutorial"
QT_MOC_LITERAL(9, 75, 11), // "openExample"
QT_MOC_LITERAL(10, 87, 16), // "openLocalExample"
QT_MOC_LITERAL(11, 104, 13), // "uploadExample"
QT_MOC_LITERAL(12, 118, 16), // "downloadExamples"
QT_MOC_LITERAL(13, 135, 13), // "configureStep"
QT_MOC_LITERAL(14, 149, 19), // "simulationStartStop"
QT_MOC_LITERAL(15, 169, 15), // "simulationStart"
QT_MOC_LITERAL(16, 185, 14), // "simulationStop"
QT_MOC_LITERAL(17, 200, 17), // "simulationStopped"
QT_MOC_LITERAL(18, 218, 6), // "result"
QT_MOC_LITERAL(19, 225, 11), // "setRunSpeed"
QT_MOC_LITERAL(20, 237, 12), // "setFullSpeed"
QT_MOC_LITERAL(21, 250, 12), // "setSlowSpeed"
QT_MOC_LITERAL(22, 263, 14), // "setSlowerSpeed"
QT_MOC_LITERAL(23, 278, 15), // "setSlowestSpeed"
QT_MOC_LITERAL(24, 294, 12), // "setStepSpeed"
QT_MOC_LITERAL(25, 307, 13), // "updateCaption"
QT_MOC_LITERAL(26, 321, 15), // "undoTextChanged"
QT_MOC_LITERAL(27, 337, 8), // "undoText"
QT_MOC_LITERAL(28, 346, 15), // "redoTextChanged"
QT_MOC_LITERAL(29, 362, 8), // "redoText"
QT_MOC_LITERAL(30, 371, 21) // "worldSelectionChanged"

    },
    "MainWindow\0newFile\0\0openFile\0url\0"
    "startUrl\0saveFileAs\0saveFile\0openTutorial\0"
    "openExample\0openLocalExample\0uploadExample\0"
    "downloadExamples\0configureStep\0"
    "simulationStartStop\0simulationStart\0"
    "simulationStop\0simulationStopped\0"
    "result\0setRunSpeed\0setFullSpeed\0"
    "setSlowSpeed\0setSlowerSpeed\0setSlowestSpeed\0"
    "setStepSpeed\0updateCaption\0undoTextChanged\0"
    "undoText\0redoTextChanged\0redoText\0"
    "worldSelectionChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  154,    2, 0x0a /* Public */,
       3,    2,  155,    2, 0x0a /* Public */,
       3,    1,  160,    2, 0x2a /* Public | MethodCloned */,
       3,    0,  163,    2, 0x2a /* Public | MethodCloned */,
       6,    2,  164,    2, 0x0a /* Public */,
       6,    1,  169,    2, 0x2a /* Public | MethodCloned */,
       6,    0,  172,    2, 0x2a /* Public | MethodCloned */,
       7,    0,  173,    2, 0x0a /* Public */,
       8,    0,  174,    2, 0x0a /* Public */,
       9,    0,  175,    2, 0x0a /* Public */,
      10,    0,  176,    2, 0x0a /* Public */,
      11,    0,  177,    2, 0x0a /* Public */,
      12,    0,  178,    2, 0x0a /* Public */,
      13,    0,  179,    2, 0x0a /* Public */,
      14,    0,  180,    2, 0x0a /* Public */,
      15,    0,  181,    2, 0x0a /* Public */,
      16,    0,  182,    2, 0x0a /* Public */,
      17,    1,  183,    2, 0x0a /* Public */,
      19,    1,  186,    2, 0x0a /* Public */,
      20,    0,  189,    2, 0x0a /* Public */,
      21,    0,  190,    2, 0x0a /* Public */,
      22,    0,  191,    2, 0x0a /* Public */,
      23,    0,  192,    2, 0x0a /* Public */,
      24,    0,  193,    2, 0x0a /* Public */,
      25,    0,  194,    2, 0x09 /* Protected */,
      26,    1,  195,    2, 0x09 /* Protected */,
      28,    1,  198,    2, 0x09 /* Protected */,
      30,    0,  201,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::QUrl, QMetaType::QUrl,    4,    5,
    QMetaType::Bool, QMetaType::QUrl,    4,
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::QUrl, QMetaType::QUrl,    4,    5,
    QMetaType::Bool, QMetaType::QUrl,    4,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   27,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void,

       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: { bool _r = _t->newFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: { bool _r = _t->openFile((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { bool _r = _t->openFile((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 3: { bool _r = _t->openFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 4: { bool _r = _t->saveFileAs((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->saveFileAs((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: { bool _r = _t->saveFileAs();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: { bool _r = _t->saveFile();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: _t->openTutorial(); break;
        case 9: _t->openExample(); break;
        case 10: _t->openLocalExample(); break;
        case 11: _t->uploadExample(); break;
        case 12: _t->downloadExamples(); break;
        case 13: _t->configureStep(); break;
        case 14: _t->simulationStartStop(); break;
        case 15: _t->simulationStart(); break;
        case 16: _t->simulationStop(); break;
        case 17: _t->simulationStopped((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->setRunSpeed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->setFullSpeed(); break;
        case 20: _t->setSlowSpeed(); break;
        case 21: _t->setSlowerSpeed(); break;
        case 22: _t->setSlowestSpeed(); break;
        case 23: _t->setStepSpeed(); break;
        case 24: _t->updateCaption(); break;
        case 25: _t->undoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 26: _t->redoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 27: _t->worldSelectionChanged(); 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 < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 28;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
