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

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

 // signals: signature, parameters, type, tag, flags
      19,   18,   18,   18, 0x05,
      40,   18,   18,   18, 0x05,
      62,   18,   18,   18, 0x05,
      87,   18,   18,   18, 0x05,
     107,   18,   18,   18, 0x05,

 // properties: name, type, flags
     143,  130, 0x0049510b,
     160,  155, 0x01495103,
     173,  155, 0x01495103,
     200,  189, 0x0049510b,
     215,  211, 0x02495001,

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

 // enums: name, flags, count, data
     189, 0x0,    2,   63,

 // enum data: key, value
     229, uint(PhraseFilterModel::Id),
     232, uint(PhraseFilterModel::Type),

       0        // eod
};

static const char qt_meta_stringdata_PhraseFilterModel[] = {
    "PhraseFilterModel\0\0phraseModelChanged()\0"
    "hideExcludedChanged()\0hideNotRecordedChanged()\0"
    "sortOptionChanged()\0filteredCountChanged()\0"
    "PhraseModel*\0phraseModel\0bool\0"
    "hideExcluded\0hideNotRecorded\0SortOption\0"
    "sortOption\0int\0filteredCount\0Id\0Type\0"
};

void PhraseFilterModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        PhraseFilterModel *_t = static_cast<PhraseFilterModel *>(_o);
        switch (_id) {
        case 0: _t->phraseModelChanged(); break;
        case 1: _t->hideExcludedChanged(); break;
        case 2: _t->hideNotRecordedChanged(); break;
        case 3: _t->sortOptionChanged(); break;
        case 4: _t->filteredCountChanged(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

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

const QMetaObject PhraseFilterModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_PhraseFilterModel,
      qt_meta_data_PhraseFilterModel, &staticMetaObjectExtraData }
};

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

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

void *PhraseFilterModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_PhraseFilterModel))
        return static_cast<void*>(const_cast< PhraseFilterModel*>(this));
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int PhraseFilterModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< PhraseModel**>(_v) = phraseModel(); break;
        case 1: *reinterpret_cast< bool*>(_v) = isHideExcluded(); break;
        case 2: *reinterpret_cast< bool*>(_v) = isHideNotRecorded(); break;
        case 3: *reinterpret_cast< SortOption*>(_v) = sortOption(); break;
        case 4: *reinterpret_cast< int*>(_v) = filteredCount(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setPhraseModel(*reinterpret_cast< PhraseModel**>(_v)); break;
        case 1: setHideExcluded(*reinterpret_cast< bool*>(_v)); break;
        case 2: setHideNotRecorded(*reinterpret_cast< bool*>(_v)); break;
        case 3: setSortOption(*reinterpret_cast< SortOption*>(_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 PhraseFilterModel::phraseModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

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

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

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

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