/****************************************************************************
** Meta object code from reading C++ file 'kexiformmanager.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/kexiformmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kexiformmanager.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_KexiFormManager_t {
    QByteArrayData data[25];
    char stringdata0[351];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiFormManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiFormManager_t qt_meta_stringdata_KexiFormManager = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KexiFormManager"
QT_MOC_LITERAL(1, 16, 17), // "setFormDataSource"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 4), // "mime"
QT_MOC_LITERAL(4, 40, 4), // "name"
QT_MOC_LITERAL(5, 45, 30), // "setDataSourceFieldOrExpression"
QT_MOC_LITERAL(6, 76, 6), // "string"
QT_MOC_LITERAL(7, 83, 7), // "caption"
QT_MOC_LITERAL(8, 91, 14), // "KDbField::Type"
QT_MOC_LITERAL(9, 106, 4), // "type"
QT_MOC_LITERAL(10, 111, 16), // "insertAutoFields"
QT_MOC_LITERAL(11, 128, 15), // "sourcePartClass"
QT_MOC_LITERAL(12, 144, 10), // "sourceName"
QT_MOC_LITERAL(13, 155, 6), // "fields"
QT_MOC_LITERAL(14, 162, 14), // "showFormUICode"
QT_MOC_LITERAL(15, 177, 26), // "slotHistoryCommandExecuted"
QT_MOC_LITERAL(16, 204, 23), // "KFormDesigner::Command*"
QT_MOC_LITERAL(17, 228, 7), // "command"
QT_MOC_LITERAL(18, 236, 31), // "slotWidgetCreatedByFormsLibrary"
QT_MOC_LITERAL(19, 268, 8), // "QWidget*"
QT_MOC_LITERAL(20, 277, 6), // "widget"
QT_MOC_LITERAL(21, 284, 23), // "slotWidgetActionToggled"
QT_MOC_LITERAL(22, 308, 6), // "action"
QT_MOC_LITERAL(23, 315, 16), // "slotAssignAction"
QT_MOC_LITERAL(24, 332, 18) // "slotPointerClicked"

    },
    "KexiFormManager\0setFormDataSource\0\0"
    "mime\0name\0setDataSourceFieldOrExpression\0"
    "string\0caption\0KDbField::Type\0type\0"
    "insertAutoFields\0sourcePartClass\0"
    "sourceName\0fields\0showFormUICode\0"
    "slotHistoryCommandExecuted\0"
    "KFormDesigner::Command*\0command\0"
    "slotWidgetCreatedByFormsLibrary\0"
    "QWidget*\0widget\0slotWidgetActionToggled\0"
    "action\0slotAssignAction\0slotPointerClicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiFormManager[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   59,    2, 0x0a /* Public */,
       5,    3,   64,    2, 0x0a /* Public */,
      10,    3,   71,    2, 0x0a /* Public */,
      14,    0,   78,    2, 0x0a /* Public */,
      15,    1,   79,    2, 0x09 /* Protected */,
      18,    1,   82,    2, 0x09 /* Protected */,
      21,    1,   85,    2, 0x09 /* Protected */,
      23,    0,   88,    2, 0x09 /* Protected */,
      24,    0,   89,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 8,    6,    7,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QStringList,   11,   12,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, QMetaType::QByteArray,   22,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KexiFormManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiFormManager *_t = static_cast<KexiFormManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setFormDataSource((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->setDataSourceFieldOrExpression((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< KDbField::Type(*)>(_a[3]))); break;
        case 2: _t->insertAutoFields((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QStringList(*)>(_a[3]))); break;
        case 3: _t->showFormUICode(); break;
        case 4: _t->slotHistoryCommandExecuted((*reinterpret_cast< KFormDesigner::Command*(*)>(_a[1]))); break;
        case 5: _t->slotWidgetCreatedByFormsLibrary((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 6: _t->slotWidgetActionToggled((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 7: _t->slotAssignAction(); break;
        case 8: _t->slotPointerClicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    }
}

const QMetaObject KexiFormManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KexiFormManager.data,
      qt_meta_data_KexiFormManager,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiFormManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
