/****************************************************************************
** Meta object code from reading C++ file 'guifrontend.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/parley-17.12.3/src/practice/guifrontend.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'guifrontend.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_Practice__GuiFrontend_t {
    QByteArrayData data[23];
    char stringdata0[303];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Practice__GuiFrontend_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Practice__GuiFrontend_t qt_meta_stringdata_Practice__GuiFrontend = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Practice::GuiFrontend"
QT_MOC_LITERAL(1, 22, 7), // "setMode"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 4), // "Mode"
QT_MOC_LITERAL(4, 36, 4), // "mode"
QT_MOC_LITERAL(5, 41, 12), // "showQuestion"
QT_MOC_LITERAL(6, 54, 12), // "showSolution"
QT_MOC_LITERAL(7, 67, 8), // "setBoxes"
QT_MOC_LITERAL(8, 76, 7), // "grade_t"
QT_MOC_LITERAL(9, 84, 10), // "currentBox"
QT_MOC_LITERAL(10, 95, 15), // "newBoxIfCorrect"
QT_MOC_LITERAL(11, 111, 13), // "newBoxIfWrong"
QT_MOC_LITERAL(12, 125, 11), // "showSynonym"
QT_MOC_LITERAL(13, 137, 17), // "backgroundChanged"
QT_MOC_LITERAL(14, 155, 6), // "pixmap"
QT_MOC_LITERAL(15, 162, 20), // "showSetResultButtons"
QT_MOC_LITERAL(16, 183, 4), // "show"
QT_MOC_LITERAL(17, 188, 17), // "toggleResultState"
QT_MOC_LITERAL(18, 206, 27), // "countAsCorrectButtonClicked"
QT_MOC_LITERAL(19, 234, 25), // "countAsWrongButtonClicked"
QT_MOC_LITERAL(20, 260, 16), // "updateBackground"
QT_MOC_LITERAL(21, 277, 16), // "updateFontColors"
QT_MOC_LITERAL(22, 294, 8) // "setTheme"

    },
    "Practice::GuiFrontend\0setMode\0\0Mode\0"
    "mode\0showQuestion\0showSolution\0setBoxes\0"
    "grade_t\0currentBox\0newBoxIfCorrect\0"
    "newBoxIfWrong\0showSynonym\0backgroundChanged\0"
    "pixmap\0showSetResultButtons\0show\0"
    "toggleResultState\0countAsCorrectButtonClicked\0"
    "countAsWrongButtonClicked\0updateBackground\0"
    "updateFontColors\0setTheme"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Practice__GuiFrontend[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x0a /* Public */,
       5,    0,   82,    2, 0x0a /* Public */,
       6,    0,   83,    2, 0x0a /* Public */,
       7,    3,   84,    2, 0x0a /* Public */,
      12,    0,   91,    2, 0x0a /* Public */,
      13,    1,   92,    2, 0x0a /* Public */,
      15,    1,   95,    2, 0x0a /* Public */,
      17,    0,   98,    2, 0x0a /* Public */,
      18,    0,   99,    2, 0x08 /* Private */,
      19,    0,  100,    2, 0x08 /* Private */,
      20,    0,  101,    2, 0x08 /* Private */,
      21,    0,  102,    2, 0x08 /* Private */,
      22,    0,  103,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8, 0x80000000 | 8,    9,   10,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPixmap,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Practice::GuiFrontend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GuiFrontend *_t = static_cast<GuiFrontend *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setMode((*reinterpret_cast< Mode(*)>(_a[1]))); break;
        case 1: _t->showQuestion(); break;
        case 2: _t->showSolution(); break;
        case 3: _t->setBoxes((*reinterpret_cast< grade_t(*)>(_a[1])),(*reinterpret_cast< grade_t(*)>(_a[2])),(*reinterpret_cast< grade_t(*)>(_a[3]))); break;
        case 4: _t->showSynonym(); break;
        case 5: _t->backgroundChanged((*reinterpret_cast< const QPixmap(*)>(_a[1]))); break;
        case 6: _t->showSetResultButtons((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->toggleResultState(); break;
        case 8: _t->countAsCorrectButtonClicked(); break;
        case 9: _t->countAsWrongButtonClicked(); break;
        case 10: _t->updateBackground(); break;
        case 11: _t->updateFontColors(); break;
        case 12: _t->setTheme(); break;
        default: ;
        }
    }
}

const QMetaObject Practice::GuiFrontend::staticMetaObject = {
    { &AbstractFrontend::staticMetaObject, qt_meta_stringdata_Practice__GuiFrontend.data,
      qt_meta_data_Practice__GuiFrontend,  qt_static_metacall, nullptr, nullptr}
};


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

void *Practice::GuiFrontend::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Practice__GuiFrontend.stringdata0))
        return static_cast<void*>(this);
    return AbstractFrontend::qt_metacast(_clname);
}

int Practice::GuiFrontend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractFrontend::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
