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

#include "../../src/ktouch-17.04.3/src/core/dataindex.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dataindex.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_DataIndex_t {
    QByteArrayData data[30];
    char stringdata0[478];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DataIndex_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DataIndex_t qt_meta_stringdata_DataIndex = {
    {
QT_MOC_LITERAL(0, 0, 9), // "DataIndex"
QT_MOC_LITERAL(1, 10, 18), // "courseCountChanged"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 26), // "keyboardLayoutCountChanged"
QT_MOC_LITERAL(4, 57, 20), // "courseAboutToBeAdded"
QT_MOC_LITERAL(5, 78, 16), // "DataIndexCourse*"
QT_MOC_LITERAL(6, 95, 6), // "course"
QT_MOC_LITERAL(7, 102, 5), // "index"
QT_MOC_LITERAL(8, 108, 11), // "courseAdded"
QT_MOC_LITERAL(9, 120, 23), // "coursesAboutToBeRemoved"
QT_MOC_LITERAL(10, 144, 5), // "first"
QT_MOC_LITERAL(11, 150, 4), // "last"
QT_MOC_LITERAL(12, 155, 14), // "coursesRemoved"
QT_MOC_LITERAL(13, 170, 28), // "keyboardLayoutAboutToBeAdded"
QT_MOC_LITERAL(14, 199, 24), // "DataIndexKeyboardLayout*"
QT_MOC_LITERAL(15, 224, 14), // "keyboardLayout"
QT_MOC_LITERAL(16, 239, 19), // "keyboardLayoutAdded"
QT_MOC_LITERAL(17, 259, 31), // "keyboardLayoutsAboutToBeRemoved"
QT_MOC_LITERAL(18, 291, 22), // "keyboardLayoutsRemoved"
QT_MOC_LITERAL(19, 314, 9), // "addCourse"
QT_MOC_LITERAL(20, 324, 12), // "removeCourse"
QT_MOC_LITERAL(21, 337, 12), // "clearCourses"
QT_MOC_LITERAL(22, 350, 17), // "addKeyboardLayout"
QT_MOC_LITERAL(23, 368, 20), // "removeKeyboardLayout"
QT_MOC_LITERAL(24, 389, 20), // "clearKeyboardLayouts"
QT_MOC_LITERAL(25, 410, 11), // "courseCount"
QT_MOC_LITERAL(26, 422, 19), // "keyboardLayoutCount"
QT_MOC_LITERAL(27, 442, 6), // "Source"
QT_MOC_LITERAL(28, 449, 15), // "BuiltInResource"
QT_MOC_LITERAL(29, 465, 12) // "UserResource"

    },
    "DataIndex\0courseCountChanged\0\0"
    "keyboardLayoutCountChanged\0"
    "courseAboutToBeAdded\0DataIndexCourse*\0"
    "course\0index\0courseAdded\0"
    "coursesAboutToBeRemoved\0first\0last\0"
    "coursesRemoved\0keyboardLayoutAboutToBeAdded\0"
    "DataIndexKeyboardLayout*\0keyboardLayout\0"
    "keyboardLayoutAdded\0keyboardLayoutsAboutToBeRemoved\0"
    "keyboardLayoutsRemoved\0addCourse\0"
    "removeCourse\0clearCourses\0addKeyboardLayout\0"
    "removeKeyboardLayout\0clearKeyboardLayouts\0"
    "courseCount\0keyboardLayoutCount\0Source\0"
    "BuiltInResource\0UserResource"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DataIndex[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
       2,  150, // properties
       1,  158, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    0,  105,    2, 0x06 /* Public */,
       4,    2,  106,    2, 0x06 /* Public */,
       8,    0,  111,    2, 0x06 /* Public */,
       9,    2,  112,    2, 0x06 /* Public */,
      12,    0,  117,    2, 0x06 /* Public */,
      13,    2,  118,    2, 0x06 /* Public */,
      16,    0,  123,    2, 0x06 /* Public */,
      17,    2,  124,    2, 0x06 /* Public */,
      18,    0,  129,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       6,    1,  130,    2, 0x02 /* Public */,
      19,    1,  133,    2, 0x02 /* Public */,
      20,    1,  136,    2, 0x02 /* Public */,
      21,    0,  139,    2, 0x02 /* Public */,
      15,    1,  140,    2, 0x02 /* Public */,
      22,    1,  143,    2, 0x02 /* Public */,
      23,    1,  146,    2, 0x02 /* Public */,
      24,    0,  149,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, QMetaType::Int,    6,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   10,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 14, QMetaType::Int,   15,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   10,   11,
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 5, QMetaType::Int,    7,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    0x80000000 | 14, QMetaType::Int,    7,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,

 // properties: name, type, flags
      25, QMetaType::Int, 0x00495001,
      26, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,
       1,

 // enums: name, flags, count, data
      27, 0x0,    2,  162,

 // enum data: key, value
      28, uint(DataIndex::BuiltInResource),
      29, uint(DataIndex::UserResource),

       0        // eod
};

void DataIndex::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DataIndex *_t = static_cast<DataIndex *>(_o);
        Q_UNUSED(_t)
        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: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataIndexCourse* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataIndexKeyboardLayout* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataIndexCourse* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataIndexKeyboardLayout* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DataIndex::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::courseCountChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::keyboardLayoutCountChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)(DataIndexCourse * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::courseAboutToBeAdded)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::courseAdded)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::coursesAboutToBeRemoved)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::coursesRemoved)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)(DataIndexKeyboardLayout * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::keyboardLayoutAboutToBeAdded)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::keyboardLayoutAdded)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::keyboardLayoutsAboutToBeRemoved)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (DataIndex::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndex::keyboardLayoutsRemoved)) {
                *result = 9;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        DataIndex *_t = static_cast<DataIndex *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->courseCount(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->keyboardLayoutCount(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject DataIndex::staticMetaObject = {
    { &Resource::staticMetaObject, qt_meta_stringdata_DataIndex.data,
      qt_meta_data_DataIndex,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *DataIndex::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_DataIndex.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#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 -= 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, Q_NULLPTR);
}

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

// SIGNAL 2
void DataIndex::courseAboutToBeAdded(DataIndexCourse * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, 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, Q_NULLPTR);
}

// SIGNAL 4
void DataIndex::coursesAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, 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, Q_NULLPTR);
}

// SIGNAL 6
void DataIndex::keyboardLayoutAboutToBeAdded(DataIndexKeyboardLayout * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, 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, Q_NULLPTR);
}

