/****************************************************************************
** 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/picmi-17.04.3/src/gui/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[26];
    char stringdata0[301];
};
#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, 15), // "startRandomGame"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 11), // "restartGame"
QT_MOC_LITERAL(4, 40, 12), // "togglePaused"
QT_MOC_LITERAL(5, 53, 6), // "paused"
QT_MOC_LITERAL(6, 60, 8), // "settings"
QT_MOC_LITERAL(7, 69, 13), // "gameCompleted"
QT_MOC_LITERAL(8, 83, 7), // "gameWon"
QT_MOC_LITERAL(9, 91, 4), // "undo"
QT_MOC_LITERAL(10, 96, 4), // "hint"
QT_MOC_LITERAL(11, 101, 5), // "solve"
QT_MOC_LITERAL(12, 107, 9), // "saveState"
QT_MOC_LITERAL(13, 117, 9), // "loadState"
QT_MOC_LITERAL(14, 127, 10), // "highscores"
QT_MOC_LITERAL(15, 138, 12), // "levelChanged"
QT_MOC_LITERAL(16, 151, 24), // "const KgDifficultyLevel*"
QT_MOC_LITERAL(17, 176, 5), // "level"
QT_MOC_LITERAL(18, 182, 16), // "updatePlayedTime"
QT_MOC_LITERAL(19, 199, 15), // "updatePositions"
QT_MOC_LITERAL(20, 215, 9), // "loadBoard"
QT_MOC_LITERAL(21, 225, 16), // "toggleFullscreen"
QT_MOC_LITERAL(22, 242, 11), // "full_screen"
QT_MOC_LITERAL(23, 254, 20), // "undoStackSizeChanged"
QT_MOC_LITERAL(24, 275, 4), // "size"
QT_MOC_LITERAL(25, 280, 20) // "saveStackSizeChanged"

    },
    "MainWindow\0startRandomGame\0\0restartGame\0"
    "togglePaused\0paused\0settings\0gameCompleted\0"
    "gameWon\0undo\0hint\0solve\0saveState\0"
    "loadState\0highscores\0levelChanged\0"
    "const KgDifficultyLevel*\0level\0"
    "updatePlayedTime\0updatePositions\0"
    "loadBoard\0toggleFullscreen\0full_screen\0"
    "undoStackSizeChanged\0size\0"
    "saveStackSizeChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x08 /* Private */,
       3,    0,  110,    2, 0x08 /* Private */,
       4,    1,  111,    2, 0x08 /* Private */,
       6,    0,  114,    2, 0x08 /* Private */,
       7,    0,  115,    2, 0x08 /* Private */,
       8,    0,  116,    2, 0x08 /* Private */,
       9,    0,  117,    2, 0x08 /* Private */,
      10,    0,  118,    2, 0x08 /* Private */,
      11,    0,  119,    2, 0x08 /* Private */,
      12,    0,  120,    2, 0x08 /* Private */,
      13,    0,  121,    2, 0x08 /* Private */,
      14,    0,  122,    2, 0x08 /* Private */,
      15,    1,  123,    2, 0x08 /* Private */,
      18,    0,  126,    2, 0x08 /* Private */,
      19,    0,  127,    2, 0x08 /* Private */,
      20,    0,  128,    2, 0x08 /* Private */,
      21,    1,  129,    2, 0x08 /* Private */,
      23,    1,  132,    2, 0x08 /* Private */,
      25,    1,  135,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void, QMetaType::Int,   24,
    QMetaType::Void, QMetaType::Int,   24,

       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->startRandomGame(); break;
        case 1: _t->restartGame(); break;
        case 2: _t->togglePaused((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->settings(); break;
        case 4: _t->gameCompleted(); break;
        case 5: _t->gameWon(); break;
        case 6: _t->undo(); break;
        case 7: _t->hint(); break;
        case 8: _t->solve(); break;
        case 9: _t->saveState(); break;
        case 10: _t->loadState(); break;
        case 11: _t->highscores(); break;
        case 12: _t->levelChanged((*reinterpret_cast< const KgDifficultyLevel*(*)>(_a[1]))); break;
        case 13: _t->updatePlayedTime(); break;
        case 14: _t->updatePositions(); break;
        case 15: _t->loadBoard(); break;
        case 16: _t->toggleFullscreen((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->undoStackSizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->saveStackSizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< const KgDifficultyLevel* >(); break;
            }
            break;
        }
    }
}

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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
