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

#include "../../src/kwidgetsaddons-5.12.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.4.2. 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
struct qt_meta_stringdata_KTitleWidget_t {
    QByteArrayData data[20];
    char stringdata[205];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTitleWidget_t, stringdata) + 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, 18), // "_k_timeoutFinished"
QT_MOC_LITERAL(17, 168, 15), // "autoHideTimeout"
QT_MOC_LITERAL(18, 184, 9), // "ImageLeft"
QT_MOC_LITERAL(19, 194, 10) // "ImageRight"

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

static const uint qt_meta_data_KTitleWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       4,  146, // properties
       1,  158, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x0a /* Public */,
       1,    1,   94,    2, 0x2a /* Public | MethodCloned */,
       1,    2,   97,    2, 0x0a /* Public */,
       8,    2,  102,    2, 0x0a /* Public */,
       8,    1,  107,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  110,    2, 0x0a /* Public */,
      10,    1,  115,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  118,    2, 0x0a /* Public */,
      10,    1,  123,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  126,    2, 0x0a /* Public */,
      10,    1,  131,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  134,    2, 0x0a /* Public */,
      10,    1,  139,    2, 0x2a /* Public | MethodCloned */,
      14,    1,  142,    2, 0x0a /* Public */,
      16,    0,  145,    2, 0x08 /* Private */,

 // 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,
    QMetaType::Void,

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

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

 // enum data: key, value
      18, uint(KTitleWidget::ImageLeft),
      19, 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);
        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;
        case 14: _t->d->_k_timeoutFinished(); break;
        default: ;
        }
    }
}

const QMetaObject KTitleWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KTitleWidget.data,
      qt_meta_data_KTitleWidget,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KTitleWidget.stringdata))
        return static_cast<void*>(const_cast< KTitleWidget*>(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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = text(); break;
        case 1: *reinterpret_cast< QString*>(_v) = comment(); break;
        case 2: _a[0] = const_cast<void*>(reinterpret_cast<const void*>(pixmap())); break;
        case 3: *reinterpret_cast< int*>(_v) = autoHideTimeout(); break;
        default: break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setText(*reinterpret_cast< QString*>(_v)); break;
        case 1: setComment(*reinterpret_cast< QString*>(_v)); break;
        case 2: setPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 3: setAutoHideTimeout(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
