/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/lskat-17.08.3/src/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.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Mainwindow_t {
    QByteArrayData data[21];
    char stringdata0[229];
};
#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, 16), // "menuNewLSkatGame"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 11), // "menuEndGame"
QT_MOC_LITERAL(4, 41, 15), // "menuStartplayer"
QT_MOC_LITERAL(5, 57, 13), // "menuPlayer1By"
QT_MOC_LITERAL(6, 71, 13), // "menuPlayer2By"
QT_MOC_LITERAL(7, 85, 12), // "menuCardDeck"
QT_MOC_LITERAL(8, 98, 15), // "menuPlayerNames"
QT_MOC_LITERAL(9, 114, 19), // "menuClearStatistics"
QT_MOC_LITERAL(10, 134, 8), // "gameOver"
QT_MOC_LITERAL(11, 143, 6), // "winner"
QT_MOC_LITERAL(12, 150, 10), // "nextPlayer"
QT_MOC_LITERAL(13, 161, 7), // "Player*"
QT_MOC_LITERAL(14, 169, 6), // "player"
QT_MOC_LITERAL(15, 176, 11), // "changeTheme"
QT_MOC_LITERAL(16, 188, 3), // "idx"
QT_MOC_LITERAL(17, 192, 12), // "setInputType"
QT_MOC_LITERAL(18, 205, 2), // "no"
QT_MOC_LITERAL(19, 208, 15), // "InputDeviceType"
QT_MOC_LITERAL(20, 224, 4) // "type"

    },
    "Mainwindow\0menuNewLSkatGame\0\0menuEndGame\0"
    "menuStartplayer\0menuPlayer1By\0"
    "menuPlayer2By\0menuCardDeck\0menuPlayerNames\0"
    "menuClearStatistics\0gameOver\0winner\0"
    "nextPlayer\0Player*\0player\0changeTheme\0"
    "idx\0setInputType\0no\0InputDeviceType\0"
    "type"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Mainwindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x0a /* Public */,
       3,    0,   75,    2, 0x0a /* Public */,
       4,    0,   76,    2, 0x0a /* Public */,
       5,    0,   77,    2, 0x0a /* Public */,
       6,    0,   78,    2, 0x0a /* Public */,
       7,    0,   79,    2, 0x0a /* Public */,
       8,    0,   80,    2, 0x0a /* Public */,
       9,    0,   81,    2, 0x0a /* Public */,
      10,    1,   82,    2, 0x0a /* Public */,
      12,    1,   85,    2, 0x0a /* Public */,
      15,    1,   88,    2, 0x0a /* Public */,
      17,    2,   91,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 19,   18,   20,

       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->menuNewLSkatGame(); break;
        case 1: _t->menuEndGame(); break;
        case 2: _t->menuStartplayer(); break;
        case 3: _t->menuPlayer1By(); break;
        case 4: _t->menuPlayer2By(); break;
        case 5: _t->menuCardDeck(); break;
        case 6: _t->menuPlayerNames(); break;
        case 7: _t->menuClearStatistics(); break;
        case 8: _t->gameOver((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->nextPlayer((*reinterpret_cast< Player*(*)>(_a[1]))); break;
        case 10: _t->changeTheme((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setInputType((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< InputDeviceType(*)>(_a[2]))); 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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
