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

#include "../../src/kwidgetsaddons-5.43.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.9.4. 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[19];
    char stringdata0[186];
};
#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, 9), // "setPixmap"
QT_MOC_LITERAL(11, 97, 6), // "pixmap"
QT_MOC_LITERAL(12, 104, 14), // "ImageAlignment"
QT_MOC_LITERAL(13, 119, 4), // "icon"
QT_MOC_LITERAL(14, 124, 18), // "setAutoHideTimeout"
QT_MOC_LITERAL(15, 143, 5), // "msecs"
QT_MOC_LITERAL(16, 149, 15), // "autoHideTimeout"
QT_MOC_LITERAL(17, 165, 9), // "ImageLeft"
QT_MOC_LITERAL(18, 175, 10) // "ImageRight"

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

static const uint qt_meta_data_KTitleWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   14, // methods
       4,  140, // properties
       1,  152, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    2,   84,    2, 0x0a /* Public */,
       1,    1,   89,    2, 0x2a /* Public | MethodCloned */,
       1,    2,   92,    2, 0x0a /* Public */,
       8,    2,   97,    2, 0x0a /* Public */,
       8,    1,  102,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  105,    2, 0x0a /* Public */,
      10,    1,  110,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  113,    2, 0x0a /* Public */,
      10,    1,  118,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  121,    2, 0x0a /* Public */,
      10,    1,  126,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  129,    2, 0x0a /* Public */,
      10,    1,  134,    2, 0x2a /* Public | MethodCloned */,
      14,    1,  137,    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::QPixmap, 0x80000000 | 12,   11,    5,
    QMetaType::Void, QMetaType::QPixmap,   11,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 12,   13,    5,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::QIcon, 0x80000000 | 12,   13,    5,
    QMetaType::Void, QMetaType::QIcon,   13,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 12,    7,    5,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::Int,   15,

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

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

 // enum data: key, value
      17, uint(KTitleWidget::ImageLeft),
      18, uint(KTitleWidget::ImageRight),

       0        // eod
};

void KTitleWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KTitleWidget *_t = static_cast<KTitleWidget *>(_o);
        Q_UNUSED(_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->setPixmap((*reinterpret_cast< const QPixmap(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 6: _t->setPixmap((*reinterpret_cast< const QPixmap(*)>(_a[1]))); break;
        case 7: _t->setPixmap((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 8: _t->setPixmap((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setPixmap((*reinterpret_cast< const QIcon(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 10: _t->setPixmap((*reinterpret_cast< const QIcon(*)>(_a[1]))); break;
        case 11: _t->setPixmap((*reinterpret_cast< MessageType(*)>(_a[1])),(*reinterpret_cast< ImageAlignment(*)>(_a[2]))); break;
        case 12: _t->setPixmap((*reinterpret_cast< MessageType(*)>(_a[1]))); break;
        case 13: _t->setAutoHideTimeout((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KTitleWidget *_t = static_cast<KTitleWidget *>(_o);
        Q_UNUSED(_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: _a[0] = const_cast<void*>(reinterpret_cast<const void*>(_t->pixmap())); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->autoHideTimeout(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KTitleWidget *_t = static_cast<KTitleWidget *>(_o);
        Q_UNUSED(_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->setPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 3: _t->setAutoHideTimeout(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KTitleWidget::staticMetaObject = {
    { &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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
#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;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
