/****************************************************************************
** Meta object code from reading C++ file 'layout.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/lib/models/layout.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'layout.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__Model__Layout_t {
    QByteArrayData data[56];
    char stringdata0[733];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MaliitKeyboard__Model__Layout_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MaliitKeyboard__Model__Layout_t qt_meta_stringdata_MaliitKeyboard__Model__Layout = {
    {
QT_MOC_LITERAL(0, 0, 29), // "MaliitKeyboard::Model::Layout"
QT_MOC_LITERAL(1, 30, 12), // "titleChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 7), // "changed"
QT_MOC_LITERAL(4, 52, 14), // "visibleChanged"
QT_MOC_LITERAL(5, 67, 12), // "widthChanged"
QT_MOC_LITERAL(6, 80, 13), // "heightChanged"
QT_MOC_LITERAL(7, 94, 13), // "originChanged"
QT_MOC_LITERAL(8, 108, 17), // "backgroundChanged"
QT_MOC_LITERAL(9, 126, 24), // "backgroundBordersChanged"
QT_MOC_LITERAL(10, 151, 12), // "stateChanged"
QT_MOC_LITERAL(11, 164, 20), // "Model::Layout::State"
QT_MOC_LITERAL(12, 185, 5), // "state"
QT_MOC_LITERAL(13, 191, 17), // "activeViewChanged"
QT_MOC_LITERAL(14, 209, 12), // "activeViewId"
QT_MOC_LITERAL(15, 222, 8), // "setTitle"
QT_MOC_LITERAL(16, 231, 5), // "title"
QT_MOC_LITERAL(17, 237, 10), // "setKeyArea"
QT_MOC_LITERAL(18, 248, 7), // "KeyArea"
QT_MOC_LITERAL(19, 256, 4), // "area"
QT_MOC_LITERAL(20, 261, 9), // "isVisible"
QT_MOC_LITERAL(21, 271, 5), // "width"
QT_MOC_LITERAL(22, 277, 6), // "height"
QT_MOC_LITERAL(23, 284, 6), // "origin"
QT_MOC_LITERAL(24, 291, 10), // "background"
QT_MOC_LITERAL(25, 302, 17), // "backgroundBorders"
QT_MOC_LITERAL(26, 320, 17), // "setImageDirectory"
QT_MOC_LITERAL(27, 338, 9), // "directory"
QT_MOC_LITERAL(28, 348, 5), // "State"
QT_MOC_LITERAL(29, 354, 8), // "setState"
QT_MOC_LITERAL(30, 363, 10), // "activeView"
QT_MOC_LITERAL(31, 374, 13), // "setActiveView"
QT_MOC_LITERAL(32, 388, 4), // "data"
QT_MOC_LITERAL(33, 393, 5), // "index"
QT_MOC_LITERAL(34, 399, 4), // "role"
QT_MOC_LITERAL(35, 404, 7), // "visible"
QT_MOC_LITERAL(36, 412, 18), // "background_borders"
QT_MOC_LITERAL(37, 431, 14), // "keyboard_state"
QT_MOC_LITERAL(38, 446, 12), // "DefaultState"
QT_MOC_LITERAL(39, 459, 12), // "ShiftedState"
QT_MOC_LITERAL(40, 472, 18), // "PrimarySymbolState"
QT_MOC_LITERAL(41, 491, 20), // "SecondarySymbolState"
QT_MOC_LITERAL(42, 512, 12), // "DeadkeyState"
QT_MOC_LITERAL(43, 525, 5), // "Roles"
QT_MOC_LITERAL(44, 531, 16), // "RoleKeyRectangle"
QT_MOC_LITERAL(45, 548, 19), // "RoleKeyReactiveArea"
QT_MOC_LITERAL(46, 568, 17), // "RoleKeyBackground"
QT_MOC_LITERAL(47, 586, 24), // "RoleKeyBackgroundBorders"
QT_MOC_LITERAL(48, 611, 11), // "RoleKeyText"
QT_MOC_LITERAL(49, 623, 11), // "RoleKeyFont"
QT_MOC_LITERAL(50, 635, 16), // "RoleKeyFontColor"
QT_MOC_LITERAL(51, 652, 15), // "RoleKeyFontSize"
QT_MOC_LITERAL(52, 668, 18), // "RoleKeyFontStretch"
QT_MOC_LITERAL(53, 687, 11), // "RoleKeyIcon"
QT_MOC_LITERAL(54, 699, 19), // "RoleKeyActionInsert"
QT_MOC_LITERAL(55, 719, 13) // "RoleKeyAction"

    },
    "MaliitKeyboard::Model::Layout\0"
    "titleChanged\0\0changed\0visibleChanged\0"
    "widthChanged\0heightChanged\0originChanged\0"
    "backgroundChanged\0backgroundBordersChanged\0"
    "stateChanged\0Model::Layout::State\0"
    "state\0activeViewChanged\0activeViewId\0"
    "setTitle\0title\0setKeyArea\0KeyArea\0"
    "area\0isVisible\0width\0height\0origin\0"
    "background\0backgroundBorders\0"
    "setImageDirectory\0directory\0State\0"
    "setState\0activeView\0setActiveView\0"
    "data\0index\0role\0visible\0background_borders\0"
    "keyboard_state\0DefaultState\0ShiftedState\0"
    "PrimarySymbolState\0SecondarySymbolState\0"
    "DeadkeyState\0Roles\0RoleKeyRectangle\0"
    "RoleKeyReactiveArea\0RoleKeyBackground\0"
    "RoleKeyBackgroundBorders\0RoleKeyText\0"
    "RoleKeyFont\0RoleKeyFontColor\0"
    "RoleKeyFontSize\0RoleKeyFontStretch\0"
    "RoleKeyIcon\0RoleKeyActionInsert\0"
    "RoleKeyAction"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MaliitKeyboard__Model__Layout[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      24,   14, // methods
       9,  190, // properties
       2,  226, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x06 /* Public */,
       4,    1,  137,    2, 0x06 /* Public */,
       5,    1,  140,    2, 0x06 /* Public */,
       6,    1,  143,    2, 0x06 /* Public */,
       7,    1,  146,    2, 0x06 /* Public */,
       8,    1,  149,    2, 0x06 /* Public */,
       9,    1,  152,    2, 0x06 /* Public */,
      10,    1,  155,    2, 0x06 /* Public */,
      13,    1,  158,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  161,    2, 0x0a /* Public */,
      16,    0,  164,    2, 0x0a /* Public */,
      17,    1,  165,    2, 0x0a /* Public */,
      20,    0,  168,    2, 0x0a /* Public */,
      21,    0,  169,    2, 0x0a /* Public */,
      22,    0,  170,    2, 0x0a /* Public */,
      23,    0,  171,    2, 0x0a /* Public */,
      24,    0,  172,    2, 0x0a /* Public */,
      25,    0,  173,    2, 0x0a /* Public */,
      26,    1,  174,    2, 0x0a /* Public */,
      12,    0,  177,    2, 0x0a /* Public */,
      29,    1,  178,    2, 0x0a /* Public */,
      30,    0,  181,    2, 0x0a /* Public */,
      31,    1,  182,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      32,    2,  185,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::QPoint,    3,
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void, QMetaType::QRectF,    3,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QString,   14,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::QString,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Bool,
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::QPoint,
    QMetaType::QUrl,
    QMetaType::QRectF,
    QMetaType::Void, QMetaType::QString,   27,
    0x80000000 | 28,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,   14,

 // methods: parameters
    QMetaType::QVariant, QMetaType::Int, QMetaType::QString,   33,   34,

 // properties: name, type, flags
      16, QMetaType::QString, 0x00495001,
      35, QMetaType::Bool, 0x00495001,
      21, QMetaType::Int, 0x00495001,
      22, QMetaType::Int, 0x00495001,
      23, QMetaType::QPoint, 0x00495001,
      24, QMetaType::QUrl, 0x00495001,
      36, QMetaType::QRectF, 0x00495001,
      37, 0x80000000 | 28, 0x0049500b,
      30, QMetaType::QString, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,

 // enums: name, alias, flags, count, data
      28,   28, 0x0,    5,  236,
      43,   43, 0x0,   12,  246,

 // enum data: key, value
      38, uint(MaliitKeyboard::Model::Layout::DefaultState),
      39, uint(MaliitKeyboard::Model::Layout::ShiftedState),
      40, uint(MaliitKeyboard::Model::Layout::PrimarySymbolState),
      41, uint(MaliitKeyboard::Model::Layout::SecondarySymbolState),
      42, uint(MaliitKeyboard::Model::Layout::DeadkeyState),
      44, uint(MaliitKeyboard::Model::Layout::RoleKeyRectangle),
      45, uint(MaliitKeyboard::Model::Layout::RoleKeyReactiveArea),
      46, uint(MaliitKeyboard::Model::Layout::RoleKeyBackground),
      47, uint(MaliitKeyboard::Model::Layout::RoleKeyBackgroundBorders),
      48, uint(MaliitKeyboard::Model::Layout::RoleKeyText),
      49, uint(MaliitKeyboard::Model::Layout::RoleKeyFont),
      50, uint(MaliitKeyboard::Model::Layout::RoleKeyFontColor),
      51, uint(MaliitKeyboard::Model::Layout::RoleKeyFontSize),
      52, uint(MaliitKeyboard::Model::Layout::RoleKeyFontStretch),
      53, uint(MaliitKeyboard::Model::Layout::RoleKeyIcon),
      54, uint(MaliitKeyboard::Model::Layout::RoleKeyActionInsert),
      55, uint(MaliitKeyboard::Model::Layout::RoleKeyAction),

       0        // eod
};

