/****************************************************************************
** Meta object code from reading C++ file 'keyboardlayouteditor.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/ktouch-17.08.3/src/editor/keyboardlayouteditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'keyboardlayouteditor.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_KeyboardLayoutEditor_t {
    QByteArrayData data[24];
    char stringdata0[314];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KeyboardLayoutEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KeyboardLayoutEditor_t qt_meta_stringdata_KeyboardLayoutEditor = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KeyboardLayoutEditor"
QT_MOC_LITERAL(1, 21, 21), // "keyboardLayoutChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 15), // "readOnlyChanged"
QT_MOC_LITERAL(4, 60, 18), // "selectedKeyChanged"
QT_MOC_LITERAL(5, 79, 16), // "zoomLevelChanged"
QT_MOC_LITERAL(6, 96, 12), // "setZoomLevel"
QT_MOC_LITERAL(7, 109, 9), // "zoomLevel"
QT_MOC_LITERAL(8, 119, 14), // "clearSelection"
QT_MOC_LITERAL(9, 134, 17), // "validateSelection"
QT_MOC_LITERAL(10, 152, 12), // "createNewKey"
QT_MOC_LITERAL(11, 165, 19), // "createNewSpecialKey"
QT_MOC_LITERAL(12, 185, 17), // "deleteSelectedKey"
QT_MOC_LITERAL(13, 203, 14), // "setKeyGeometry"
QT_MOC_LITERAL(14, 218, 8), // "keyIndex"
QT_MOC_LITERAL(15, 227, 3), // "top"
QT_MOC_LITERAL(16, 231, 4), // "left"
QT_MOC_LITERAL(17, 236, 5), // "width"
QT_MOC_LITERAL(18, 242, 6), // "height"
QT_MOC_LITERAL(19, 249, 14), // "keyboardLayout"
QT_MOC_LITERAL(20, 264, 15), // "KeyboardLayout*"
QT_MOC_LITERAL(21, 280, 8), // "readOnly"
QT_MOC_LITERAL(22, 289, 11), // "selectedKey"
QT_MOC_LITERAL(23, 301, 12) // "AbstractKey*"

    },
    "KeyboardLayoutEditor\0keyboardLayoutChanged\0"
    "\0readOnlyChanged\0selectedKeyChanged\0"
    "zoomLevelChanged\0setZoomLevel\0zoomLevel\0"
    "clearSelection\0validateSelection\0"
    "createNewKey\0createNewSpecialKey\0"
    "deleteSelectedKey\0setKeyGeometry\0"
    "keyIndex\0top\0left\0width\0height\0"
    "keyboardLayout\0KeyboardLayout*\0readOnly\0"
    "selectedKey\0AbstractKey*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KeyboardLayoutEditor[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       4,   92, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    0,   72,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   73,    2, 0x0a /* Public */,
       8,    0,   76,    2, 0x08 /* Private */,
       9,    0,   77,    2, 0x08 /* Private */,
      10,    0,   78,    2, 0x08 /* Private */,
      11,    0,   79,    2, 0x08 /* Private */,
      12,    0,   80,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      13,    5,   81,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   14,   15,   16,   17,   18,

 // properties: name, type, flags
      19, 0x80000000 | 20, 0x00495009,
      21, QMetaType::Bool, 0x00495103,
      22, 0x80000000 | 23, 0x0049510b,
       7, QMetaType::Int, 0x00495103,

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

       0        // eod
};

void KeyboardLayoutEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KeyboardLayoutEditor *_t = static_cast<KeyboardLayoutEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->keyboardLayoutChanged(); break;
        case 1: _t->readOnlyChanged(); break;
        case 2: _t->selectedKeyChanged(); break;
        case 3: _t->zoomLevelChanged(); break;
        case 4: _t->setZoomLevel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->clearSelection(); break;
        case 6: _t->validateSelection(); break;
        case 7: _t->createNewKey(); break;
        case 8: _t->createNewSpecialKey(); break;
        case 9: _t->deleteSelectedKey(); break;
        case 10: _t->setKeyGeometry((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KeyboardLayoutEditor::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyboardLayoutEditor::keyboardLayoutChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KeyboardLayoutEditor::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyboardLayoutEditor::readOnlyChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KeyboardLayoutEditor::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyboardLayoutEditor::selectedKeyChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KeyboardLayoutEditor::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyboardLayoutEditor::zoomLevelChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KeyboardLayoutEditor *_t = static_cast<KeyboardLayoutEditor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< KeyboardLayout**>(_v) = _t->keyboardLayout(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->readOnly(); break;
        case 2: *reinterpret_cast< AbstractKey**>(_v) = _t->selectedKey(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->zoomLevel(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KeyboardLayoutEditor *_t = static_cast<KeyboardLayoutEditor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setSelectedKey(*reinterpret_cast< AbstractKey**>(_v)); break;
        case 3: _t->setZoomLevel(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KeyboardLayoutEditor::staticMetaObject = {
    { &AbstractEditor::staticMetaObject, qt_meta_stringdata_KeyboardLayoutEditor.data,
      qt_meta_data_KeyboardLayoutEditor,  qt_static_metacall, nullptr, nullptr}
};


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

void *KeyboardLayoutEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KeyboardLayoutEditor.stringdata0))
        return static_cast<void*>(this);
    return AbstractEditor::qt_metacast(_clname);
}

int KeyboardLayoutEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractEditor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KeyboardLayoutEditor::keyboardLayoutChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

// SIGNAL 3
void KeyboardLayoutEditor::zoomLevelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
