/****************************************************************************
** Meta object code from reading C++ file 'phrase.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/artikulate-17.08.3/src/core/phrase.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'phrase.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Phrase_t {
    QByteArrayData data[45];
    char stringdata0[471];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Phrase_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Phrase_t qt_meta_stringdata_Phrase = {
    {
QT_MOC_LITERAL(0, 0, 6), // "Phrase"
QT_MOC_LITERAL(1, 7, 9), // "idChanged"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 11), // "unitChanged"
QT_MOC_LITERAL(4, 30, 11), // "textChanged"
QT_MOC_LITERAL(5, 42, 15), // "i18nTextChanged"
QT_MOC_LITERAL(6, 58, 11), // "typeChanged"
QT_MOC_LITERAL(7, 70, 16), // "editStateChanged"
QT_MOC_LITERAL(8, 87, 12), // "soundChanged"
QT_MOC_LITERAL(9, 100, 15), // "excludedChanged"
QT_MOC_LITERAL(10, 116, 15), // "phonemesChanged"
QT_MOC_LITERAL(11, 132, 8), // "modified"
QT_MOC_LITERAL(12, 141, 15), // "progressChanged"
QT_MOC_LITERAL(13, 157, 19), // "soundFileOutputPath"
QT_MOC_LITERAL(14, 177, 15), // "setSoundFileUrl"
QT_MOC_LITERAL(15, 193, 10), // "hasPhoneme"
QT_MOC_LITERAL(16, 204, 8), // "Phoneme*"
QT_MOC_LITERAL(17, 213, 7), // "phoneme"
QT_MOC_LITERAL(18, 221, 10), // "addPhoneme"
QT_MOC_LITERAL(19, 232, 13), // "removePhoneme"
QT_MOC_LITERAL(20, 246, 2), // "id"
QT_MOC_LITERAL(21, 249, 4), // "text"
QT_MOC_LITERAL(22, 254, 8), // "i18nText"
QT_MOC_LITERAL(23, 263, 12), // "soundFileUrl"
QT_MOC_LITERAL(24, 276, 4), // "type"
QT_MOC_LITERAL(25, 281, 12), // "Phrase::Type"
QT_MOC_LITERAL(26, 294, 9), // "editState"
QT_MOC_LITERAL(27, 304, 17), // "Phrase::EditState"
QT_MOC_LITERAL(28, 322, 4), // "unit"
QT_MOC_LITERAL(29, 327, 5), // "Unit*"
QT_MOC_LITERAL(30, 333, 8), // "excluded"
QT_MOC_LITERAL(31, 342, 8), // "progress"
QT_MOC_LITERAL(32, 351, 9), // "EditState"
QT_MOC_LITERAL(33, 361, 7), // "Unknown"
QT_MOC_LITERAL(34, 369, 10), // "Translated"
QT_MOC_LITERAL(35, 380, 9), // "Completed"
QT_MOC_LITERAL(36, 390, 13), // "TrainingState"
QT_MOC_LITERAL(37, 404, 7), // "Trained"
QT_MOC_LITERAL(38, 412, 9), // "Untrained"
QT_MOC_LITERAL(39, 422, 4), // "Type"
QT_MOC_LITERAL(40, 427, 4), // "Word"
QT_MOC_LITERAL(41, 432, 10), // "Expression"
QT_MOC_LITERAL(42, 443, 8), // "Sentence"
QT_MOC_LITERAL(43, 452, 9), // "Paragraph"
QT_MOC_LITERAL(44, 462, 8) // "AllTypes"

    },
    "Phrase\0idChanged\0\0unitChanged\0textChanged\0"
    "i18nTextChanged\0typeChanged\0"
    "editStateChanged\0soundChanged\0"
    "excludedChanged\0phonemesChanged\0"
    "modified\0progressChanged\0soundFileOutputPath\0"
    "setSoundFileUrl\0hasPhoneme\0Phoneme*\0"
    "phoneme\0addPhoneme\0removePhoneme\0id\0"
    "text\0i18nText\0soundFileUrl\0type\0"
    "Phrase::Type\0editState\0Phrase::EditState\0"
    "unit\0Unit*\0excluded\0progress\0EditState\0"
    "Unknown\0Translated\0Completed\0TrainingState\0"
    "Trained\0Untrained\0Type\0Word\0Expression\0"
    "Sentence\0Paragraph\0AllTypes"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Phrase[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       9,  116, // properties
       3,  152, // enums/sets
       0,    0, // constructors
       0,       // flags
      11,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    0,   95,    2, 0x06 /* Public */,
       4,    0,   96,    2, 0x06 /* Public */,
       5,    0,   97,    2, 0x06 /* Public */,
       6,    0,   98,    2, 0x06 /* Public */,
       7,    0,   99,    2, 0x06 /* Public */,
       8,    0,  100,    2, 0x06 /* Public */,
       9,    0,  101,    2, 0x06 /* Public */,
      10,    0,  102,    2, 0x06 /* Public */,
      11,    0,  103,    2, 0x06 /* Public */,
      12,    0,  104,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      13,    0,  105,    2, 0x02 /* Public */,
      14,    0,  106,    2, 0x02 /* Public */,
      15,    1,  107,    2, 0x02 /* Public */,
      18,    1,  110,    2, 0x02 /* Public */,
      19,    1,  113,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QString,
    QMetaType::Void,
    QMetaType::Bool, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 16,   17,

 // properties: name, type, flags
      20, QMetaType::QString, 0x00495103,
      21, QMetaType::QString, 0x00495103,
      22, QMetaType::QString, 0x00495003,
      23, QMetaType::QString, 0x00495001,
      24, 0x80000000 | 25, 0x0049510b,
      26, 0x80000000 | 27, 0x0049510b,
      28, 0x80000000 | 29, 0x00495009,
      30, QMetaType::Bool, 0x00495001,
      31, QMetaType::Int, 0x00495001,

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

 // enums: name, flags, count, data
      32, 0x0,    3,  164,
      36, 0x0,    2,  170,
      39, 0x0,    5,  174,

 // enum data: key, value
      33, uint(Phrase::Unknown),
      34, uint(Phrase::Translated),
      35, uint(Phrase::Completed),
      37, uint(Phrase::Trained),
      38, uint(Phrase::Untrained),
      40, uint(Phrase::Word),
      41, uint(Phrase::Expression),
      42, uint(Phrase::Sentence),
      43, uint(Phrase::Paragraph),
      44, uint(Phrase::AllTypes),

       0        // eod
};

