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

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       5,   44, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: signature, parameters, type, tag, flags
       8,    7,    7,    7, 0x05,
      20,    7,    7,    7, 0x05,
      35,    7,    7,    7, 0x05,
      58,    7,    7,    7, 0x05,
      78,    7,    7,    7, 0x05,

 // methods: signature, parameters, type, tag, flags
      99,   92,    7,    7, 0x02,

 // properties: name, type, flags
     125,  117, 0x0a495103,
     128,  117, 0x0a495103,
     134,  117, 0x0a495103,
     148,  117, 0x0a495103,
     159,  117, 0x0a495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,

       0        // eod
};

static const char qt_meta_stringdata_Lesson[] = {
    "Lesson\0\0idChanged()\0titleChanged()\0"
    "newCharactersChanged()\0charactersChanged()\0"
    "textChanged()\0source\0copyFrom(Lesson*)\0"
    "QString\0id\0title\0newCharacters\0"
    "characters\0text\0"
};

void Lesson::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Lesson *_t = static_cast<Lesson *>(_o);
        switch (_id) {
        case 0: _t->idChanged(); break;
        case 1: _t->titleChanged(); break;
        case 2: _t->newCharactersChanged(); break;
        case 3: _t->charactersChanged(); break;
        case 4: _t->textChanged(); break;
        case 5: _t->copyFrom((*reinterpret_cast< Lesson*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Lesson::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Lesson,
      qt_meta_data_Lesson, &staticMetaObjectExtraData }
};

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

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

void *Lesson::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Lesson))
        return static_cast<void*>(const_cast< Lesson*>(this));
    return QObject::qt_metacast(_clname);
}

int Lesson::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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = id(); break;
        case 1: *reinterpret_cast< QString*>(_v) = title(); break;
        case 2: *reinterpret_cast< QString*>(_v) = newCharacters(); break;
        case 3: *reinterpret_cast< QString*>(_v) = characters(); break;
        case 4: *reinterpret_cast< QString*>(_v) = text(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setId(*reinterpret_cast< QString*>(_v)); break;
        case 1: setTitle(*reinterpret_cast< QString*>(_v)); break;
        case 2: setNewCharacters(*reinterpret_cast< QString*>(_v)); break;
        case 3: setCharacters(*reinterpret_cast< QString*>(_v)); break;
        case 4: setText(*reinterpret_cast< QString*>(_v)); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

// SIGNAL 3
void Lesson::charactersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void Lesson::textChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}
QT_END_MOC_NAMESPACE
