/****************************************************************************
** Meta object code from reading C++ file 'learner.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/liblearnerprofile/src/learner.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'learner.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_LearnerProfile__Learner[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       4,   89, // properties
       1,  105, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: signature, parameters, type, tag, flags
      25,   24,   24,   24, 0x05,
      39,   24,   24,   24, 0x05,
      57,   24,   24,   24, 0x05,
      79,   77,   24,   24, 0x05,
     117,   24,   24,   24, 0x05,
     129,   24,   24,   24, 0x05,
     155,   24,   24,   24, 0x05,
     169,   77,   24,   24, 0x05,
     205,   24,   24,   24, 0x05,
     224,   24,   24,   24, 0x05,

 // methods: signature, parameters, type, tag, flags
     249,  244,   24,   24, 0x02,
     288,  244,   24,   24, 0x02,
     335,  244,  330,   24, 0x02,
     394,  374,   24,   24, 0x02,
     490,  481,  451,   24, 0x02,

 // properties: name, type, flags
     544,  536, 0x0a495103,
     553,  549, 0x02495003,
     556,  536, 0x0a495001,
     602,  565, 0x00495009,

 // properties: notify_signal_id
       0,
       2,
       1,
       8,

 // enums: name, flags, count, data
     608, 0x0,    2,  109,

 // enum data: key, value
     617, uint(LearnerProfile::Learner::Unspecified),
     629, uint(LearnerProfile::Learner::Language),

       0        // eod
};

static const char qt_meta_stringdata_LearnerProfile__Learner[] = {
    "LearnerProfile::Learner\0\0nameChanged()\0"
    "imageUrlChanged()\0identifierChanged()\0"
    ",\0goalAboutToBeAdded(LearningGoal*,int)\0"
    "goalAdded()\0goalAboutToBeRemoved(int)\0"
    "goalRemoved()\0goalRemoved(Learner*,LearningGoal*)\0"
    "goalCountChanged()\0activeGoalChanged()\0"
    "goal\0addGoal(LearnerProfile::LearningGoal*)\0"
    "removeGoal(LearnerProfile::LearningGoal*)\0"
    "bool\0hasGoal(LearnerProfile::LearningGoal*)\0"
    "category,identifier\0"
    "setActiveGoal(LearnerProfile::Learner::Category,QString)\0"
    "LearnerProfile::LearningGoal*\0category\0"
    "activeGoal(LearnerProfile::Learner::Category)\0"
    "QString\0name\0int\0id\0imageUrl\0"
    "QList<LearnerProfile::LearningGoal*>\0"
    "goals\0Category\0Unspecified\0Language\0"
};

void LearnerProfile::Learner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Learner *_t = static_cast<Learner *>(_o);
        switch (_id) {
        case 0: _t->nameChanged(); break;
        case 1: _t->imageUrlChanged(); break;
        case 2: _t->identifierChanged(); break;
        case 3: _t->goalAboutToBeAdded((*reinterpret_cast< LearningGoal*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->goalAdded(); break;
        case 5: _t->goalAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->goalRemoved(); break;
        case 7: _t->goalRemoved((*reinterpret_cast< Learner*(*)>(_a[1])),(*reinterpret_cast< LearningGoal*(*)>(_a[2]))); break;
        case 8: _t->goalCountChanged(); break;
        case 9: _t->activeGoalChanged(); break;
        case 10: _t->addGoal((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1]))); break;
        case 11: _t->removeGoal((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1]))); break;
        case 12: { bool _r = _t->hasGoal((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 13: _t->setActiveGoal((*reinterpret_cast< LearnerProfile::Learner::Category(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 14: { LearnerProfile::LearningGoal* _r = _t->activeGoal((*reinterpret_cast< LearnerProfile::Learner::Category(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< LearnerProfile::LearningGoal**>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData LearnerProfile::Learner::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject LearnerProfile::Learner::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_LearnerProfile__Learner,
      qt_meta_data_LearnerProfile__Learner, &staticMetaObjectExtraData }
};

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

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

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

int LearnerProfile::Learner::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) = name(); break;
        case 1: *reinterpret_cast< int*>(_v) = identifier(); break;
        case 2: *reinterpret_cast< QString*>(_v) = imageUrl(); break;
        case 3: *reinterpret_cast< QList<LearnerProfile::LearningGoal*>*>(_v) = goals(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setName(*reinterpret_cast< QString*>(_v)); break;
        case 1: setIdentifier(*reinterpret_cast< int*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void LearnerProfile::Learner::nameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void LearnerProfile::Learner::imageUrlChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void LearnerProfile::Learner::identifierChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void LearnerProfile::Learner::goalAboutToBeAdded(LearningGoal * _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void LearnerProfile::Learner::goalAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}

// SIGNAL 5
void LearnerProfile::Learner::goalAboutToBeRemoved(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void LearnerProfile::Learner::goalRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 6, 0);
}

// SIGNAL 7
void LearnerProfile::Learner::goalRemoved(Learner * _t1, LearningGoal * _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void LearnerProfile::Learner::goalCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, 0);
}

// SIGNAL 9
void LearnerProfile::Learner::activeGoalChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, 0);
}
QT_END_MOC_NAMESPACE