// SIGNAL 8
void DataIndex::keyboardLayoutsAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, 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, Q_NULLPTR);
}
struct qt_meta_stringdata_DataIndexCourse_t {
    QByteArrayData data[7];
    char stringdata0[73];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DataIndexCourse_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DataIndexCourse_t qt_meta_stringdata_DataIndexCourse = {
    {
QT_MOC_LITERAL(0, 0, 15), // "DataIndexCourse"
QT_MOC_LITERAL(1, 16, 11), // "pathChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 13), // "sourceChanged"
QT_MOC_LITERAL(4, 43, 4), // "path"
QT_MOC_LITERAL(5, 48, 6), // "source"
QT_MOC_LITERAL(6, 55, 17) // "DataIndex::Source"

    },
    "DataIndexCourse\0pathChanged\0\0sourceChanged\0"
    "path\0source\0DataIndex::Source"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DataIndexCourse[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x06 /* Public */,
       3,    0,   25,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       4, QMetaType::QString, 0x00495103,
       5, 0x80000000 | 6, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

void DataIndexCourse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DataIndexCourse *_t = static_cast<DataIndexCourse *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pathChanged(); break;
        case 1: _t->sourceChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DataIndexCourse::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndexCourse::pathChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DataIndexCourse::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndexCourse::sourceChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        DataIndexCourse *_t = static_cast<DataIndexCourse *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->path(); break;
        case 1: *reinterpret_cast< DataIndex::Source*>(_v) = _t->source(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        DataIndexCourse *_t = static_cast<DataIndexCourse *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPath(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setSource(*reinterpret_cast< DataIndex::Source*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

static const QMetaObject * const qt_meta_extradata_DataIndexCourse[] = {
        &DataIndex::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject DataIndexCourse::staticMetaObject = {
    { &CourseBase::staticMetaObject, qt_meta_stringdata_DataIndexCourse.data,
      qt_meta_data_DataIndexCourse,  qt_static_metacall, qt_meta_extradata_DataIndexCourse, Q_NULLPTR}
};


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

void *DataIndexCourse::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_DataIndexCourse.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
#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 -= 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, Q_NULLPTR);
}

// SIGNAL 1
void DataIndexCourse::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
struct qt_meta_stringdata_DataIndexKeyboardLayout_t {
    QByteArrayData data[7];
    char stringdata0[81];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DataIndexKeyboardLayout_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DataIndexKeyboardLayout_t qt_meta_stringdata_DataIndexKeyboardLayout = {
    {
QT_MOC_LITERAL(0, 0, 23), // "DataIndexKeyboardLayout"
QT_MOC_LITERAL(1, 24, 11), // "pathChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 13), // "sourceChanged"
QT_MOC_LITERAL(4, 51, 4), // "path"
QT_MOC_LITERAL(5, 56, 6), // "source"
QT_MOC_LITERAL(6, 63, 17) // "DataIndex::Source"

    },
    "DataIndexKeyboardLayout\0pathChanged\0"
    "\0sourceChanged\0path\0source\0DataIndex::Source"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DataIndexKeyboardLayout[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x06 /* Public */,
       3,    0,   25,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       4, QMetaType::QString, 0x00495103,
       5, 0x80000000 | 6, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

void DataIndexKeyboardLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DataIndexKeyboardLayout *_t = static_cast<DataIndexKeyboardLayout *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->pathChanged(); break;
        case 1: _t->sourceChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DataIndexKeyboardLayout::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndexKeyboardLayout::pathChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DataIndexKeyboardLayout::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DataIndexKeyboardLayout::sourceChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        DataIndexKeyboardLayout *_t = static_cast<DataIndexKeyboardLayout *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->path(); break;
        case 1: *reinterpret_cast< DataIndex::Source*>(_v) = _t->source(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        DataIndexKeyboardLayout *_t = static_cast<DataIndexKeyboardLayout *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPath(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setSource(*reinterpret_cast< DataIndex::Source*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

static const QMetaObject * const qt_meta_extradata_DataIndexKeyboardLayout[] = {
        &DataIndex::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject DataIndexKeyboardLayout::staticMetaObject = {
    { &KeyboardLayoutBase::staticMetaObject, qt_meta_stringdata_DataIndexKeyboardLayout.data,
      qt_meta_data_DataIndexKeyboardLayout,  qt_static_metacall, qt_meta_extradata_DataIndexKeyboardLayout, Q_NULLPTR}
};


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

void *DataIndexKeyboardLayout::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_DataIndexKeyboardLayout.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
#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 -= 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, Q_NULLPTR);
}

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