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

#include <memory>
#include "../../../keyboard-2.3.1/src/plugin/device.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'device.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_MaliitKeyboard__Device_t {
    QByteArrayData data[33];
    char stringdata0[523];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MaliitKeyboard__Device_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MaliitKeyboard__Device_t qt_meta_stringdata_MaliitKeyboard__Device = {
    {
QT_MOC_LITERAL(0, 0, 22), // "MaliitKeyboard::Device"
QT_MOC_LITERAL(1, 23, 13), // "valuesChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 2), // "gu"
QT_MOC_LITERAL(4, 41, 5), // "value"
QT_MOC_LITERAL(5, 47, 2), // "dp"
QT_MOC_LITERAL(6, 50, 10), // "keyMargins"
QT_MOC_LITERAL(7, 61, 8), // "fontSize"
QT_MOC_LITERAL(8, 70, 8), // "fontBold"
QT_MOC_LITERAL(9, 79, 18), // "annotationFontSize"
QT_MOC_LITERAL(10, 98, 19), // "annotationTopMargin"
QT_MOC_LITERAL(11, 118, 21), // "annotationRightMargin"
QT_MOC_LITERAL(12, 140, 26), // "magnifierHorizontalPadding"
QT_MOC_LITERAL(13, 167, 24), // "magnifierVerticalPadding"
QT_MOC_LITERAL(14, 192, 16), // "actionKeyPadding"
QT_MOC_LITERAL(15, 209, 22), // "symbolShiftKeyFontSize"
QT_MOC_LITERAL(16, 232, 13), // "smallFontSize"
QT_MOC_LITERAL(17, 246, 18), // "popoverCellPadding"
QT_MOC_LITERAL(18, 265, 16), // "popoverTopMargin"
QT_MOC_LITERAL(19, 282, 17), // "popoverEdgeMargin"
QT_MOC_LITERAL(20, 300, 12), // "popoverSquat"
QT_MOC_LITERAL(21, 313, 10), // "top_margin"
QT_MOC_LITERAL(22, 324, 13), // "bottom_margin"
QT_MOC_LITERAL(23, 338, 10), // "row_margin"
QT_MOC_LITERAL(24, 349, 18), // "rowMarginLandscape"
QT_MOC_LITERAL(25, 368, 17), // "rowMarginPortrait"
QT_MOC_LITERAL(26, 386, 24), // "emailLayoutUrlKeyPadding"
QT_MOC_LITERAL(27, 411, 16), // "wordRibbonHeight"
QT_MOC_LITERAL(28, 428, 18), // "wordRibbonFontSize"
QT_MOC_LITERAL(29, 447, 22), // "keyboardHeightPortrait"
QT_MOC_LITERAL(30, 470, 23), // "keyboardHeightLandscape"
QT_MOC_LITERAL(31, 494, 11), // "flickMargin"
QT_MOC_LITERAL(32, 506, 16) // "flickBorderWidth"

    },
    "MaliitKeyboard::Device\0valuesChanged\0"
    "\0gu\0value\0dp\0keyMargins\0fontSize\0"
    "fontBold\0annotationFontSize\0"
    "annotationTopMargin\0annotationRightMargin\0"
    "magnifierHorizontalPadding\0"
    "magnifierVerticalPadding\0actionKeyPadding\0"
    "symbolShiftKeyFontSize\0smallFontSize\0"
    "popoverCellPadding\0popoverTopMargin\0"
    "popoverEdgeMargin\0popoverSquat\0"
    "top_margin\0bottom_margin\0row_margin\0"
    "rowMarginLandscape\0rowMarginPortrait\0"
    "emailLayoutUrlKeyPadding\0wordRibbonHeight\0"
    "wordRibbonFontSize\0keyboardHeightPortrait\0"
    "keyboardHeightLandscape\0flickMargin\0"
    "flickBorderWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MaliitKeyboard__Device[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
      27,   36, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       3,    1,   30,    2, 0x02 /* Public */,
       5,    1,   33,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,

 // methods: parameters
    QMetaType::Double, QMetaType::Double,    4,
    QMetaType::Double, QMetaType::Double,    4,

 // properties: name, type, flags
       6, QMetaType::Double, 0x00495001,
       7, QMetaType::Double, 0x00495001,
       8, QMetaType::Bool, 0x00495001,
       9, QMetaType::Double, 0x00495001,
      10, QMetaType::Double, 0x00495001,
      11, QMetaType::Double, 0x00495001,
      12, QMetaType::Double, 0x00495001,
      13, QMetaType::Double, 0x00495001,
      14, QMetaType::Double, 0x00495001,
      15, QMetaType::Double, 0x00495001,
      16, QMetaType::Double, 0x00495001,
      17, QMetaType::Double, 0x00495001,
      18, QMetaType::Double, 0x00495001,
      19, QMetaType::Double, 0x00495001,
      20, QMetaType::Double, 0x00495001,
      21, QMetaType::Double, 0x00495001,
      22, QMetaType::Double, 0x00495001,
      23, QMetaType::Double, 0x00495001,
      24, QMetaType::Double, 0x00495001,
      25, QMetaType::Double, 0x00495001,
      26, QMetaType::Double, 0x00495001,
      27, QMetaType::Double, 0x00495001,
      28, QMetaType::Double, 0x00495001,
      29, QMetaType::Double, 0x00495001,
      30, QMetaType::Double, 0x00495001,
      31, QMetaType::Double, 0x00495001,
      32, QMetaType::Double, 0x00495001,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

       0        // eod
};

