/****************************************************************************
** Meta object code from reading C++ file 'kexidbtextedit.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/kexidbtextedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexidbtextedit.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_KexiDBTextEdit_t {
    QByteArrayData data[15];
    char stringdata0[181];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiDBTextEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiDBTextEdit_t qt_meta_stringdata_KexiDBTextEdit = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KexiDBTextEdit"
QT_MOC_LITERAL(1, 15, 13), // "setDataSource"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 2), // "ds"
QT_MOC_LITERAL(4, 33, 21), // "setDataSourcePluginId"
QT_MOC_LITERAL(5, 55, 8), // "pluginId"
QT_MOC_LITERAL(6, 64, 11), // "setReadOnly"
QT_MOC_LITERAL(7, 76, 8), // "readOnly"
QT_MOC_LITERAL(8, 85, 4), // "undo"
QT_MOC_LITERAL(9, 90, 15), // "moveCursorToEnd"
QT_MOC_LITERAL(10, 106, 17), // "moveCursorToStart"
QT_MOC_LITERAL(11, 124, 9), // "selectAll"
QT_MOC_LITERAL(12, 134, 15), // "slotTextChanged"
QT_MOC_LITERAL(13, 150, 10), // "dataSource"
QT_MOC_LITERAL(14, 161, 19) // "dataSourcePartClass"

    },
    "KexiDBTextEdit\0setDataSource\0\0ds\0"
    "setDataSourcePluginId\0pluginId\0"
    "setReadOnly\0readOnly\0undo\0moveCursorToEnd\0"
    "moveCursorToStart\0selectAll\0slotTextChanged\0"
    "dataSource\0dataSourcePartClass"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiDBTextEdit[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x0a /* Public */,
       4,    1,   57,    2, 0x0a /* Public */,
       6,    1,   60,    2, 0x0a /* Public */,
       8,    0,   63,    2, 0x0a /* Public */,
       9,    0,   64,    2, 0x0a /* Public */,
      10,    0,   65,    2, 0x0a /* Public */,
      11,    0,   66,    2, 0x0a /* Public */,
      12,    0,   67,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      13, QMetaType::QString, 0x00095103,
      14, QMetaType::QString, 0x00095003,

       0        // eod
};

void KexiDBTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiDBTextEdit *_t = static_cast<KexiDBTextEdit *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setDataSource((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->setDataSourcePluginId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->setReadOnly((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->undo(); break;
        case 4: _t->moveCursorToEnd(); break;
        case 5: _t->moveCursorToStart(); break;
        case 6: _t->selectAll(); break;
        case 7: _t->slotTextChanged(); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KexiDBTextEdit *_t = static_cast<KexiDBTextEdit *>(_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;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KexiDBTextEdit *_t = static_cast<KexiDBTextEdit *>(_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;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KexiDBTextEdit::staticMetaObject = {
    { &KTextEdit::staticMetaObject, qt_meta_stringdata_KexiDBTextEdit.data,
      qt_meta_data_KexiDBTextEdit,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KexiDBTextEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KexiDBTextEdit.stringdata0))
        return static_cast<void*>(const_cast< KexiDBTextEdit*>(this));
    if (!strcmp(_clname, "KexiDBTextWidgetInterface"))
        return static_cast< KexiDBTextWidgetInterface*>(const_cast< KexiDBTextEdit*>(this));
    if (!strcmp(_clname, "KexiFormDataItemInterface"))
        return static_cast< KexiFormDataItemInterface*>(const_cast< KexiDBTextEdit*>(this));
    if (!strcmp(_clname, "KFormDesigner::FormWidgetInterface"))
        return static_cast< KFormDesigner::FormWidgetInterface*>(const_cast< KexiDBTextEdit*>(this));
    return KTextEdit::qt_metacast(_clname);
}

int KexiDBTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KTextEdit::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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
