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

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
       2,  104, // properties
       1,  112, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: signature, parameters, type, tag, flags
      11,   10,   10,   10, 0x05,
      32,   10,   10,   10, 0x05,
      74,   61,   10,   10, 0x05,
     117,   10,   10,   10, 0x05,
     142,  131,   10,   10, 0x05,
     175,   10,   10,   10, 0x05,
     213,  192,   10,   10, 0x05,
     272,   10,   10,   10, 0x05,
     294,  131,   10,   10, 0x05,
     335,   10,   10,   10, 0x05,

 // methods: signature, parameters, type, tag, flags
     383,  377,  360,   10, 0x02,
     402,  395,   10,   10, 0x02,
     430,  377,   10,   10, 0x02,
     448,   10,   10,   10, 0x02,
     488,  377,  463,   10, 0x02,
     523,  508,   10,   10, 0x02,
     567,  377,   10,   10, 0x02,
     593,   10,   10,   10, 0x02,

 // properties: name, type, flags
     620,  616, 0x02495001,
     632,  616, 0x02495001,

 // properties: notify_signal_id
       0,
       1,

 // enums: name, flags, count, data
     652, 0x0,    2,  116,

 // enum data: key, value
     659, uint(DataIndex::BuiltInResource),
     675, uint(DataIndex::UserResource),

       0        // eod
};

static const char qt_meta_stringdata_DataIndex[] = {
    "DataIndex\0\0courseCountChanged()\0"
    "keyboardLayoutCountChanged()\0course,index\0"
    "courseAboutToBeAdded(DataIndexCourse*,int)\0"
    "courseAdded()\0first,last\0"
    "coursesAboutToBeRemoved(int,int)\0"
    "coursesRemoved()\0keyboardLayout,index\0"
    "keyboardLayoutAboutToBeAdded(DataIndexKeyboardLayout*,int)\0"
    "keyboardLayoutAdded()\0"
    "keyboardLayoutsAboutToBeRemoved(int,int)\0"
    "keyboardLayoutsRemoved()\0DataIndexCourse*\0"
    "index\0course(int)\0course\0"
    "addCourse(DataIndexCourse*)\0"
    "removeCourse(int)\0clearCourses()\0"
    "DataIndexKeyboardLayout*\0keyboardLayout(int)\0"
    "keyboardLayout\0"
    "addKeyboardLayout(DataIndexKeyboardLayout*)\0"
    "removeKeyboardLayout(int)\0"
    "clearKeyboardLayouts()\0int\0courseCount\0"
    "keyboardLayoutCount\0Source\0BuiltInResource\0"
    "UserResource\0"
};

