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

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       1,  119, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      13,       // signalCount

 // signals: signature, parameters, type, tag, flags
      17,   16,   16,   16, 0x05,
      43,   41,   16,   16, 0x05,
      97,   16,   16,   16, 0x05,
     123,   16,   16,   16, 0x05,
     161,   16,   16,   16, 0x05,
     181,   16,   16,   16, 0x05,
     203,   41,   16,   16, 0x05,
     253,   16,   16,   16, 0x05,
     289,   16,   16,   16, 0x05,
     305,   41,   16,   16, 0x05,
     341,   16,   16,   16, 0x05,
     359,   41,   16,   16, 0x05,
     393,   16,   16,   16, 0x05,

 // methods: signature, parameters, type, tag, flags
     423,   16,  418,   16, 0x02,
     461,  455,  445,   16, 0x02,
     488,  475,  445,   16, 0x02,
     551,  536,  528,   16, 0x02,
     580,  573,   16,   16, 0x02,
     612,  573,   16,   16, 0x02,
     655,  646,   16,   16, 0x02,
     682,   16,   16,   16, 0x22,

 // properties: name, type, flags
     700,  418, 0x01495001,

 // properties: notify_signal_id
       4,

       0        // eod
};

static const char qt_meta_stringdata_ResourceManager[] = {
    "ResourceManager\0\0languageResourceAdded()\0"
    ",\0languageResourceAboutToBeAdded(LanguageResource*,int)\0"
    "languageResourceRemoved()\0"
    "languageResourceAboutToBeRemoved(int)\0"
    "repositoryChanged()\0courseResourceAdded()\0"
    "courseResourceAboutToBeAdded(CourseResource*,int)\0"
    "courseResourceAboutToBeRemoved(int)\0"
    "skeletonAdded()\0skeletonAboutToBeAdded(Course*,int)\0"
    "skeletonRemoved()\0skeletonAboutToBeRemoved(int,int)\0"
    "languageCoursesChanged()\0bool\0"
    "isRepositoryManager()\0Language*\0index\0"
    "language(int)\0learningGoal\0"
    "language(LearnerProfile::LearningGoal*)\0"
    "Course*\0language,index\0course(Language*,int)\0"
    "course\0reloadCourseOrSkeleton(Course*)\0"
    "updateCourseFromSkeleton(Course*)\0"
    "language\0newCourseDialog(Language*)\0"
    "newCourseDialog()\0isRepositoryManager\0"
};

void ResourceManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ResourceManager *_t = static_cast<ResourceManager *>(_o);
        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]) = _r; }  break;
        case 14: { Language* _r = _t->language((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Language**>(_a[0]) = _r; }  break;
        case 15: { Language* _r = _t->language((*reinterpret_cast< LearnerProfile::LearningGoal*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Language**>(_a[0]) = _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]) = _r; }  break;
        case 17: _t->reloadCourseOrSkeleton((*reinterpret_cast< Course*(*)>(_a[1]))); break;
        case 18: _t->updateCourseFromSkeleton((*reinterpret_cast< Course*(*)>(_a[1]))); break;
        case 19: _t->newCourseDialog((*reinterpret_cast< Language*(*)>(_a[1]))); break;
        case 20: _t->newCourseDialog(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData ResourceManager::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject ResourceManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ResourceManager,
      qt_meta_data_ResourceManager, &staticMetaObjectExtraData }
};

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

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

void *ResourceManager::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_ResourceManager))
        return static_cast<void*>(const_cast< ResourceManager*>(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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = isRepositoryManager(); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void ResourceManager::languageResourceAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void ResourceManager::languageResourceAboutToBeAdded(LanguageResource * _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, 1, _a);
}

// SIGNAL 2
void ResourceManager::languageResourceRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

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

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

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

// SIGNAL 6
void ResourceManager::courseResourceAboutToBeAdded(CourseResource * _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, 6, _a);
}

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

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

// SIGNAL 9
void ResourceManager::skeletonAboutToBeAdded(Course * _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, 9, _a);
}

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

// SIGNAL 11
void ResourceManager::skeletonAboutToBeRemoved(int _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, 11, _a);
}

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