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

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       3,   89, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: signature, parameters, type, tag, flags
       8,    7,    7,    7, 0x05,
      43,    7,    7,    7, 0x05,
      64,    7,    7,    7, 0x05,
     109,   96,    7,    7, 0x05,
     143,    7,    7,    7, 0x05,
     168,  157,    7,    7, 0x05,
     201,    7,    7,    7, 0x05,

 // slots: signature, parameters, type, tag, flags
     229,  218,    7,    7, 0x08,
     257,    7,    7,    7, 0x28,

 // methods: signature, parameters, type, tag, flags
     296,  290,  282,    7, 0x02,
     315,  308,    7,    7, 0x02,
     347,  334,    7,    7, 0x02,
     373,  290,    7,    7, 0x02,
     391,    7,    7,    7, 0x02,
     413,  406,    7,    7, 0x02,

 // properties: name, type, flags
     448,  431, 0x0049510b,
     478,  474, 0x02495001,
     495,  490, 0x01495103,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

static const char qt_meta_stringdata_Course[] = {
    "Course\0\0associatedDataIndexCourseChanged()\0"
    "lessonCountChanged()\0"
    "doSyncLessonCharactersChanged()\0"
    "lesson,index\0lessonAboutToBeAdded(Lesson*,int)\0"
    "lessonAdded()\0first,last\0"
    "lessonsAboutToBeRemoved(int,int)\0"
    "lessonsRemoved()\0firstIndex\0"
    "updateLessonCharacters(int)\0"
    "updateLessonCharacters()\0Lesson*\0index\0"
    "lesson(int)\0lesson\0addLesson(Lesson*)\0"
    "index,lesson\0insertLesson(int,Lesson*)\0"
    "removeLesson(int)\0clearLessons()\0"
    "source\0copyFrom(Course*)\0DataIndexCourse*\0"
    "associatedDataIndexCourse\0int\0lessonCount\0"
    "bool\0doSyncLessonCharacters\0"
};

void Course::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Course *_t = static_cast<Course *>(_o);
        switch (_id) {
        case 0: _t->associatedDataIndexCourseChanged(); break;
        case 1: _t->lessonCountChanged(); break;
        case 2: _t->doSyncLessonCharactersChanged(); break;
        case 3: _t->lessonAboutToBeAdded((*reinterpret_cast< Lesson*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->lessonAdded(); break;
        case 5: _t->lessonsAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->lessonsRemoved(); break;
        case 7: _t->updateLessonCharacters((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->updateLessonCharacters(); break;
        case 9: { Lesson* _r = _t->lesson((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Lesson**>(_a[0]) = _r; }  break;
        case 10: _t->addLesson((*reinterpret_cast< Lesson*(*)>(_a[1]))); break;
        case 11: _t->insertLesson((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Lesson*(*)>(_a[2]))); break;
        case 12: _t->removeLesson((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->clearLessons(); break;
        case 14: _t->copyFrom((*reinterpret_cast< Course*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Course::staticMetaObject = {
    { &CourseBase::staticMetaObject, qt_meta_stringdata_Course,
      qt_meta_data_Course, &staticMetaObjectExtraData }
};

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

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

void *Course::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Course))
        return static_cast<void*>(const_cast< Course*>(this));
    return CourseBase::qt_metacast(_clname);
}

int Course::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = CourseBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< DataIndexCourse**>(_v) = associatedDataIndexCourse(); break;
        case 1: *reinterpret_cast< int*>(_v) = lessonCount(); break;
        case 2: *reinterpret_cast< bool*>(_v) = doSyncLessonCharacters(); break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setAssociatedDataIndexCourse(*reinterpret_cast< DataIndexCourse**>(_v)); break;
        case 2: setDoSyncLessonCharacters(*reinterpret_cast< bool*>(_v)); break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void Course::lessonCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

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

// SIGNAL 3
void Course::lessonAboutToBeAdded(Lesson * _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, 3, _a);
}

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

// SIGNAL 5
void Course::lessonsAboutToBeRemoved(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, 5, _a);
}

// SIGNAL 6
void Course::lessonsRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 6, 0);
}
QT_END_MOC_NAMESPACE
