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

#include "../../../src/kexi-3.0.1/src/kexiutils/kmessagewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kmessagewidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_KMessageWidget_t {
    QByteArrayData data[42];
    char stringdata0[579];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KMessageWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KMessageWidget_t qt_meta_stringdata_KMessageWidget = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KMessageWidget"
QT_MOC_LITERAL(1, 15, 20), // "animatedShowFinished"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 20), // "animatedHideFinished"
QT_MOC_LITERAL(4, 58, 7), // "setText"
QT_MOC_LITERAL(5, 66, 4), // "text"
QT_MOC_LITERAL(6, 71, 11), // "setWordWrap"
QT_MOC_LITERAL(7, 83, 8), // "wordWrap"
QT_MOC_LITERAL(8, 92, 21), // "setCloseButtonVisible"
QT_MOC_LITERAL(9, 114, 7), // "visible"
QT_MOC_LITERAL(10, 122, 21), // "setClickClosesMessage"
QT_MOC_LITERAL(11, 144, 3), // "set"
QT_MOC_LITERAL(12, 148, 14), // "setMessageType"
QT_MOC_LITERAL(13, 163, 27), // "KMessageWidget::MessageType"
QT_MOC_LITERAL(14, 191, 4), // "type"
QT_MOC_LITERAL(15, 196, 26), // "setCalloutPointerDirection"
QT_MOC_LITERAL(16, 223, 39), // "KMessageWidget::CalloutPointe..."
QT_MOC_LITERAL(17, 263, 9), // "direction"
QT_MOC_LITERAL(18, 273, 25), // "setCalloutPointerPosition"
QT_MOC_LITERAL(19, 299, 9), // "globalPos"
QT_MOC_LITERAL(20, 309, 15), // "backgroundBrush"
QT_MOC_LITERAL(21, 325, 11), // "borderBrush"
QT_MOC_LITERAL(22, 337, 12), // "animatedShow"
QT_MOC_LITERAL(23, 350, 12), // "animatedHide"
QT_MOC_LITERAL(24, 363, 16), // "resizeToContents"
QT_MOC_LITERAL(25, 380, 19), // "slotTimeLineChanged"
QT_MOC_LITERAL(26, 400, 5), // "value"
QT_MOC_LITERAL(27, 406, 20), // "slotTimeLineFinished"
QT_MOC_LITERAL(28, 427, 20), // "tryClickCloseMessage"
QT_MOC_LITERAL(29, 448, 18), // "closeButtonVisible"
QT_MOC_LITERAL(30, 467, 11), // "messageType"
QT_MOC_LITERAL(31, 479, 11), // "MessageType"
QT_MOC_LITERAL(32, 491, 8), // "Positive"
QT_MOC_LITERAL(33, 500, 11), // "Information"
QT_MOC_LITERAL(34, 512, 7), // "Warning"
QT_MOC_LITERAL(35, 520, 5), // "Error"
QT_MOC_LITERAL(36, 526, 23), // "CalloutPointerDirection"
QT_MOC_LITERAL(37, 550, 9), // "NoPointer"
QT_MOC_LITERAL(38, 560, 2), // "Up"
QT_MOC_LITERAL(39, 563, 4), // "Down"
QT_MOC_LITERAL(40, 568, 4), // "Left"
QT_MOC_LITERAL(41, 573, 5) // "Right"

    },
    "KMessageWidget\0animatedShowFinished\0"
    "\0animatedHideFinished\0setText\0text\0"
    "setWordWrap\0wordWrap\0setCloseButtonVisible\0"
    "visible\0setClickClosesMessage\0set\0"
    "setMessageType\0KMessageWidget::MessageType\0"
    "type\0setCalloutPointerDirection\0"
    "KMessageWidget::CalloutPointerDirection\0"
    "direction\0setCalloutPointerPosition\0"
    "globalPos\0backgroundBrush\0borderBrush\0"
    "animatedShow\0animatedHide\0resizeToContents\0"
    "slotTimeLineChanged\0value\0"
    "slotTimeLineFinished\0tryClickCloseMessage\0"
    "closeButtonVisible\0messageType\0"
    "MessageType\0Positive\0Information\0"
    "Warning\0Error\0CalloutPointerDirection\0"
    "NoPointer\0Up\0Down\0Left\0Right"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KMessageWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      17,   14, // methods
       4,  132, // properties
       2,  144, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x06 /* Public */,
       3,    0,  100,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,  101,    2, 0x0a /* Public */,
       6,    1,  104,    2, 0x0a /* Public */,
       8,    1,  107,    2, 0x0a /* Public */,
      10,    1,  110,    2, 0x0a /* Public */,
      12,    1,  113,    2, 0x0a /* Public */,
      15,    1,  116,    2, 0x0a /* Public */,
      18,    1,  119,    2, 0x0a /* Public */,
      20,    0,  122,    2, 0x0a /* Public */,
      21,    0,  123,    2, 0x0a /* Public */,
      22,    0,  124,    2, 0x0a /* Public */,
      23,    0,  125,    2, 0x0a /* Public */,
      24,    0,  126,    2, 0x0a /* Public */,
      25,    1,  127,    2, 0x08 /* Private */,
      27,    0,  130,    2, 0x08 /* Private */,
      28,    0,  131,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::QPoint,   19,
    QMetaType::QBrush,
    QMetaType::QBrush,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QReal,   26,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       5, QMetaType::QString, 0x00095103,
       7, QMetaType::Bool, 0x00095103,
      29, QMetaType::Bool, 0x00095103,
      30, 0x80000000 | 31, 0x0009510b,

 // enums: name, flags, count, data
      31, 0x0,    4,  152,
      36, 0x0,    5,  160,

 // enum data: key, value
      32, uint(KMessageWidget::Positive),
      33, uint(KMessageWidget::Information),
      34, uint(KMessageWidget::Warning),
      35, uint(KMessageWidget::Error),
      37, uint(KMessageWidget::NoPointer),
      38, uint(KMessageWidget::Up),
      39, uint(KMessageWidget::Down),
      40, uint(KMessageWidget::Left),
      41, uint(KMessageWidget::Right),

       0        // eod
};

void KMessageWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KMessageWidget *_t = static_cast<KMessageWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->animatedShowFinished(); break;
        case 1: _t->animatedHideFinished(); break;
        case 2: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->setWordWrap((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->setCloseButtonVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setClickClosesMessage((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setMessageType((*reinterpret_cast< KMessageWidget::MessageType(*)>(_a[1]))); break;
        case 7: _t->setCalloutPointerDirection((*reinterpret_cast< KMessageWidget::CalloutPointerDirection(*)>(_a[1]))); break;
        case 8: _t->setCalloutPointerPosition((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 9: { QBrush _r = _t->backgroundBrush();
            if (_a[0]) *reinterpret_cast< QBrush*>(_a[0]) = _r; }  break;
        case 10: { QBrush _r = _t->borderBrush();
            if (_a[0]) *reinterpret_cast< QBrush*>(_a[0]) = _r; }  break;
        case 11: _t->animatedShow(); break;
        case 12: _t->animatedHide(); break;
        case 13: _t->resizeToContents(); break;
        case 14: _t->slotTimeLineChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 15: _t->slotTimeLineFinished(); break;
        case 16: _t->tryClickCloseMessage(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KMessageWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMessageWidget::animatedShowFinished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KMessageWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMessageWidget::animatedHideFinished)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KMessageWidget *_t = static_cast<KMessageWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->wordWrap(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isCloseButtonVisible(); break;
        case 3: *reinterpret_cast< MessageType*>(_v) = _t->messageType(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KMessageWidget *_t = static_cast<KMessageWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setWordWrap(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setCloseButtonVisible(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setMessageType(*reinterpret_cast< MessageType*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KMessageWidget::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_KMessageWidget.data,
      qt_meta_data_KMessageWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KMessageWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KMessageWidget.stringdata0))
        return static_cast<void*>(const_cast< KMessageWidget*>(this));
    return QFrame::qt_metacast(_clname);
}

int KMessageWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
#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;
}

// SIGNAL 0
void KMessageWidget::animatedShowFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void KMessageWidget::animatedHideFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
