/****************************************************************************
** Meta object code from reading C++ file 'setupwidget.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/kigo-17.12.3/src/gui/widgets/setupwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'setupwidget.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_Kigo__SetupWidget_t {
    QByteArrayData data[12];
    char stringdata0[183];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kigo__SetupWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kigo__SetupWidget_t qt_meta_stringdata_Kigo__SetupWidget = {
    {
QT_MOC_LITERAL(0, 0, 17), // "Kigo::SetupWidget"
QT_MOC_LITERAL(1, 18, 12), // "startClicked"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 7), // "newGame"
QT_MOC_LITERAL(4, 40, 10), // "loadedGame"
QT_MOC_LITERAL(5, 51, 8), // "fileName"
QT_MOC_LITERAL(6, 60, 6), // "commit"
QT_MOC_LITERAL(7, 67, 32), // "on_startMoveSpinBox_valueChanged"
QT_MOC_LITERAL(8, 100, 18), // "onBoardSizeChanged"
QT_MOC_LITERAL(9, 119, 31), // "on_handicapSpinBox_valueChanged"
QT_MOC_LITERAL(10, 151, 15), // "whiteIsComputer"
QT_MOC_LITERAL(11, 167, 15) // "blackIsComputer"

    },
    "Kigo::SetupWidget\0startClicked\0\0newGame\0"
    "loadedGame\0fileName\0commit\0"
    "on_startMoveSpinBox_valueChanged\0"
    "onBoardSizeChanged\0on_handicapSpinBox_valueChanged\0"
    "whiteIsComputer\0blackIsComputer"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kigo__SetupWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   60,    2, 0x0a /* Public */,
       4,    1,   61,    2, 0x0a /* Public */,
       6,    0,   64,    2, 0x0a /* Public */,
       7,    1,   65,    2, 0x08 /* Private */,
       8,    0,   68,    2, 0x08 /* Private */,
       9,    1,   69,    2, 0x08 /* Private */,
      10,    1,   72,    2, 0x08 /* Private */,
      11,    1,   75,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void Kigo::SetupWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SetupWidget *_t = static_cast<SetupWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->startClicked(); break;
        case 1: _t->newGame(); break;
        case 2: _t->loadedGame((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->commit(); break;
        case 4: _t->on_startMoveSpinBox_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->onBoardSizeChanged(); break;
        case 6: _t->on_handicapSpinBox_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->whiteIsComputer((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->blackIsComputer((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SetupWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SetupWidget::startClicked)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Kigo::SetupWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Kigo__SetupWidget.data,
      qt_meta_data_Kigo__SetupWidget,  qt_static_metacall, nullptr, nullptr}
};


const QMetaObject *Kigo::SetupWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Kigo::SetupWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kigo__SetupWidget.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int Kigo::SetupWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void Kigo::SetupWidget::startClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
