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

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       3,   79, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      11,       // signalCount

 // signals: signature, parameters, type, tag, flags
       6,    5,    5,    5, 0x05,
      18,    5,    5,    5, 0x05,
      33,    5,    5,    5, 0x05,
      49,    5,    5,    5, 0x05,
      76,    5,    5,    5, 0x05,
      87,    5,    5,    5, 0x05,
     101,    5,    5,    5, 0x05,
     124,  122,    5,    5, 0x05,
     158,    5,    5,    5, 0x05,
     174,    5,    5,    5, 0x05,
     197,  122,    5,    5, 0x05,

 // methods: signature, parameters, type, tag, flags
     238,  229,    5,    5, 0x02,
     269,  229,    5,    5, 0x02,

 // properties: name, type, flags
     308,  300, 0x0a495103,
     311,  300, 0x0a495103,
     325,  317, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

static const char qt_meta_stringdata_Unit[] = {
    "Unit\0\0idChanged()\0titleChanged()\0"
    "courseChanged()\0displayPhraseTypeChanged()\0"
    "modified()\0phraseAdded()\0phraseAdded(Phrase*)\0"
    ",\0phraseAboutToBeAdded(Phrase*,int)\0"
    "phraseRemoved()\0phraseRemoved(Phrase*)\0"
    "phraseAboutToBeRemoved(int,int)\0"
    "phraseId\0excludeSkeletonPhrase(QString)\0"
    "includeSkeletonPhrase(QString)\0QString\0"
    "id\0title\0Course*\0course\0"
};

void Unit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Unit *_t = static_cast<Unit *>(_o);
        switch (_id) {
        case 0: _t->idChanged(); break;
        case 1: _t->titleChanged(); break;
        case 2: _t->courseChanged(); break;
        case 3: _t->displayPhraseTypeChanged(); break;
        case 4: _t->modified(); break;
        case 5: _t->phraseAdded(); break;
        case 6: _t->phraseAdded((*reinterpret_cast< Phrase*(*)>(_a[1]))); break;
        case 7: _t->phraseAboutToBeAdded((*reinterpret_cast< Phrase*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->phraseRemoved(); break;
        case 9: _t->phraseRemoved((*reinterpret_cast< Phrase*(*)>(_a[1]))); break;
        case 10: _t->phraseAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->excludeSkeletonPhrase((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->includeSkeletonPhrase((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Unit::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Unit,
      qt_meta_data_Unit, &staticMetaObjectExtraData }
};

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

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

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

int Unit::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
#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< Course**>(_v) = course(); break;
        }
        _id -= 3;
    } 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: setCourse(*reinterpret_cast< Course**>(_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 Unit::idChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

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

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

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

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

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

// SIGNAL 6
void Unit::phraseAdded(Phrase * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Unit::phraseAboutToBeAdded(Phrase * _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, 7, _a);
}

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

// SIGNAL 9
void Unit::phraseRemoved(Phrase * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Unit::phraseAboutToBeRemoved(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, 10, _a);
}
QT_END_MOC_NAMESPACE
