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

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       9,   94, // properties
       3,  130, // enums/sets
       0,    0, // constructors
       0,       // flags
      11,       // signalCount

 // signals: signature, parameters, type, tag, flags
       8,    7,    7,    7, 0x05,
      20,    7,    7,    7, 0x05,
      34,    7,    7,    7, 0x05,
      48,    7,    7,    7, 0x05,
      66,    7,    7,    7, 0x05,
      80,    7,    7,    7, 0x05,
      99,    7,    7,    7, 0x05,
     122,    7,    7,    7, 0x05,
     137,    7,    7,    7, 0x05,
     155,    7,    7,    7, 0x05,
     173,    7,    7,    7, 0x05,

 // methods: signature, parameters, type, tag, flags
     192,    7,  184,    7, 0x02,
     214,    7,    7,    7, 0x02,
     245,  237,  232,    7, 0x02,
     266,  237,    7,    7, 0x02,
     287,  237,    7,    7, 0x02,

 // properties: name, type, flags
     311,  184, 0x0a495103,
     314,  184, 0x0a495103,
     319,  184, 0x0a495003,
     328,  184, 0x0a495001,
     354,  341, 0x0049510b,
     377,  359, 0x0049510b,
     409,  387, 0x0049510b,
     429,  423, 0x00495009,
     434,  232, 0x01495001,

 // properties: notify_signal_id
       0,
       2,
       3,
       7,
       4,
       5,
       6,
       1,
       8,

 // enums: name, flags, count, data
     443, 0x0,    3,  142,
     453, 0x0,    2,  148,
     467, 0x0,    5,  152,

 // enum data: key, value
     472, uint(Phrase::Unknown),
     480, uint(Phrase::Translated),
     491, uint(Phrase::Completed),
     501, uint(Phrase::Trained),
     509, uint(Phrase::Untrained),
     519, uint(Phrase::Word),
     524, uint(Phrase::Expression),
     535, uint(Phrase::Sentence),
     544, uint(Phrase::Paragraph),
     554, uint(Phrase::AllTypes),

       0        // eod
};

static const char qt_meta_stringdata_Phrase[] = {
    "Phrase\0\0idChanged()\0unitChanged()\0"
    "textChanged()\0i18nTextChanged()\0"
    "typeChanged()\0editStateChanged()\0"
    "trainingStateChanged()\0soundChanged()\0"
    "excludedChanged()\0phonemesChanged()\0"
    "modified()\0QString\0soundFileOutputPath()\0"
    "setSoundFileUrl()\0bool\0phoneme\0"
    "hasPhoneme(Phoneme*)\0addPhoneme(Phoneme*)\0"
    "removePhoneme(Phoneme*)\0id\0text\0"
    "i18nText\0soundFileUrl\0Phrase::Type\0"
    "type\0Phrase::EditState\0editState\0"
    "Phrase::TrainingState\0trainingState\0"
    "Unit*\0unit\0excluded\0EditState\0"
    "TrainingState\0Type\0Unknown\0Translated\0"
    "Completed\0Trained\0Untrained\0Word\0"
    "Expression\0Sentence\0Paragraph\0AllTypes\0"
};

void Phrase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Phrase *_t = static_cast<Phrase *>(_o);
        switch (_id) {
        case 0: _t->idChanged(); break;
        case 1: _t->unitChanged(); break;
        case 2: _t->textChanged(); break;
        case 3: _t->i18nTextChanged(); break;
        case 4: _t->typeChanged(); break;
        case 5: _t->editStateChanged(); break;
        case 6: _t->trainingStateChanged(); break;
        case 7: _t->soundChanged(); break;
        case 8: _t->excludedChanged(); break;
        case 9: _t->phonemesChanged(); break;
        case 10: _t->modified(); break;
        case 11: { QString _r = _t->soundFileOutputPath();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 12: _t->setSoundFileUrl(); break;
        case 13: { bool _r = _t->hasPhoneme((*reinterpret_cast< Phoneme*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 14: _t->addPhoneme((*reinterpret_cast< Phoneme*(*)>(_a[1]))); break;
        case 15: _t->removePhoneme((*reinterpret_cast< Phoneme*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Phrase::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Phrase,
      qt_meta_data_Phrase, &staticMetaObjectExtraData }
};

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

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

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

int Phrase::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#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) = text(); break;
        case 2: *reinterpret_cast< QString*>(_v) = i18nText(); break;
        case 3: *reinterpret_cast< QString*>(_v) = soundFileUrl(); break;
        case 4: *reinterpret_cast< Phrase::Type*>(_v) = type(); break;
        case 5: *reinterpret_cast< Phrase::EditState*>(_v) = editState(); break;
        case 6: *reinterpret_cast< Phrase::TrainingState*>(_v) = trainingState(); break;
        case 7: *reinterpret_cast< Unit**>(_v) = unit(); break;
        case 8: *reinterpret_cast< bool*>(_v) = isExcluded(); break;
        }
        _id -= 9;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setId(*reinterpret_cast< QString*>(_v)); break;
        case 1: setText(*reinterpret_cast< QString*>(_v)); break;
        case 2: seti18nText(*reinterpret_cast< QString*>(_v)); break;
        case 4: setType(*reinterpret_cast< Phrase::Type*>(_v)); break;
        case 5: setEditState(*reinterpret_cast< Phrase::EditState*>(_v)); break;
        case 6: setTrainingState(*reinterpret_cast< Phrase::TrainingState*>(_v)); break;
        }
        _id -= 9;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void Phrase::trainingStateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, 0);
}

// SIGNAL 7
void Phrase::soundChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, 0);
}

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

// SIGNAL 9
void Phrase::phonemesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, 0);
}

// SIGNAL 10
void Phrase::modified()
{
    QMetaObject::activate(this, &staticMetaObject, 10, 0);
}
QT_END_MOC_NAMESPACE
