/****************************************************************************
** Meta object code from reading C++ file 'learninggoalmodel.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/artikulate-17.12.3/liblearnerprofile/src/models/learninggoalmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'learninggoalmodel.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_LearnerProfile__LearningGoalModel_t {
    QByteArrayData data[18];
    char stringdata0[318];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LearnerProfile__LearningGoalModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LearnerProfile__LearningGoalModel_t qt_meta_stringdata_LearnerProfile__LearningGoalModel = {
    {
QT_MOC_LITERAL(0, 0, 33), // "LearnerProfile::LearningGoalM..."
QT_MOC_LITERAL(1, 34, 21), // "profileManagerChanged"
QT_MOC_LITERAL(2, 56, 0), // ""
QT_MOC_LITERAL(3, 57, 14), // "learnerChanged"
QT_MOC_LITERAL(4, 72, 19), // "learningGoalChanged"
QT_MOC_LITERAL(5, 92, 5), // "index"
QT_MOC_LITERAL(6, 98, 28), // "onLearningGoalAboutToBeAdded"
QT_MOC_LITERAL(7, 127, 13), // "LearningGoal*"
QT_MOC_LITERAL(8, 141, 4), // "goal"
QT_MOC_LITERAL(9, 146, 19), // "onLearningGoalAdded"
QT_MOC_LITERAL(10, 166, 30), // "onLearningGoalAboutToBeRemoved"
QT_MOC_LITERAL(11, 197, 23), // "emitLearningGoalChanged"
QT_MOC_LITERAL(12, 221, 3), // "row"
QT_MOC_LITERAL(13, 225, 12), // "learningGoal"
QT_MOC_LITERAL(14, 238, 14), // "profileManager"
QT_MOC_LITERAL(15, 253, 31), // "LearnerProfile::ProfileManager*"
QT_MOC_LITERAL(16, 285, 7), // "learner"
QT_MOC_LITERAL(17, 293, 24) // "LearnerProfile::Learner*"

    },
    "LearnerProfile::LearningGoalModel\0"
    "profileManagerChanged\0\0learnerChanged\0"
    "learningGoalChanged\0index\0"
    "onLearningGoalAboutToBeAdded\0LearningGoal*\0"
    "goal\0onLearningGoalAdded\0"
    "onLearningGoalAboutToBeRemoved\0"
    "emitLearningGoalChanged\0row\0learningGoal\0"
    "profileManager\0LearnerProfile::ProfileManager*\0"
    "learner\0LearnerProfile::Learner*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LearnerProfile__LearningGoalModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       2,   74, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    1,   56,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    2,   59,    2, 0x08 /* Private */,
       9,    0,   64,    2, 0x08 /* Private */,
      10,    1,   65,    2, 0x08 /* Private */,
      11,    1,   68,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      13,    1,   71,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7, QMetaType::Int,    8,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,   12,

 // methods: parameters
    QMetaType::QVariant, QMetaType::Int,    5,

 // properties: name, type, flags
      14, 0x80000000 | 15, 0x0049510b,
      16, 0x80000000 | 17, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

void LearnerProfile::LearningGoalModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        LearningGoalModel *_t = static_cast<LearningGoalModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->profileManagerChanged(); break;
        case 1: _t->learnerChanged(); break;
        case 2: _t->learningGoalChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->onLearningGoalAboutToBeAdded((*reinterpret_cast< LearningGoal*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->onLearningGoalAdded(); break;
        case 5: _t->onLearningGoalAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->emitLearningGoalChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: { QVariant _r = _t->learningGoal((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (LearningGoalModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LearningGoalModel::profileManagerChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (LearningGoalModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LearningGoalModel::learnerChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (LearningGoalModel::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LearningGoalModel::learningGoalChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        LearningGoalModel *_t = static_cast<LearningGoalModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< LearnerProfile::ProfileManager**>(_v) = _t->profileManager(); break;
        case 1: *reinterpret_cast< LearnerProfile::Learner**>(_v) = _t->learner(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        LearningGoalModel *_t = static_cast<LearningGoalModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setProfileManager(*reinterpret_cast< LearnerProfile::ProfileManager**>(_v)); break;
        case 1: _t->setLearner(*reinterpret_cast< LearnerProfile::Learner**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject LearnerProfile::LearningGoalModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_LearnerProfile__LearningGoalModel.data,
      qt_meta_data_LearnerProfile__LearningGoalModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *LearnerProfile::LearningGoalModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_LearnerProfile__LearningGoalModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

int LearnerProfile::LearningGoalModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void LearnerProfile::LearningGoalModel::profileManagerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void LearnerProfile::LearningGoalModel::learnerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void LearnerProfile::LearningGoalModel::learningGoalChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
