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

#include <memory>
#include "../../../../kwidgetsaddons-5.116.0/src/ktitlewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ktitlewidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_KTitleWidget_t {
    QByteArrayData data[24];
    char stringdata0[230];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTitleWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTitleWidget_t qt_meta_stringdata_KTitleWidget = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KTitleWidget"
QT_MOC_LITERAL(1, 13, 7), // "setText"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 4), // "text"
QT_MOC_LITERAL(4, 27, 13), // "Qt::Alignment"
QT_MOC_LITERAL(5, 41, 9), // "alignment"
QT_MOC_LITERAL(6, 51, 11), // "MessageType"
QT_MOC_LITERAL(7, 63, 4), // "type"
QT_MOC_LITERAL(8, 68, 10), // "setComment"
QT_MOC_LITERAL(9, 79, 7), // "comment"
QT_MOC_LITERAL(10, 87, 7), // "setIcon"
QT_MOC_LITERAL(11, 95, 4), // "icon"
QT_MOC_LITERAL(12, 100, 14), // "ImageAlignment"
QT_MOC_LITERAL(13, 115, 9), // "setPixmap"
QT_MOC_LITERAL(14, 125, 6), // "pixmap"
QT_MOC_LITERAL(15, 132, 11), // "setIconSize"
QT_MOC_LITERAL(16, 144, 8), // "iconSize"
QT_MOC_LITERAL(17, 153, 18), // "setAutoHideTimeout"
QT_MOC_LITERAL(18, 172, 5), // "msecs"
QT_MOC_LITERAL(19, 178, 8), // "setLevel"
QT_MOC_LITERAL(20, 187, 5), // "level"
QT_MOC_LITERAL(21, 193, 15), // "autoHideTimeout"
QT_MOC_LITERAL(22, 209, 9), // "ImageLeft"
QT_MOC_LITERAL(23, 219, 10) // "ImageRight"

    },
    "KTitleWidget\0setText\0\0text\0Qt::Alignment\0"
    "alignment\0MessageType\0type\0setComment\0"
    "comment\0setIcon\0icon\0ImageAlignment\0"
    "setPixmap\0pixmap\0setIconSize\0iconSize\0"
    "setAutoHideTimeout\0msecs\0setLevel\0"
    "level\0autoHideTimeout\0ImageLeft\0"
    "ImageRight"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTitleWidget[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      20,   14, // methods
       6,  192, // properties
       1,  210, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    2,  114,    2, 0x0a /* Public */,
       1,    1,  119,    2, 0x2a /* Public | MethodCloned */,
       1,    2,  122,    2, 0x0a /* Public */,
       8,    2,  127,    2, 0x0a /* Public */,
       8,    1,  132,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  135,    2, 0x0a /* Public */,
      10,    1,  140,    2, 0x2a /* Public | MethodCloned */,
      13,    2,  143,    2, 0x0a /* Public */,
      13,    1,  148,    2, 0x2a /* Public | MethodCloned */,
      13,    2,  151,    2, 0x0a /* Public */,
      13,    1,  156,    2, 0x2a /* Public | MethodCloned */,
      13,    2,  159,    2, 0x0a /* Public */,
      13,    1,  164,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  167,    2, 0x0a /* Public */,
      10,    1,  172,    2, 0x2a /* Public | MethodCloned */,
      13,    2,  175,    2, 0x0a /* Public */,
      13,    1,  180,    2, 0x2a /* Public | MethodCloned */,
      15,    1,  183,    2, 0x0a /* Public */,
      17,    1,  186,    2, 0x0a /* Public */,
      19,    1,  189,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 6,    3,    7,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 6,    9,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QIcon, 0x80000000 | 12,   11,    5,
    QMetaType::Void, QMetaType::QIcon,   11,
    QMetaType::Void, QMetaType::QPixmap, 0x80000000 | 12,   14,    5,
    QMetaType::Void, QMetaType::QPixmap,   14,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 12,   11,    5,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::QIcon, 0x80000000 | 12,   11,    5,
    QMetaType::Void, QMetaType::QIcon,   11,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 12,    7,    5,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 12,    7,    5,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QSize,   16,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   20,

 // properties: name, type, flags
       3, QMetaType::QString, 0x00095103,
       9, QMetaType::QString, 0x00095103,
      11, QMetaType::QIcon, 0x00095103,
      16, QMetaType::QSize, 0x00095103,
      14, QMetaType::QPixmap, 0x00095103,
      21, QMetaType::Int, 0x00095103,

 // enums: name, alias, flags, count, data
      12,   12, 0x0,    2,  215,

 // enum data: key, value
      22, uint(KTitleWidget::ImageLeft),
      23, uint(KTitleWidget::ImageRight),

       0        // eod
};

void KTitleWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KTitleWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->setText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< Qt::Alignment(*)>(_a[2]))); break;
        case 1: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->setText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< MessageType(*)>(_a[2]))); break;
        case 3: _t->setComment((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< MessageType(*)>(_a[2]))); break;
        case 4: _t->setComment((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setIcon((*reinterpret_cast< const QIcon(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 6: _t->setIcon((*reinterpret_cast< const QIcon(*)>(_a[1]))); break;
        case 7: _t->setPixmap((*reinterpret_cast< const QPixmap(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 8: _t->setPixmap((*reinterpret_cast< const QPixmap(*)>(_a[1]))); break;
        case 9: _t->setPixmap((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 10: _t->setPixmap((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->setPixmap((*reinterpret_cast< const QIcon(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 12: _t->setPixmap((*reinterpret_cast< const QIcon(*)>(_a[1]))); break;
        case 13: _t->setIcon((*reinterpret_cast< MessageType(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 14: _t->setIcon((*reinterpret_cast< MessageType(*)>(_a[1]))); break;
        case 15: _t->setPixmap((*reinterpret_cast< MessageType(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 16: _t->setPixmap((*reinterpret_cast< MessageType(*)>(_a[1]))); break;
        case 17: _t->setIconSize((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 18: _t->setAutoHideTimeout((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->setLevel((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<KTitleWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->comment(); break;
        case 2: *reinterpret_cast< QIcon*>(_v) = _t->icon(); break;
        case 3: *reinterpret_cast< QSize*>(_v) = _t->iconSize(); break;
        case 4: _a[0] = const_cast<void*>(reinterpret_cast<const void*>(_t->pixmap())); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->autoHideTimeout(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<KTitleWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setComment(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setIcon(*reinterpret_cast< QIcon*>(_v)); break;
        case 3: _t->setIconSize(*reinterpret_cast< QSize*>(_v)); break;
        case 4: _t->setPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 5: _t->setAutoHideTimeout(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject KTitleWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_KTitleWidget.data,
    qt_meta_data_KTitleWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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