/****************************************************************************
** 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/kpat-17.12.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.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_MainWindow_t {
    QByteArrayData data[44];
    char stringdata0[538];
};
#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, 8), // "loadGame"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 3), // "url"
QT_MOC_LITERAL(4, 25, 16), // "addToRecentFiles"
QT_MOC_LITERAL(5, 42, 27), // "slotShowGameSelectionScreen"
QT_MOC_LITERAL(6, 70, 16), // "slotGameSelected"
QT_MOC_LITERAL(7, 87, 2), // "id"
QT_MOC_LITERAL(8, 90, 7), // "newGame"
QT_MOC_LITERAL(9, 98, 11), // "startRandom"
QT_MOC_LITERAL(10, 110, 7), // "restart"
QT_MOC_LITERAL(11, 118, 15), // "newNumberedDeal"
QT_MOC_LITERAL(12, 134, 13), // "startNumbered"
QT_MOC_LITERAL(13, 148, 6), // "gameId"
QT_MOC_LITERAL(14, 155, 10), // "dealNumber"
QT_MOC_LITERAL(15, 166, 8), // "nextDeal"
QT_MOC_LITERAL(16, 175, 12), // "previousDeal"
QT_MOC_LITERAL(17, 188, 8), // "saveGame"
QT_MOC_LITERAL(18, 197, 9), // "showStats"
QT_MOC_LITERAL(19, 207, 8), // "undoMove"
QT_MOC_LITERAL(20, 216, 8), // "redoMove"
QT_MOC_LITERAL(21, 225, 10), // "toggleDrop"
QT_MOC_LITERAL(22, 236, 11), // "toggleHints"
QT_MOC_LITERAL(23, 248, 10), // "toggleDemo"
QT_MOC_LITERAL(24, 259, 16), // "toggleDemoAction"
QT_MOC_LITERAL(25, 276, 6), // "active"
QT_MOC_LITERAL(26, 283, 13), // "toggleMenubar"
QT_MOC_LITERAL(27, 297, 18), // "setAutoDropEnabled"
QT_MOC_LITERAL(28, 316, 7), // "enabled"
QT_MOC_LITERAL(29, 324, 12), // "enableSolver"
QT_MOC_LITERAL(30, 337, 6), // "enable"
QT_MOC_LITERAL(31, 344, 12), // "enableSounds"
QT_MOC_LITERAL(32, 357, 19), // "enableRememberState"
QT_MOC_LITERAL(33, 377, 14), // "slotPickRandom"
QT_MOC_LITERAL(34, 392, 19), // "configureAppearance"
QT_MOC_LITERAL(35, 412, 17), // "appearanceChanged"
QT_MOC_LITERAL(36, 430, 8), // "helpGame"
QT_MOC_LITERAL(37, 439, 23), // "updateSolverDescription"
QT_MOC_LITERAL(38, 463, 4), // "text"
QT_MOC_LITERAL(39, 468, 15), // "slotUpdateMoves"
QT_MOC_LITERAL(40, 484, 5), // "moves"
QT_MOC_LITERAL(41, 490, 12), // "slotSnapshot"
QT_MOC_LITERAL(42, 503, 13), // "slotSnapshot2"
QT_MOC_LITERAL(43, 517, 20) // "generateThemePreview"

    },
    "MainWindow\0loadGame\0\0url\0addToRecentFiles\0"
    "slotShowGameSelectionScreen\0"
    "slotGameSelected\0id\0newGame\0startRandom\0"
    "restart\0newNumberedDeal\0startNumbered\0"
    "gameId\0dealNumber\0nextDeal\0previousDeal\0"
    "saveGame\0showStats\0undoMove\0redoMove\0"
    "toggleDrop\0toggleHints\0toggleDemo\0"
    "toggleDemoAction\0active\0toggleMenubar\0"
    "setAutoDropEnabled\0enabled\0enableSolver\0"
    "enable\0enableSounds\0enableRememberState\0"
    "slotPickRandom\0configureAppearance\0"
    "appearanceChanged\0helpGame\0"
    "updateSolverDescription\0text\0"
    "slotUpdateMoves\0moves\0slotSnapshot\0"
    "slotSnapshot2\0generateThemePreview"
};
#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,    2,  184,    2, 0x0a /* Public */,
       1,    1,  189,    2, 0x2a /* Public | MethodCloned */,
       5,    0,  192,    2, 0x0a /* Public */,
       6,    1,  193,    2, 0x0a /* Public */,
       8,    0,  196,    2, 0x09 /* Protected */,
       9,    0,  197,    2, 0x09 /* Protected */,
       1,    0,  198,    2, 0x09 /* Protected */,
      10,    0,  199,    2, 0x09 /* Protected */,
      11,    0,  200,    2, 0x09 /* Protected */,
      12,    2,  201,    2, 0x09 /* Protected */,
      15,    0,  206,    2, 0x09 /* Protected */,
      16,    0,  207,    2, 0x09 /* Protected */,
      17,    0,  208,    2, 0x09 /* Protected */,
      18,    0,  209,    2, 0x09 /* Protected */,
      19,    0,  210,    2, 0x09 /* Protected */,
      20,    0,  211,    2, 0x09 /* Protected */,
      21,    0,  212,    2, 0x09 /* Protected */,
      22,    0,  213,    2, 0x09 /* Protected */,
      23,    0,  214,    2, 0x09 /* Protected */,
      24,    1,  215,    2, 0x09 /* Protected */,
      26,    0,  218,    2, 0x09 /* Protected */,
      27,    1,  219,    2, 0x09 /* Protected */,
      29,    1,  222,    2, 0x09 /* Protected */,
      31,    1,  225,    2, 0x09 /* Protected */,
      32,    1,  228,    2, 0x09 /* Protected */,
      33,    0,  231,    2, 0x09 /* Protected */,
      34,    0,  232,    2, 0x09 /* Protected */,
      35,    0,  233,    2, 0x09 /* Protected */,
      36,    0,  234,    2, 0x09 /* Protected */,
      37,    1,  235,    2, 0x09 /* Protected */,
      39,    1,  238,    2, 0x09 /* Protected */,
      41,    0,  241,    2, 0x08 /* Private */,
      42,    0,  242,    2, 0x08 /* Private */,
      43,    0,  243,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Bool, QMetaType::QUrl, QMetaType::Bool,    3,    4,
    QMetaType::Bool, QMetaType::QUrl,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   25,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   30,
    QMetaType::Void, QMetaType::Bool,   30,
    QMetaType::Void, QMetaType::Bool,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   38,
    QMetaType::Void, QMetaType::Int,   40,
    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: { bool _r = _t->loadGame((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->loadGame((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->slotShowGameSelectionScreen(); break;
        case 3: _t->slotGameSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->newGame(); break;
        case 5: _t->startRandom(); break;
        case 6: _t->loadGame(); break;
        case 7: _t->restart(); break;
        case 8: _t->newNumberedDeal(); break;
        case 9: _t->startNumbered((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->nextDeal(); break;
        case 11: _t->previousDeal(); break;
        case 12: _t->saveGame(); break;
        case 13: _t->showStats(); break;
        case 14: _t->undoMove(); break;
        case 15: _t->redoMove(); break;
        case 16: _t->toggleDrop(); break;
        case 17: _t->toggleHints(); break;
        case 18: _t->toggleDemo(); break;
        case 19: _t->toggleDemoAction((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->toggleMenubar(); break;
        case 21: _t->setAutoDropEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->enableSolver((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 23: _t->enableSounds((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 24: _t->enableRememberState((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->slotPickRandom(); break;
        case 26: _t->configureAppearance(); break;
        case 27: _t->appearanceChanged(); break;
        case 28: _t->helpGame(); break;
        case 29: _t->updateSolverDescription((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 30: _t->slotUpdateMoves((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 31: _t->slotSnapshot(); break;
        case 32: _t->slotSnapshot2(); break;
        case 33: _t->generateThemePreview(); break;
        default: ;
        }
    }
}

const QMetaObject MainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
      qt_meta_data_MainWindow,  qt_static_metacall, nullptr, 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 nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
        return static_cast<void*>(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;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
