/****************************************************************************
** Meta object code from reading C++ file 'keyoverridequick.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 "../../../framework/src/quick/keyoverridequick.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSharedPointer>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'keyoverridequick.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_Maliit__KeyOverrideQuick_t {
    QByteArrayData data[35];
    char stringdata0[576];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Maliit__KeyOverrideQuick_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Maliit__KeyOverrideQuick_t qt_meta_stringdata_Maliit__KeyOverrideQuick = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Maliit::KeyOverrideQuick"
QT_MOC_LITERAL(1, 25, 12), // "labelChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 5), // "label"
QT_MOC_LITERAL(4, 45, 11), // "iconChanged"
QT_MOC_LITERAL(5, 57, 4), // "icon"
QT_MOC_LITERAL(6, 62, 18), // "highlightedChanged"
QT_MOC_LITERAL(7, 81, 11), // "highlighted"
QT_MOC_LITERAL(8, 93, 14), // "enabledChanged"
QT_MOC_LITERAL(9, 108, 7), // "enabled"
QT_MOC_LITERAL(10, 116, 19), // "defaultLabelChanged"
QT_MOC_LITERAL(11, 136, 18), // "defaultIconChanged"
QT_MOC_LITERAL(12, 155, 25), // "defaultHighlightedChanged"
QT_MOC_LITERAL(13, 181, 21), // "defaultEnabledChanged"
QT_MOC_LITERAL(14, 203, 13), // "applyOverride"
QT_MOC_LITERAL(15, 217, 28), // "QSharedPointer<MKeyOverride>"
QT_MOC_LITERAL(16, 246, 11), // "keyOverride"
QT_MOC_LITERAL(17, 258, 35), // "MKeyOverride::KeyOverrideAttr..."
QT_MOC_LITERAL(18, 294, 17), // "changedAttributes"
QT_MOC_LITERAL(19, 312, 13), // "overrideLabel"
QT_MOC_LITERAL(20, 326, 12), // "overrideIcon"
QT_MOC_LITERAL(21, 339, 19), // "overrideHighlighted"
QT_MOC_LITERAL(22, 359, 15), // "overrideEnabled"
QT_MOC_LITERAL(23, 375, 15), // "setDefaultLabel"
QT_MOC_LITERAL(24, 391, 14), // "setDefaultIcon"
QT_MOC_LITERAL(25, 406, 21), // "setDefaultHighlighted"
QT_MOC_LITERAL(26, 428, 17), // "setDefaultEnabled"
QT_MOC_LITERAL(27, 446, 15), // "useDefaultLabel"
QT_MOC_LITERAL(28, 462, 14), // "useDefaultIcon"
QT_MOC_LITERAL(29, 477, 21), // "useDefaultHighlighted"
QT_MOC_LITERAL(30, 499, 17), // "useDefaultEnabled"
QT_MOC_LITERAL(31, 517, 12), // "defaultLabel"
QT_MOC_LITERAL(32, 530, 11), // "defaultIcon"
QT_MOC_LITERAL(33, 542, 18), // "defaultHighlighted"
QT_MOC_LITERAL(34, 561, 14) // "defaultEnabled"

    },
    "Maliit::KeyOverrideQuick\0labelChanged\0"
    "\0label\0iconChanged\0icon\0highlightedChanged\0"
    "highlighted\0enabledChanged\0enabled\0"
    "defaultLabelChanged\0defaultIconChanged\0"
    "defaultHighlightedChanged\0"
    "defaultEnabledChanged\0applyOverride\0"
    "QSharedPointer<MKeyOverride>\0keyOverride\0"
    "MKeyOverride::KeyOverrideAttributes\0"
    "changedAttributes\0overrideLabel\0"
    "overrideIcon\0overrideHighlighted\0"
    "overrideEnabled\0setDefaultLabel\0"
    "setDefaultIcon\0setDefaultHighlighted\0"
    "setDefaultEnabled\0useDefaultLabel\0"
    "useDefaultIcon\0useDefaultHighlighted\0"
    "useDefaultEnabled\0defaultLabel\0"
    "defaultIcon\0defaultHighlighted\0"
    "defaultEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Maliit__KeyOverrideQuick[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       8,  176, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  119,    2, 0x06 /* Public */,
       4,    1,  122,    2, 0x06 /* Public */,
       6,    1,  125,    2, 0x06 /* Public */,
       8,    1,  128,    2, 0x06 /* Public */,
      10,    1,  131,    2, 0x06 /* Public */,
      11,    1,  134,    2, 0x06 /* Public */,
      12,    1,  137,    2, 0x06 /* Public */,
      13,    1,  140,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    2,  143,    2, 0x0a /* Public */,
      19,    1,  148,    2, 0x0a /* Public */,
      20,    1,  151,    2, 0x0a /* Public */,
      21,    1,  154,    2, 0x0a /* Public */,
      22,    1,  157,    2, 0x0a /* Public */,
      23,    1,  160,    2, 0x0a /* Public */,
      24,    1,  163,    2, 0x0a /* Public */,
      25,    1,  166,    2, 0x0a /* Public */,
      26,    1,  169,    2, 0x0a /* Public */,
      27,    0,  172,    2, 0x0a /* Public */,
      28,    0,  173,    2, 0x0a /* Public */,
      29,    0,  174,    2, 0x0a /* Public */,
      30,    0,  175,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    9,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17,   16,   18,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       3, QMetaType::QString, 0x00495003,
       5, QMetaType::QString, 0x00495003,
       7, QMetaType::Bool, 0x00495003,
       9, QMetaType::Bool, 0x00495003,
      31, QMetaType::QString, 0x00495103,
      32, QMetaType::QString, 0x00495103,
      33, QMetaType::Bool, 0x00495103,
      34, QMetaType::Bool, 0x00495103,

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

       0        // eod
};