void Phrase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Phrase *_t = static_cast<Phrase *>(_o);
        Q_UNUSED(_t)
        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->soundChanged(); break;
        case 7: _t->excludedChanged(); break;
        case 8: _t->phonemesChanged(); break;
        case 9: _t->modified(); break;
        case 10: _t->progressChanged(); break;
        case 11: { QString _r = _t->soundFileOutputPath();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_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]) = std::move(_r); }  break;
        case 14: _t->addPhoneme((*reinterpret_cast< Phoneme*(*)>(_a[1]))); break;
        case 15: _t->removePhoneme((*reinterpret_cast< Phoneme*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::idChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::unitChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::textChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::i18nTextChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::typeChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::editStateChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::soundChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::excludedChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::phonemesChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::modified)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Phrase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Phrase::progressChanged)) {
                *result = 10;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Phrase *_t = static_cast<Phrase *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->id(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->i18nText(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->soundFileUrl(); break;
        case 4: *reinterpret_cast< Phrase::Type*>(_v) = _t->type(); break;
        case 5: *reinterpret_cast< Phrase::EditState*>(_v) = _t->editState(); break;
        case 6: *reinterpret_cast< Unit**>(_v) = _t->unit(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isExcluded(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->progress(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Phrase *_t = static_cast<Phrase *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setId(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->seti18nText(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setType(*reinterpret_cast< Phrase::Type*>(_v)); break;
        case 5: _t->setEditState(*reinterpret_cast< Phrase::EditState*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Phrase::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Phrase.data,
      qt_meta_data_Phrase,  qt_static_metacall, nullptr, nullptr}
};


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

void *Phrase::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Phrase.stringdata0))
        return static_cast<void*>(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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _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, nullptr);
}

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

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

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

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

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

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

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

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

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

// SIGNAL 10
void Phrase::progressChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
