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

#include "../../src/artikulate-17.08.3/src/core/resourcemanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'resourcemanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ResourceManager_t {
    QByteArrayData data[30];
    char stringdata0[532];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ResourceManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ResourceManager_t qt_meta_stringdata_ResourceManager = {
    {
QT_MOC_LITERAL(0, 0, 15), // "ResourceManager"
QT_MOC_LITERAL(1, 16, 21), // "languageResourceAdded"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 30), // "languageResourceAboutToBeAdded"
QT_MOC_LITERAL(4, 70, 17), // "LanguageResource*"
QT_MOC_LITERAL(5, 88, 23), // "languageResourceRemoved"
QT_MOC_LITERAL(6, 112, 32), // "languageResourceAboutToBeRemoved"
QT_MOC_LITERAL(7, 145, 17), // "repositoryChanged"
QT_MOC_LITERAL(8, 163, 19), // "courseResourceAdded"
QT_MOC_LITERAL(9, 183, 28), // "courseResourceAboutToBeAdded"
QT_MOC_LITERAL(10, 212, 15), // "CourseResource*"
QT_MOC_LITERAL(11, 228, 30), // "courseResourceAboutToBeRemoved"
QT_MOC_LITERAL(12, 259, 13), // "skeletonAdded"
QT_MOC_LITERAL(13, 273, 22), // "skeletonAboutToBeAdded"
QT_MOC_LITERAL(14, 296, 7), // "Course*"
QT_MOC_LITERAL(15, 304, 15), // "skeletonRemoved"
QT_MOC_LITERAL(16, 320, 24), // "skeletonAboutToBeRemoved"
QT_MOC_LITERAL(17, 345, 22), // "languageCoursesChanged"
QT_MOC_LITERAL(18, 368, 19), // "isRepositoryManager"
QT_MOC_LITERAL(19, 388, 8), // "language"
QT_MOC_LITERAL(20, 397, 9), // "Language*"
QT_MOC_LITERAL(21, 407, 5), // "index"
QT_MOC_LITERAL(22, 413, 29), // "LearnerProfile::LearningGoal*"
QT_MOC_LITERAL(23, 443, 12), // "learningGoal"
QT_MOC_LITERAL(24, 456, 6), // "course"
QT_MOC_LITERAL(25, 463, 22), // "reloadCourseOrSkeleton"
QT_MOC_LITERAL(26, 486, 12), // "createCourse"
QT_MOC_LITERAL(27, 499, 9), // "Skeleton*"
QT_MOC_LITERAL(28, 509, 8), // "skeleton"
QT_MOC_LITERAL(29, 518, 13) // "repositoryUrl"

    },
    "ResourceManager\0languageResourceAdded\0"
    "\0languageResourceAboutToBeAdded\0"
    "LanguageResource*\0languageResourceRemoved\0"
    "languageResourceAboutToBeRemoved\0"
    "repositoryChanged\0courseResourceAdded\0"
    "courseResourceAboutToBeAdded\0"
    "CourseResource*\0courseResourceAboutToBeRemoved\0"
    "skeletonAdded\0skeletonAboutToBeAdded\0"
    "Course*\0skeletonRemoved\0"
    "skeletonAboutToBeRemoved\0"
    "languageCoursesChanged\0isRepositoryManager\0"
    "language\0Language*\0index\0"
    "LearnerProfile::LearningGoal*\0"
    "learningGoal\0course\0reloadCourseOrSkeleton\0"
    "createCourse\0Skeleton*\0skeleton\0"
    "repositoryUrl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ResourceManager[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
       2,  162, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      13,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x06 /* Public */,
       3,    2,  110,    2, 0x06 /* Public */,
       5,    0,  115,    2, 0x06 /* Public */,
       6,    1,  116,    2, 0x06 /* Public */,
       7,    0,  119,    2, 0x06 /* Public */,
       8,    0,  120,    2, 0x06 /* Public */,
       9,    2,  121,    2, 0x06 /* Public */,
      11,    1,  126,    2, 0x06 /* Public */,
      12,    0,  129,    2, 0x06 /* Public */,
      13,    2,  130,    2, 0x06 /* Public */,
      15,    0,  135,    2, 0x06 /* Public */,
      16,    2,  136,    2, 0x06 /* Public */,
      17,    0,  141,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      18,    0,  142,    2, 0x02 /* Public */,
      19,    1,  143,    2, 0x02 /* Public */,
      19,    1,  146,    2, 0x02 /* Public */,
      24,    2,  149,    2, 0x02 /* Public */,
      25,    1,  154,    2, 0x02 /* Public */,
      26,    2,  157,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::Bool,
    0x80000000 | 20, QMetaType::Int,   21,
    0x80000000 | 20, 0x80000000 | 22,   23,
    0x80000000 | 14, 0x80000000 | 20, QMetaType::Int,   19,   21,
    QMetaType::Void, 0x80000000 | 14,   24,
    0x80000000 | 14, 0x80000000 | 20, 0x80000000 | 27,   19,   28,

 // properties: name, type, flags
      18, QMetaType::Bool, 0x00495001,
      29, QMetaType::QString, 0x00495001,

 // properties: notify_signal_id
       4,
       4,

       0        // eod
};

void ResourceManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceManager *_t = static_cast<ResourceManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->languageResourceAdded(); break;
        case 1: _t->languageResourceAboutToBeAdded((*reinterpret_cast< LanguageResource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->languageResourceRemoved(); break;
        case 3: _t->languageResourceAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->repositoryChanged(); break;
        case 5: _t->courseResourceAdded(); break;
        case 6: _t->courseResourceAboutToBeAdded((*reinterpret_cast< CourseResource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->courseResourceAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->skeletonAdded(); break;
        case 9: _t->skeletonAboutToBeAdded((*reinterpret_cast< Course*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->skeletonRemoved(); break;
        case 11: _t->skeletonAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->languageCoursesChanged(); break;
        case 13: { bool _r = _t->isRepositoryManager();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { Language* _r = _t->language((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Language**>(_a[0]) = std::move(_r); }  break;
        case 15: { Language* _r = _t->language((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Language**>(_a[0]) = std::move(_r); }  break;
        case 16: { Course* _r = _t->course((*reinterpret_cast< Language*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< Course**>(_a[0]) = std::move(_r); }  break;
        case 17: _t->reloadCourseOrSkeleton((*reinterpret_cast< Course*(*)>(_a[1]))); break;
        case 18: { Course* _r = _t->createCourse((*reinterpret_cast< Language*(*)>(_a[1])),(*reinterpret_cast< Skeleton*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< Course**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 15:
            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 (ResourceManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::languageResourceAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)(LanguageResource * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::languageResourceAboutToBeAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::languageResourceRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::languageResourceAboutToBeRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::repositoryChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::courseResourceAdded)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)(CourseResource * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::courseResourceAboutToBeAdded)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::courseResourceAboutToBeRemoved)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::skeletonAdded)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)(Course * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::skeletonAboutToBeAdded)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::skeletonRemoved)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::skeletonAboutToBeRemoved)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (ResourceManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceManager::languageCoursesChanged)) {
                *result = 12;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ResourceManager *_t = static_cast<ResourceManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isRepositoryManager(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->repositoryUrl(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject ResourceManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ResourceManager.data,
      qt_meta_data_ResourceManager,  qt_static_metacall, nullptr, nullptr}
};


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

void *ResourceManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ResourceManager.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int ResourceManager::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
#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 ResourceManager::languageResourceAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ResourceManager::languageResourceAboutToBeAdded(LanguageResource * _t1, int _t2)
{
    void *_a[] = { 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 ResourceManager::languageResourceRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ResourceManager::languageResourceAboutToBeRemoved(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void ResourceManager::repositoryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void ResourceManager::courseResourceAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void ResourceManager::courseResourceAboutToBeAdded(CourseResource * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void ResourceManager::courseResourceAboutToBeRemoved(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void ResourceManager::skeletonAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void ResourceManager::skeletonAboutToBeAdded(Course * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void ResourceManager::skeletonRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void ResourceManager::skeletonAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void ResourceManager::languageCoursesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