void Maliit::KeyOverrideQuick::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KeyOverrideQuick *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->labelChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->iconChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->highlightedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->enabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->defaultLabelChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->defaultIconChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->defaultHighlightedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->defaultEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->applyOverride((*reinterpret_cast< const QSharedPointer<MKeyOverride>(*)>(_a[1])),(*reinterpret_cast< const MKeyOverride::KeyOverrideAttributes(*)>(_a[2]))); break;
        case 9: _t->overrideLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->overrideIcon((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->overrideHighlighted((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->overrideEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->setDefaultLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->setDefaultIcon((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->setDefaultHighlighted((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->setDefaultEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->useDefaultLabel(); break;
        case 18: _t->useDefaultIcon(); break;
        case 19: _t->useDefaultHighlighted(); break;
        case 20: _t->useDefaultEnabled(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSharedPointer<MKeyOverride> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KeyOverrideQuick::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::labelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (KeyOverrideQuick::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::iconChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (KeyOverrideQuick::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::highlightedChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (KeyOverrideQuick::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::enabledChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (KeyOverrideQuick::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::defaultLabelChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (KeyOverrideQuick::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::defaultIconChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (KeyOverrideQuick::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::defaultHighlightedChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (KeyOverrideQuick::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyOverrideQuick::defaultEnabledChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<KeyOverrideQuick *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->label(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->icon(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->highlighted(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->enabled(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->defaultLabel(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->defaultIcon(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->defaultHighlighted(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->defaultEnabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<KeyOverrideQuick *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->overrideLabel(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->overrideIcon(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->overrideHighlighted(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->overrideEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setDefaultLabel(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setDefaultIcon(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setDefaultHighlighted(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setDefaultEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Maliit::KeyOverrideQuick::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Maliit__KeyOverrideQuick.data,
    qt_meta_data_Maliit__KeyOverrideQuick,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Maliit::KeyOverrideQuick::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Maliit::KeyOverrideQuick::labelChanged(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 Maliit::KeyOverrideQuick::iconChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Maliit::KeyOverrideQuick::highlightedChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Maliit::KeyOverrideQuick::enabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Maliit::KeyOverrideQuick::defaultLabelChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Maliit::KeyOverrideQuick::defaultIconChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Maliit::KeyOverrideQuick::defaultHighlightedChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Maliit::KeyOverrideQuick::defaultEnabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
