/****************************************************************************
** Meta object code from reading C++ file 'profilemanager.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/profilemanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'profilemanager.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__ProfileManager_t {
    QByteArrayData data[22];
    char stringdata0[301];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LearnerProfile__ProfileManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LearnerProfile__ProfileManager_t qt_meta_stringdata_LearnerProfile__ProfileManager = {
    {
QT_MOC_LITERAL(0, 0, 30), // "LearnerProfile::ProfileManager"
QT_MOC_LITERAL(1, 31, 20), // "activeProfileChanged"
QT_MOC_LITERAL(2, 52, 0), // ""
QT_MOC_LITERAL(3, 53, 12), // "profileAdded"
QT_MOC_LITERAL(4, 66, 8), // "Learner*"
QT_MOC_LITERAL(5, 75, 23), // "profileAboutToBeRemoved"
QT_MOC_LITERAL(6, 99, 14), // "profileRemoved"
QT_MOC_LITERAL(7, 114, 19), // "profileCountChanged"
QT_MOC_LITERAL(8, 134, 18), // "removeLearningGoal"
QT_MOC_LITERAL(9, 153, 7), // "learner"
QT_MOC_LITERAL(10, 161, 13), // "LearningGoal*"
QT_MOC_LITERAL(11, 175, 4), // "goal"
QT_MOC_LITERAL(12, 180, 10), // "addProfile"
QT_MOC_LITERAL(13, 191, 24), // "LearnerProfile::Learner*"
QT_MOC_LITERAL(14, 216, 4), // "name"
QT_MOC_LITERAL(15, 221, 13), // "removeProfile"
QT_MOC_LITERAL(16, 235, 7), // "profile"
QT_MOC_LITERAL(17, 243, 5), // "index"
QT_MOC_LITERAL(18, 249, 19), // "openImageFileDialog"
QT_MOC_LITERAL(19, 269, 4), // "sync"
QT_MOC_LITERAL(20, 274, 12), // "profileCount"
QT_MOC_LITERAL(21, 287, 13) // "activeProfile"

    },
    "LearnerProfile::ProfileManager\0"
    "activeProfileChanged\0\0profileAdded\0"
    "Learner*\0profileAboutToBeRemoved\0"
    "profileRemoved\0profileCountChanged\0"
    "removeLearningGoal\0learner\0LearningGoal*\0"
    "goal\0addProfile\0LearnerProfile::Learner*\0"
    "name\0removeProfile\0profile\0index\0"
    "openImageFileDialog\0sync\0profileCount\0"
    "activeProfile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LearnerProfile__ProfileManager[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       2,  104, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    2,   75,    2, 0x06 /* Public */,
       5,    1,   80,    2, 0x06 /* Public */,
       6,    0,   83,    2, 0x06 /* Public */,
       7,    0,   84,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    2,   85,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      12,    1,   90,    2, 0x02 /* Public */,
      15,    1,   93,    2, 0x02 /* Public */,
      16,    1,   96,    2, 0x02 /* Public */,
      18,    0,   99,    2, 0x02 /* Public */,
      19,    0,  100,    2, 0x02 /* Public */,
      19,    1,  101,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 10,    9,   11,

 // methods: parameters
    0x80000000 | 13, QMetaType::QString,   14,
    QMetaType::Void, 0x80000000 | 13,    9,
    0x80000000 | 13, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,    9,

 // properties: name, type, flags
      20, QMetaType::Int, 0x00495001,
      21, 0x80000000 | 13, 0x0049510b,

 // properties: notify_signal_id
       4,
       0,

       0        // eod
};

void LearnerProfile::ProfileManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProfileManager *_t = static_cast<ProfileManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activeProfileChanged(); break;
        case 1: _t->profileAdded((*reinterpret_cast< Learner*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->profileAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->profileRemoved(); break;
        case 4: _t->profileCountChanged(); break;
        case 5: _t->removeLearningGoal((*reinterpret_cast< Learner*(*)>(_a[1])),(*reinterpret_cast< LearningGoal*(*)>(_a[2]))); break;
        case 6: { LearnerProfile::Learner* _r = _t->addProfile((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< LearnerProfile::Learner**>(_a[0]) = _r; }  break;
        case 7: _t->removeProfile((*reinterpret_cast< LearnerProfile::Learner*(*)>(_a[1]))); break;
        case 8: { LearnerProfile::Learner* _r = _t->profile((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< LearnerProfile::Learner**>(_a[0]) = _r; }  break;
        case 9: _t->openImageFileDialog(); break;
        case 10: _t->sync(); break;
        case 11: _t->sync((*reinterpret_cast< LearnerProfile::Learner*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LearningGoal* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ProfileManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProfileManager::activeProfileChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ProfileManager::*_t)(Learner * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProfileManager::profileAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ProfileManager::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProfileManager::profileAboutToBeRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ProfileManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProfileManager::profileRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ProfileManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProfileManager::profileCountChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ProfileManager *_t = static_cast<ProfileManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->profileCount(); break;
        case 1: *reinterpret_cast< LearnerProfile::Learner**>(_v) = _t->activeProfile(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        ProfileManager *_t = static_cast<ProfileManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setActiveProfile(*reinterpret_cast< LearnerProfile::Learner**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject LearnerProfile::ProfileManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_LearnerProfile__ProfileManager.data,
      qt_meta_data_LearnerProfile__ProfileManager,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *LearnerProfile::ProfileManager::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_LearnerProfile__ProfileManager.stringdata0))
        return static_cast<void*>(const_cast< ProfileManager*>(this));
    return QObject::qt_metacast(_clname);
}

int LearnerProfile::ProfileManager::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#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::ProfileManager::activeProfileChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void LearnerProfile::ProfileManager::profileAdded(Learner * _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, 1, _a);
}

// SIGNAL 2
void LearnerProfile::ProfileManager::profileAboutToBeRemoved(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void LearnerProfile::ProfileManager::profileRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void LearnerProfile::ProfileManager::profileCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
