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

#include "../../src/artikulate-15.04.3/src/core/trainingsession.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'trainingsession.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_TrainingSession[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       8,   89, // properties
       2,  121, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: signature, parameters, type, tag, flags
      17,   16,   16,   16, 0x05,
      32,   16,   16,   16, 0x05,
      55,   16,   16,   16, 0x05,
      76,   16,   16,   16, 0x05,
      94,   16,   16,   16, 0x05,

 // methods: signature, parameters, type, tag, flags
     110,  105,   16,   16, 0x02,
     148,  132,   16,   16, 0x02,
     173,  165,   16,   16, 0x02,
     203,  196,   16,   16, 0x02,
     225,   16,   16,   16, 0x02,
     253,  236,  232,   16, 0x02,
     313,  308,  232,   16, 0x02,
     350,  236,  232,   16, 0x02,
     396,  308,  232,   16, 0x02,
     424,   16,  232,   16, 0x02,

 // properties: name, type, flags
     447,  439, 0x0a495103,
     458,  453, 0x01495001,
     477,  469, 0x00495009,
     504,  491, 0x00495009,
     516,  232, 0x02495001,
     533,  232, 0x02495001,
     556,  232, 0x02495001,
     577,  232, 0x02495001,

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

 // enums: name, flags, count, data
     599, 0x0,    2,  129,
     610, 0x0,    4,  133,

 // enum data: key, value
     615, uint(TrainingSession::Complete),
     624, uint(TrainingSession::Incomplete),
     635, uint(TrainingSession::Word),
     640, uint(TrainingSession::Expression),
     651, uint(TrainingSession::Sentence),
     660, uint(TrainingSession::Paragraph),

       0        // eod
};

static const char qt_meta_stringdata_TrainingSession[] = {
    "TrainingSession\0\0titleChanged()\0"
    "currentPhraseChanged()\0currentTypeChanged()\0"
    "progressChanged()\0finished()\0unit\0"
    "createFromUnit(Unit*)\0completeCurrent\0"
    "next(NextAction)\0newType\0"
    "setPhraseType(QString)\0phrase\0"
    "jumpToPhrase(Phrase*)\0stop()\0int\0"
    "type,neededTries\0"
    "numberPhrasesGroupedByTries(TrainingSession::Type,int)\0"
    "type\0numberPhrases(TrainingSession::Type)\0"
    "numberPhrasesGroupedByTries(Phrase::Type,int)\0"
    "numberPhrases(Phrase::Type)\0maximumTries()\0"
    "QString\0title\0bool\0isFinished\0Phrase*\0"
    "currentPhrase\0Phrase::Type\0currentType\0"
    "progressTypeWord\0progressTypeExpression\0"
    "progressTypeSentence\0progressTypeParagraph\0"
    "NextAction\0Type\0Complete\0Incomplete\0"
    "Word\0Expression\0Sentence\0Paragraph\0"
};

void TrainingSession::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        TrainingSession *_t = static_cast<TrainingSession *>(_o);
        switch (_id) {
        case 0: _t->titleChanged(); break;
        case 1: _t->currentPhraseChanged(); break;
        case 2: _t->currentTypeChanged(); break;
        case 3: _t->progressChanged(); break;
        case 4: _t->finished(); break;
        case 5: _t->createFromUnit((*reinterpret_cast< Unit*(*)>(_a[1]))); break;
        case 6: _t->next((*reinterpret_cast< NextAction(*)>(_a[1]))); break;
        case 7: _t->setPhraseType((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->jumpToPhrase((*reinterpret_cast< Phrase*(*)>(_a[1]))); break;
        case 9: _t->stop(); break;
        case 10: { int _r = _t->numberPhrasesGroupedByTries((*reinterpret_cast< TrainingSession::Type(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 11: { int _r = _t->numberPhrases((*reinterpret_cast< TrainingSession::Type(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 12: { int _r = _t->numberPhrasesGroupedByTries((*reinterpret_cast< Phrase::Type(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 13: { int _r = _t->numberPhrases((*reinterpret_cast< Phrase::Type(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 14: { int _r = _t->maximumTries();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

#ifdef Q_NO_DATA_RELOCATION
static const QMetaObjectAccessor qt_meta_extradata_TrainingSession[] = {
        Phrase::getStaticMetaObject,
#else
static const QMetaObject *qt_meta_extradata_TrainingSession[] = {
        &Phrase::staticMetaObject,
#endif //Q_NO_DATA_RELOCATION
    0
};

const QMetaObjectExtraData TrainingSession::staticMetaObjectExtraData = {
    qt_meta_extradata_TrainingSession,  qt_static_metacall 
};

const QMetaObject TrainingSession::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TrainingSession,
      qt_meta_data_TrainingSession, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &TrainingSession::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *TrainingSession::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_TrainingSession))
        return static_cast<void*>(const_cast< TrainingSession*>(this));
    return QObject::qt_metacast(_clname);
}

int TrainingSession::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = title(); break;
        case 1: *reinterpret_cast< bool*>(_v) = isFinished(); break;
        case 2: *reinterpret_cast< Phrase**>(_v) = currentPhrase(); break;
        case 3: *reinterpret_cast< Phrase::Type*>(_v) = currentType(); break;
        case 4: *reinterpret_cast< int*>(_v) = progressTypeWord(); break;
        case 5: *reinterpret_cast< int*>(_v) = progressTypeExpression(); break;
        case 6: *reinterpret_cast< int*>(_v) = progressTypeSentence(); break;
        case 7: *reinterpret_cast< int*>(_v) = progressTypeParagraph(); break;
        }
        _id -= 8;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setTitle(*reinterpret_cast< QString*>(_v)); break;
        }
        _id -= 8;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void TrainingSession::titleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void TrainingSession::currentPhraseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void TrainingSession::currentTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void TrainingSession::progressChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void TrainingSession::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}
QT_END_MOC_NAMESPACE
