/****************************************************************************
** Meta object code from reading C++ file 'learner.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/artikulate-17.04.3/liblearnerprofile/src/learner.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'learner.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_LearnerProfile__Learner_t {
    QByteArrayData data[32];
    char stringdata0[430];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LearnerProfile__Learner_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LearnerProfile__Learner_t qt_meta_stringdata_LearnerProfile__Learner = {
    {
QT_MOC_LITERAL(0, 0, 23), // "LearnerProfile::Learner"
QT_MOC_LITERAL(1, 24, 11), // "nameChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 12), // "imageChanged"
QT_MOC_LITERAL(4, 50, 17), // "identifierChanged"
QT_MOC_LITERAL(5, 68, 18), // "goalAboutToBeAdded"
QT_MOC_LITERAL(6, 87, 13), // "LearningGoal*"
QT_MOC_LITERAL(7, 101, 9), // "goalAdded"
QT_MOC_LITERAL(8, 111, 20), // "goalAboutToBeRemoved"
QT_MOC_LITERAL(9, 132, 11), // "goalRemoved"
QT_MOC_LITERAL(10, 144, 8), // "Learner*"
QT_MOC_LITERAL(11, 153, 16), // "goalCountChanged"
QT_MOC_LITERAL(12, 170, 17), // "activeGoalChanged"
QT_MOC_LITERAL(13, 188, 10), // "clearImage"
QT_MOC_LITERAL(14, 199, 7), // "addGoal"
QT_MOC_LITERAL(15, 207, 29), // "LearnerProfile::LearningGoal*"
QT_MOC_LITERAL(16, 237, 4), // "goal"
QT_MOC_LITERAL(17, 242, 10), // "removeGoal"
QT_MOC_LITERAL(18, 253, 7), // "hasGoal"
QT_MOC_LITERAL(19, 261, 13), // "setActiveGoal"
QT_MOC_LITERAL(20, 275, 33), // "LearnerProfile::Learner::Cate..."
QT_MOC_LITERAL(21, 309, 8), // "category"
QT_MOC_LITERAL(22, 318, 10), // "identifier"
QT_MOC_LITERAL(23, 329, 10), // "activeGoal"
QT_MOC_LITERAL(24, 340, 4), // "name"
QT_MOC_LITERAL(25, 345, 2), // "id"
QT_MOC_LITERAL(26, 348, 8), // "imageUrl"
QT_MOC_LITERAL(27, 357, 5), // "goals"
QT_MOC_LITERAL(28, 363, 36), // "QList<LearnerProfile::Learnin..."
QT_MOC_LITERAL(29, 400, 8), // "Category"
QT_MOC_LITERAL(30, 409, 11), // "Unspecified"
QT_MOC_LITERAL(31, 421, 8) // "Language"

    },
    "LearnerProfile::Learner\0nameChanged\0"
    "\0imageChanged\0identifierChanged\0"
    "goalAboutToBeAdded\0LearningGoal*\0"
    "goalAdded\0goalAboutToBeRemoved\0"
    "goalRemoved\0Learner*\0goalCountChanged\0"
    "activeGoalChanged\0clearImage\0addGoal\0"
    "LearnerProfile::LearningGoal*\0goal\0"
    "removeGoal\0hasGoal\0setActiveGoal\0"
    "LearnerProfile::Learner::Category\0"
    "category\0identifier\0activeGoal\0name\0"
    "id\0imageUrl\0goals\0"
    "QList<LearnerProfile::LearningGoal*>\0"
    "Category\0Unspecified\0Language"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LearnerProfile__Learner[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       4,  132, // properties
       1,  148, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    0,   95,    2, 0x06 /* Public */,
       4,    0,   96,    2, 0x06 /* Public */,
       5,    2,   97,    2, 0x06 /* Public */,
       7,    0,  102,    2, 0x06 /* Public */,
       8,    1,  103,    2, 0x06 /* Public */,
       9,    0,  106,    2, 0x06 /* Public */,
       9,    2,  107,    2, 0x06 /* Public */,
      11,    0,  112,    2, 0x06 /* Public */,
      12,    0,  113,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      13,    0,  114,    2, 0x02 /* Public */,
      14,    1,  115,    2, 0x02 /* Public */,
      17,    1,  118,    2, 0x02 /* Public */,
      18,    1,  121,    2, 0x02 /* Public */,
      19,    2,  124,    2, 0x02 /* Public */,
      23,    1,  129,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10, 0x80000000 | 6,    2,    2,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Bool, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 20, QMetaType::QString,   21,   22,
    0x80000000 | 15, 0x80000000 | 20,   21,

 // properties: name, type, flags
      24, QMetaType::QString, 0x00495103,
      25, QMetaType::Int, 0x00495003,
      26, QMetaType::QString, 0x00495001,
      27, 0x80000000 | 28, 0x00495009,

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

 // enums: name, flags, count, data
      29, 0x0,    2,  152,

 // enum data: key, value
      30, uint(LearnerProfile::Learner::Unspecified),
      31, uint(LearnerProfile::Learner::Language),

       0        // eod
};

void LearnerProfile::Learner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Learner *_t = static_cast<Learner *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->nameChanged(); break;
        case 1: _t->imageChanged(); 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->clearImage(); break;
        case 11: _t->addGoal((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1]))); break;
        case 12: _t->removeGoal((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1]))); break;
        case 13: { bool _r = _t->hasGoal((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 14: _t->setActiveGoal((*reinterpret_cast< LearnerProfile::Learner::Category(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: { LearnerProfile::LearningGoal* _r = _t->activeGoal((*reinterpret_cast< LearnerProfile::Learner::Category(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< LearnerProfile::LearningGoal**>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LearningGoal* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Learner* >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LearningGoal* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LearnerProfile::LearningGoal* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LearnerProfile::LearningGoal* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LearnerProfile::LearningGoal* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Learner::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::nameChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Learner::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::imageChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Learner::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::identifierChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Learner::*_t)(LearningGoal * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::goalAboutToBeAdded)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Learner::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::goalAdded)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Learner::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::goalAboutToBeRemoved)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Learner::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::goalRemoved)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Learner::*_t)(Learner * , LearningGoal * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::goalRemoved)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Learner::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::goalCountChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Learner::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Learner::activeGoalChanged)) {
                *result = 9;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<LearnerProfile::LearningGoal*> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Learner *_t = static_cast<Learner *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->identifier(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->imageUrl(); break;
        case 3: *reinterpret_cast< QList<LearnerProfile::LearningGoal*>*>(_v) = _t->goals(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Learner *_t = static_cast<Learner *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setIdentifier(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject LearnerProfile::Learner::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_LearnerProfile__Learner.data,
      qt_meta_data_LearnerProfile__Learner,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *LearnerProfile::Learner::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_LearnerProfile__Learner.stringdata0))
        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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#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 -= 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, Q_NULLPTR);
}

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

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

// SIGNAL 3
void LearnerProfile::Learner::goalAboutToBeAdded(LearningGoal * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, 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, Q_NULLPTR);
}

// SIGNAL 5
void LearnerProfile::Learner::goalAboutToBeRemoved(int _t1)
{
    void *_a[] = { Q_NULLPTR, 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, Q_NULLPTR);
}

// SIGNAL 7
void LearnerProfile::Learner::goalRemoved(Learner * _t1, LearningGoal * _t2)
{
    void *_a[] = { Q_NULLPTR, 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, Q_NULLPTR);
}

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