void MaliitKeyboard::Device::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Device *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->valuesChanged(); break;
        case 1: { double _r = _t->gu((*reinterpret_cast< double(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 2: { double _r = _t->dp((*reinterpret_cast< double(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Device::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Device::valuesChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Device *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< double*>(_v) = _t->keyMargins(); break;
        case 1: *reinterpret_cast< double*>(_v) = _t->fontSize(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->fontBold(); break;
        case 3: *reinterpret_cast< double*>(_v) = _t->annotationFontSize(); break;
        case 4: *reinterpret_cast< double*>(_v) = _t->annotationTopMargin(); break;
        case 5: *reinterpret_cast< double*>(_v) = _t->annotationRightMargin(); break;
        case 6: *reinterpret_cast< double*>(_v) = _t->magnifierHorizontalPadding(); break;
        case 7: *reinterpret_cast< double*>(_v) = _t->magnifierVerticalPadding(); break;
        case 8: *reinterpret_cast< double*>(_v) = _t->actionKeyPadding(); break;
        case 9: *reinterpret_cast< double*>(_v) = _t->symbolShiftKeyFontSize(); break;
        case 10: *reinterpret_cast< double*>(_v) = _t->smallFontSize(); break;
        case 11: *reinterpret_cast< double*>(_v) = _t->popoverCellPadding(); break;
        case 12: *reinterpret_cast< double*>(_v) = _t->popoverTopMargin(); break;
        case 13: *reinterpret_cast< double*>(_v) = _t->popoverEdgeMargin(); break;
        case 14: *reinterpret_cast< double*>(_v) = _t->popoverSquat(); break;
        case 15: *reinterpret_cast< double*>(_v) = _t->top_margin(); break;
        case 16: *reinterpret_cast< double*>(_v) = _t->bottom_margin(); break;
        case 17: *reinterpret_cast< double*>(_v) = _t->row_margin(); break;
        case 18: *reinterpret_cast< double*>(_v) = _t->rowMarginLandscape(); break;
        case 19: *reinterpret_cast< double*>(_v) = _t->rowMarginPortrait(); break;
        case 20: *reinterpret_cast< double*>(_v) = _t->emailLayoutUrlKeyPadding(); break;
        case 21: *reinterpret_cast< double*>(_v) = _t->wordRibbonHeight(); break;
        case 22: *reinterpret_cast< double*>(_v) = _t->wordRibbonFontSize(); break;
        case 23: *reinterpret_cast< double*>(_v) = _t->keyboardHeightPortrait(); break;
        case 24: *reinterpret_cast< double*>(_v) = _t->keyboardHeightLandscape(); break;
        case 25: *reinterpret_cast< double*>(_v) = _t->flickMargin(); break;
        case 26: *reinterpret_cast< double*>(_v) = _t->flickBorderWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MaliitKeyboard::Device::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_MaliitKeyboard__Device.data,
    qt_meta_data_MaliitKeyboard__Device,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MaliitKeyboard::Device::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MaliitKeyboard__Device.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int MaliitKeyboard::Device::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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 -= 27;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 27;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 27;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 27;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 27;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 27;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void MaliitKeyboard::Device::valuesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