void MaliitKeyboard::Model::Layout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Layout *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->titleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->visibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->widthChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->heightChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->originChanged((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 5: _t->backgroundChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 6: _t->backgroundBordersChanged((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 7: _t->stateChanged((*reinterpret_cast< Model::Layout::State(*)>(_a[1]))); break;
        case 8: _t->activeViewChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setTitle((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: { QString _r = _t->title();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->setKeyArea((*reinterpret_cast< const KeyArea(*)>(_a[1]))); break;
        case 12: { bool _r = _t->isVisible();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 13: { int _r = _t->width();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 14: { int _r = _t->height();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 15: { QPoint _r = _t->origin();
            if (_a[0]) *reinterpret_cast< QPoint*>(_a[0]) = std::move(_r); }  break;
        case 16: { QUrl _r = _t->background();
            if (_a[0]) *reinterpret_cast< QUrl*>(_a[0]) = std::move(_r); }  break;
        case 17: { QRectF _r = _t->backgroundBorders();
            if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->setImageDirectory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: { State _r = _t->state();
            if (_a[0]) *reinterpret_cast< State*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->setState((*reinterpret_cast< Model::Layout::State(*)>(_a[1]))); break;
        case 21: { QString _r = _t->activeView();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->setActiveView((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 23: { QVariant _r = _t->data((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Layout::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::titleChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Layout::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::visibleChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Layout::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::widthChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Layout::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::heightChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Layout::*)(const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::originChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Layout::*)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::backgroundChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Layout::*)(const QRectF & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::backgroundBordersChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Layout::*)(Model::Layout::State );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::stateChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Layout::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Layout::activeViewChanged)) {
                *result = 8;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Layout *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->width(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->height(); break;
        case 4: *reinterpret_cast< QPoint*>(_v) = _t->origin(); break;
        case 5: *reinterpret_cast< QUrl*>(_v) = _t->background(); break;
        case 6: *reinterpret_cast< QRectF*>(_v) = _t->backgroundBorders(); break;
        case 7: *reinterpret_cast< State*>(_v) = _t->state(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->activeView(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<Layout *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 7: _t->setState(*reinterpret_cast< State*>(_v)); break;
        case 8: _t->setActiveView(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MaliitKeyboard::Model::Layout::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_meta_stringdata_MaliitKeyboard__Model__Layout.data,
    qt_meta_data_MaliitKeyboard__Model__Layout,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MaliitKeyboard::Model::Layout::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MaliitKeyboard__Model__Layout.stringdata0))
        return static_cast<void*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

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

// SIGNAL 0
void MaliitKeyboard::Model::Layout::titleChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void MaliitKeyboard::Model::Layout::visibleChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void MaliitKeyboard::Model::Layout::widthChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void MaliitKeyboard::Model::Layout::heightChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void MaliitKeyboard::Model::Layout::originChanged(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void MaliitKeyboard::Model::Layout::backgroundChanged(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void MaliitKeyboard::Model::Layout::backgroundBordersChanged(const QRectF & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void MaliitKeyboard::Model::Layout::stateChanged(Model::Layout::State _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void MaliitKeyboard::Model::Layout::activeViewChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
