/****************************************************************************
** Meta object code from reading C++ file 'traininglinecore.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/ktouch-17.04.3/src/declarativeitems/traininglinecore.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'traininglinecore.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_TrainingLineCore_t {
    QByteArrayData data[22];
    char stringdata0[287];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TrainingLineCore_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TrainingLineCore_t qt_meta_stringdata_TrainingLineCore = {
    {
QT_MOC_LITERAL(0, 0, 16), // "TrainingLineCore"
QT_MOC_LITERAL(1, 17, 13), // "activeChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 17), // "cursorItemChanged"
QT_MOC_LITERAL(4, 50, 20), // "trainingStatsChanged"
QT_MOC_LITERAL(5, 71, 20), // "referenceLineChanged"
QT_MOC_LITERAL(6, 92, 17), // "actualLineChanged"
QT_MOC_LITERAL(7, 110, 20), // "preeditStringChanged"
QT_MOC_LITERAL(8, 131, 14), // "hintKeyChanged"
QT_MOC_LITERAL(9, 146, 4), // "done"
QT_MOC_LITERAL(10, 151, 5), // "reset"
QT_MOC_LITERAL(11, 157, 6), // "active"
QT_MOC_LITERAL(12, 164, 10), // "cursorItem"
QT_MOC_LITERAL(13, 175, 11), // "QQuickItem*"
QT_MOC_LITERAL(14, 187, 13), // "trainingStats"
QT_MOC_LITERAL(15, 201, 14), // "TrainingStats*"
QT_MOC_LITERAL(16, 216, 13), // "referenceLine"
QT_MOC_LITERAL(17, 230, 10), // "actualLine"
QT_MOC_LITERAL(18, 241, 13), // "preeditString"
QT_MOC_LITERAL(19, 255, 9), // "isCorrect"
QT_MOC_LITERAL(20, 265, 13), // "nextCharacter"
QT_MOC_LITERAL(21, 279, 7) // "hintKey"

    },
    "TrainingLineCore\0activeChanged\0\0"
    "cursorItemChanged\0trainingStatsChanged\0"
    "referenceLineChanged\0actualLineChanged\0"
    "preeditStringChanged\0hintKeyChanged\0"
    "done\0reset\0active\0cursorItem\0QQuickItem*\0"
    "trainingStats\0TrainingStats*\0referenceLine\0"
    "actualLine\0preeditString\0isCorrect\0"
    "nextCharacter\0hintKey"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TrainingLineCore[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    0,   62,    2, 0x06 /* Public */,
       6,    0,   63,    2, 0x06 /* Public */,
       7,    0,   64,    2, 0x06 /* Public */,
       8,    0,   65,    2, 0x06 /* Public */,
       9,    0,   66,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   67,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

 // properties: name, type, flags
      11, QMetaType::Bool, 0x00495103,
      12, 0x80000000 | 13, 0x0049510b,
      14, 0x80000000 | 15, 0x0049510b,
      16, QMetaType::QString, 0x00495103,
      17, QMetaType::QString, 0x00495001,
      18, QMetaType::QString, 0x00495001,
      19, QMetaType::Bool, 0x00495001,
      20, QMetaType::QString, 0x00495001,
      21, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       4,
       4,
       6,

       0        // eod
};

void TrainingLineCore::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TrainingLineCore *_t = static_cast<TrainingLineCore *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activeChanged(); break;
        case 1: _t->cursorItemChanged(); break;
        case 2: _t->trainingStatsChanged(); break;
        case 3: _t->referenceLineChanged(); break;
        case 4: _t->actualLineChanged(); break;
        case 5: _t->preeditStringChanged(); break;
        case 6: _t->hintKeyChanged(); break;
        case 7: _t->done(); break;
        case 8: _t->reset(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::activeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::cursorItemChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::trainingStatsChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::referenceLineChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::actualLineChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::preeditStringChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::hintKeyChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (TrainingLineCore::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TrainingLineCore::done)) {
                *result = 7;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        TrainingLineCore *_t = static_cast<TrainingLineCore *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->active(); break;
        case 1: *reinterpret_cast< QQuickItem**>(_v) = _t->cursorItem(); break;
        case 2: *reinterpret_cast< TrainingStats**>(_v) = _t->trainingStats(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->referenceLine(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->actualLine(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->preeditString(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isCorrect(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->nextCharacter(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->hintKey(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        TrainingLineCore *_t = static_cast<TrainingLineCore *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setActive(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setCursorItem(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 2: _t->setTrainingStats(*reinterpret_cast< TrainingStats**>(_v)); break;
        case 3: _t->setReferenceLine(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject TrainingLineCore::staticMetaObject = {
    { &QQuickItem::staticMetaObject, qt_meta_stringdata_TrainingLineCore.data,
      qt_meta_data_TrainingLineCore,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *TrainingLineCore::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TrainingLineCore.stringdata0))
        return static_cast<void*>(const_cast< TrainingLineCore*>(this));
    return QQuickItem::qt_metacast(_clname);
}

int TrainingLineCore::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickItem::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;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void TrainingLineCore::activeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void TrainingLineCore::cursorItemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void TrainingLineCore::trainingStatsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void TrainingLineCore::referenceLineChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void TrainingLineCore::actualLineChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void TrainingLineCore::preeditStringChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void TrainingLineCore::hintKeyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void TrainingLineCore::done()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
