/****************************************************************************
** Meta object code from reading C++ file 'kexiframe.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/plugins/forms/widgets/kexiframe.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexiframe.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_KexiFrame_t {
    QByteArrayData data[12];
    char stringdata0[123];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiFrame_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiFrame_t qt_meta_stringdata_KexiFrame = {
    {
QT_MOC_LITERAL(0, 0, 9), // "KexiFrame"
QT_MOC_LITERAL(1, 10, 19), // "handleDragMoveEvent"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(4, 47, 1), // "e"
QT_MOC_LITERAL(5, 49, 15), // "handleDropEvent"
QT_MOC_LITERAL(6, 65, 11), // "QDropEvent*"
QT_MOC_LITERAL(7, 77, 10), // "setPalette"
QT_MOC_LITERAL(8, 88, 3), // "pal"
QT_MOC_LITERAL(9, 92, 13), // "setFrameColor"
QT_MOC_LITERAL(10, 106, 5), // "color"
QT_MOC_LITERAL(11, 112, 10) // "frameColor"

    },
    "KexiFrame\0handleDragMoveEvent\0\0"
    "QDragMoveEvent*\0e\0handleDropEvent\0"
    "QDropEvent*\0setPalette\0pal\0setFrameColor\0"
    "color\0frameColor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiFrame[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,
       5,    1,   37,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   40,    2, 0x0a /* Public */,
       9,    1,   43,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::QPalette,    8,
    QMetaType::Void, QMetaType::QColor,   10,

 // properties: name, type, flags
      11, QMetaType::QColor, 0x00095103,

       0        // eod
};

void KexiFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiFrame *_t = static_cast<KexiFrame *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->handleDragMoveEvent((*reinterpret_cast< QDragMoveEvent*(*)>(_a[1]))); break;
        case 1: _t->handleDropEvent((*reinterpret_cast< QDropEvent*(*)>(_a[1]))); break;
        case 2: _t->setPalette((*reinterpret_cast< const QPalette(*)>(_a[1]))); break;
        case 3: _t->setFrameColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiFrame::*_t)(QDragMoveEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiFrame::handleDragMoveEvent)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiFrame::*_t)(QDropEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiFrame::handleDropEvent)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KexiFrame *_t = static_cast<KexiFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QColor*>(_v) = _t->frameColor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KexiFrame *_t = static_cast<KexiFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFrameColor(*reinterpret_cast< QColor*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KexiFrame::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_KexiFrame.data,
      qt_meta_data_KexiFrame,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KexiFrame::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KexiFrame.stringdata0))
        return static_cast<void*>(const_cast< KexiFrame*>(this));
    if (!strcmp(_clname, "KFormDesigner::FormWidgetInterface"))
        return static_cast< KFormDesigner::FormWidgetInterface*>(const_cast< KexiFrame*>(this));
    return QFrame::qt_metacast(_clname);
}

int KexiFrame::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#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 -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KexiFrame::handleDragMoveEvent(QDragMoveEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KexiFrame::handleDropEvent(QDropEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