void DataIndex::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DataIndex *_t = static_cast<DataIndex *>(_o);
        switch (_id) {
        case 0: _t->courseCountChanged(); break;
        case 1: _t->keyboardLayoutCountChanged(); break;
        case 2: _t->courseAboutToBeAdded((*reinterpret_cast< DataIndexCourse*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->courseAdded(); break;
        case 4: _t->coursesAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->coursesRemoved(); break;
        case 6: _t->keyboardLayoutAboutToBeAdded((*reinterpret_cast< DataIndexKeyboardLayout*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->keyboardLayoutAdded(); break;
        case 8: _t->keyboardLayoutsAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 9: _t->keyboardLayoutsRemoved(); break;
        case 10: { DataIndexCourse* _r = _t->course((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DataIndexCourse**>(_a[0]) = _r; }  break;
        case 11: _t->addCourse((*reinterpret_cast< DataIndexCourse*(*)>(_a[1]))); break;
        case 12: _t->removeCourse((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->clearCourses(); break;
        case 14: { DataIndexKeyboardLayout* _r = _t->keyboardLayout((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DataIndexKeyboardLayout**>(_a[0]) = _r; }  break;
        case 15: _t->addKeyboardLayout((*reinterpret_cast< DataIndexKeyboardLayout*(*)>(_a[1]))); break;
        case 16: _t->removeKeyboardLayout((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->clearKeyboardLayouts(); break;
        default: ;
        }
    }
}

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

const QMetaObject DataIndex::staticMetaObject = {
    { &Resource::staticMetaObject, qt_meta_stringdata_DataIndex,
      qt_meta_data_DataIndex, &staticMetaObjectExtraData }
};

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

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

void *DataIndex::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_DataIndex))
        return static_cast<void*>(const_cast< DataIndex*>(this));
    return Resource::qt_metacast(_clname);
}

int DataIndex::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Resource::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = courseCount(); break;
        case 1: *reinterpret_cast< int*>(_v) = keyboardLayoutCount(); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void DataIndex::courseAboutToBeAdded(DataIndexCourse * _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, 2, _a);
}

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

// SIGNAL 4
void DataIndex::coursesAboutToBeRemoved(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, 4, _a);
}

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

// SIGNAL 6
void DataIndex::keyboardLayoutAboutToBeAdded(DataIndexKeyboardLayout * _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, 6, _a);
}

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

// SIGNAL 8
void DataIndex::keyboardLayoutsAboutToBeRemoved(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, 8, _a);
}

// SIGNAL 9
void DataIndex::keyboardLayoutsRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 9, 0);
}
static const uint qt_meta_data_DataIndexCourse[] = {

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

 // signals: signature, parameters, type, tag, flags
      17,   16,   16,   16, 0x05,
      31,   16,   16,   16, 0x05,

 // properties: name, type, flags
      55,   47, 0x0a495103,
      78,   60, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

static const char qt_meta_stringdata_DataIndexCourse[] = {
    "DataIndexCourse\0\0pathChanged()\0"
    "sourceChanged()\0QString\0path\0"
    "DataIndex::Source\0source\0"
};

void DataIndexCourse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DataIndexCourse *_t = static_cast<DataIndexCourse *>(_o);
        switch (_id) {
        case 0: _t->pathChanged(); break;
        case 1: _t->sourceChanged(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

#ifdef Q_NO_DATA_RELOCATION
static const QMetaObjectAccessor qt_meta_extradata_DataIndexCourse[] = {
        DataIndex::getStaticMetaObject,
#else
static const QMetaObject *qt_meta_extradata_DataIndexCourse[] = {
        &DataIndex::staticMetaObject,
#endif //Q_NO_DATA_RELOCATION
    0
};

const QMetaObjectExtraData DataIndexCourse::staticMetaObjectExtraData = {
    qt_meta_extradata_DataIndexCourse,  qt_static_metacall 
};

const QMetaObject DataIndexCourse::staticMetaObject = {
    { &CourseBase::staticMetaObject, qt_meta_stringdata_DataIndexCourse,
      qt_meta_data_DataIndexCourse, &staticMetaObjectExtraData }
};

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

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

void *DataIndexCourse::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_DataIndexCourse))
        return static_cast<void*>(const_cast< DataIndexCourse*>(this));
    return CourseBase::qt_metacast(_clname);
}

int DataIndexCourse::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = CourseBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = path(); break;
        case 1: *reinterpret_cast< DataIndex::Source*>(_v) = source(); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setPath(*reinterpret_cast< QString*>(_v)); break;
        case 1: setSource(*reinterpret_cast< DataIndex::Source*>(_v)); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void DataIndexCourse::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
static const uint qt_meta_data_DataIndexKeyboardLayout[] = {

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

 // signals: signature, parameters, type, tag, flags
      25,   24,   24,   24, 0x05,
      39,   24,   24,   24, 0x05,

 // properties: name, type, flags
      63,   55, 0x0a495103,
      86,   68, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

static const char qt_meta_stringdata_DataIndexKeyboardLayout[] = {
    "DataIndexKeyboardLayout\0\0pathChanged()\0"
    "sourceChanged()\0QString\0path\0"
    "DataIndex::Source\0source\0"
};

void DataIndexKeyboardLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DataIndexKeyboardLayout *_t = static_cast<DataIndexKeyboardLayout *>(_o);
        switch (_id) {
        case 0: _t->pathChanged(); break;
        case 1: _t->sourceChanged(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

#ifdef Q_NO_DATA_RELOCATION
static const QMetaObjectAccessor qt_meta_extradata_DataIndexKeyboardLayout[] = {
        DataIndex::getStaticMetaObject,
#else
static const QMetaObject *qt_meta_extradata_DataIndexKeyboardLayout[] = {
        &DataIndex::staticMetaObject,
#endif //Q_NO_DATA_RELOCATION
    0
};

const QMetaObjectExtraData DataIndexKeyboardLayout::staticMetaObjectExtraData = {
    qt_meta_extradata_DataIndexKeyboardLayout,  qt_static_metacall 
};

const QMetaObject DataIndexKeyboardLayout::staticMetaObject = {
    { &KeyboardLayoutBase::staticMetaObject, qt_meta_stringdata_DataIndexKeyboardLayout,
      qt_meta_data_DataIndexKeyboardLayout, &staticMetaObjectExtraData }
};

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

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

void *DataIndexKeyboardLayout::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_DataIndexKeyboardLayout))
        return static_cast<void*>(const_cast< DataIndexKeyboardLayout*>(this));
    return KeyboardLayoutBase::qt_metacast(_clname);
}

int DataIndexKeyboardLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KeyboardLayoutBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = path(); break;
        case 1: *reinterpret_cast< DataIndex::Source*>(_v) = source(); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setPath(*reinterpret_cast< QString*>(_v)); break;
        case 1: setSource(*reinterpret_cast< DataIndex::Source*>(_v)); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void DataIndexKeyboardLayout::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
QT_END_MOC_NAMESPACE
