/****************************************************************************
** 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/rocs-17.04.3/src/ui/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[25];
    char stringdata0[400];
};
#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, 20), // "graphDocumentChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 29), // "GraphTheory::GraphDocumentPtr"
QT_MOC_LITERAL(4, 63, 8), // "document"
QT_MOC_LITERAL(5, 72, 23), // "showConfigurationDialog"
QT_MOC_LITERAL(6, 96, 13), // "createProject"
QT_MOC_LITERAL(7, 110, 11), // "saveProject"
QT_MOC_LITERAL(8, 122, 13), // "saveProjectAs"
QT_MOC_LITERAL(9, 136, 18), // "createCodeDocument"
QT_MOC_LITERAL(10, 155, 18), // "importCodeDocument"
QT_MOC_LITERAL(11, 174, 18), // "exportCodeDocument"
QT_MOC_LITERAL(12, 193, 19), // "createGraphDocument"
QT_MOC_LITERAL(13, 213, 19), // "importGraphDocument"
QT_MOC_LITERAL(14, 233, 19), // "exportGraphDocument"
QT_MOC_LITERAL(15, 253, 13), // "updateCaption"
QT_MOC_LITERAL(16, 267, 23), // "setupToolsPluginsAction"
QT_MOC_LITERAL(17, 291, 4), // "quit"
QT_MOC_LITERAL(18, 296, 11), // "openProject"
QT_MOC_LITERAL(19, 308, 8), // "fileName"
QT_MOC_LITERAL(20, 317, 13), // "executeScript"
QT_MOC_LITERAL(21, 331, 10), // "stopScript"
QT_MOC_LITERAL(22, 342, 22), // "showEditorPluginDialog"
QT_MOC_LITERAL(23, 365, 17), // "disableStopAction"
QT_MOC_LITERAL(24, 383, 16) // "enableStopAction"

    },
    "MainWindow\0graphDocumentChanged\0\0"
    "GraphTheory::GraphDocumentPtr\0document\0"
    "showConfigurationDialog\0createProject\0"
    "saveProject\0saveProjectAs\0createCodeDocument\0"
    "importCodeDocument\0exportCodeDocument\0"
    "createGraphDocument\0importGraphDocument\0"
    "exportGraphDocument\0updateCaption\0"
    "setupToolsPluginsAction\0quit\0openProject\0"
    "fileName\0executeScript\0stopScript\0"
    "showEditorPluginDialog\0disableStopAction\0"
    "enableStopAction"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    0,  122,    2, 0x08 /* Private */,
       6,    0,  123,    2, 0x08 /* Private */,
       7,    0,  124,    2, 0x08 /* Private */,
       8,    0,  125,    2, 0x08 /* Private */,
       9,    0,  126,    2, 0x08 /* Private */,
      10,    0,  127,    2, 0x08 /* Private */,
      11,    0,  128,    2, 0x08 /* Private */,
      12,    0,  129,    2, 0x08 /* Private */,
      13,    0,  130,    2, 0x08 /* Private */,
      14,    0,  131,    2, 0x08 /* Private */,
      15,    0,  132,    2, 0x08 /* Private */,
      16,    0,  133,    2, 0x08 /* Private */,
      17,    0,  134,    2, 0x08 /* Private */,
      18,    1,  135,    2, 0x0a /* Public */,
      18,    0,  138,    2, 0x2a /* Public | MethodCloned */,
      20,    0,  139,    2, 0x08 /* Private */,
      21,    0,  140,    2, 0x08 /* Private */,
      22,    0,  141,    2, 0x0a /* Public */,
      23,    0,  142,    2, 0x0a /* Public */,
      24,    0,  143,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    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: _t->graphDocumentChanged((*reinterpret_cast< GraphTheory::GraphDocumentPtr(*)>(_a[1]))); break;
        case 1: _t->showConfigurationDialog(); break;
        case 2: _t->createProject(); break;
        case 3: _t->saveProject(); break;
        case 4: _t->saveProjectAs(); break;
        case 5: _t->createCodeDocument(); break;
        case 6: _t->importCodeDocument(); break;
        case 7: _t->exportCodeDocument(); break;
        case 8: _t->createGraphDocument(); break;
        case 9: _t->importGraphDocument(); break;
        case 10: _t->exportGraphDocument(); break;
        case 11: _t->updateCaption(); break;
        case 12: _t->setupToolsPluginsAction(); break;
        case 13: _t->quit(); break;
        case 14: _t->openProject((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 15: _t->openProject(); break;
        case 16: _t->executeScript(); break;
        case 17: _t->stopScript(); break;
        case 18: _t->showEditorPluginDialog(); break;
        case 19: _t->disableStopAction(); break;
        case 20: _t->enableStopAction(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MainWindow::*_t)(GraphTheory::GraphDocumentPtr );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::graphDocumentChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 21;
    }
    return _id;
}

// SIGNAL 0
void MainWindow::graphDocumentChanged(GraphTheory::GraphDocumentPtr _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
