/****************************************************************************
** Meta object code from reading C++ file 'kexidbform.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/kexidbform.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexidbform.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_KexiDBForm_t {
    QByteArrayData data[21];
    char stringdata0[241];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiDBForm_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiDBForm_t qt_meta_stringdata_KexiDBForm = {
    {
QT_MOC_LITERAL(0, 0, 10), // "KexiDBForm"
QT_MOC_LITERAL(1, 11, 19), // "handleDragMoveEvent"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(4, 48, 1), // "e"
QT_MOC_LITERAL(5, 50, 15), // "handleDropEvent"
QT_MOC_LITERAL(6, 66, 11), // "QDropEvent*"
QT_MOC_LITERAL(7, 78, 15), // "setAutoTabStops"
QT_MOC_LITERAL(8, 94, 3), // "set"
QT_MOC_LITERAL(9, 98, 13), // "setDataSource"
QT_MOC_LITERAL(10, 112, 2), // "ds"
QT_MOC_LITERAL(11, 115, 21), // "setDataSourcePluginId"
QT_MOC_LITERAL(12, 137, 8), // "pluginId"
QT_MOC_LITERAL(13, 146, 11), // "setReadOnly"
QT_MOC_LITERAL(14, 158, 8), // "readOnly"
QT_MOC_LITERAL(15, 167, 12), // "sizeInternal"
QT_MOC_LITERAL(16, 180, 14), // "resizeInternal"
QT_MOC_LITERAL(17, 195, 1), // "s"
QT_MOC_LITERAL(18, 197, 10), // "dataSource"
QT_MOC_LITERAL(19, 208, 19), // "dataSourcePartClass"
QT_MOC_LITERAL(20, 228, 12) // "autoTabStops"

    },
    "KexiDBForm\0handleDragMoveEvent\0\0"
    "QDragMoveEvent*\0e\0handleDropEvent\0"
    "QDropEvent*\0setAutoTabStops\0set\0"
    "setDataSource\0ds\0setDataSourcePluginId\0"
    "pluginId\0setReadOnly\0readOnly\0"
    "sizeInternal\0resizeInternal\0s\0dataSource\0"
    "dataSourcePartClass\0autoTabStops"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiDBForm[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    1,   60,    2, 0x0a /* Public */,
       9,    1,   63,    2, 0x0a /* Public */,
      11,    1,   66,    2, 0x0a /* Public */,
      13,    1,   69,    2, 0x0a /* Public */,
      15,    0,   72,    2, 0x0a /* Public */,
      16,    1,   73,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::QSize,
    QMetaType::Void, QMetaType::QSize,   17,

 // properties: name, type, flags
      18, QMetaType::QString, 0x00095103,
      19, QMetaType::QString, 0x00095003,
      20, QMetaType::Bool, 0x00095103,
      15, QMetaType::QSize, 0x00085003,

       0        // eod
};

void KexiDBForm::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiDBForm *_t = static_cast<KexiDBForm *>(_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->setAutoTabStops((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->setDataSource((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setDataSourcePluginId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setReadOnly((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: { QSize _r = _t->sizeInternal();
            if (_a[0]) *reinterpret_cast< QSize*>(_a[0]) = _r; }  break;
        case 7: _t->resizeInternal((*reinterpret_cast< const QSize(*)>(_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 (KexiDBForm::*_t)(QDragMoveEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiDBForm::handleDragMoveEvent)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiDBForm::*_t)(QDropEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiDBForm::handleDropEvent)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KexiDBForm *_t = static_cast<KexiDBForm *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->dataSource(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->dataSourcePluginId(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->autoTabStops(); break;
        case 3: *reinterpret_cast< QSize*>(_v) = _t->sizeInternal(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KexiDBForm *_t = static_cast<KexiDBForm *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDataSource(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setDataSourcePluginId(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setAutoTabStops(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->resizeInternal(*reinterpret_cast< QSize*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KexiDBForm::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KexiDBForm.data,
      qt_meta_data_KexiDBForm,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KexiDBForm::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KexiDBForm.stringdata0))
        return static_cast<void*>(const_cast< KexiDBForm*>(this));
    if (!strcmp(_clname, "KFormDesigner::FormWidget"))
        return static_cast< KFormDesigner::FormWidget*>(const_cast< KexiDBForm*>(this));
    if (!strcmp(_clname, "KexiFormDataItemInterface"))
        return static_cast< KexiFormDataItemInterface*>(const_cast< KexiDBForm*>(this));
    if (!strcmp(_clname, "KFormDesigner::FormWidgetInterface"))
        return static_cast< KFormDesigner::FormWidgetInterface*>(const_cast< KexiDBForm*>(this));
    return QWidget::qt_metacast(_clname);
}

int KexiDBForm::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 KexiDBForm::handleDragMoveEvent(QDragMoveEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KexiDBForm::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
