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

#include "../../../src/kexi-3.0.2/src/widget/fields/KexiFieldComboBox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiFieldComboBox.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KexiFieldComboBox_t {
    QByteArrayData data[21];
    char stringdata0[251];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiFieldComboBox_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiFieldComboBox_t qt_meta_stringdata_KexiFieldComboBox = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KexiFieldComboBox"
QT_MOC_LITERAL(1, 18, 8), // "selected"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 7), // "project"
QT_MOC_LITERAL(4, 36, 12), // "KexiProject*"
QT_MOC_LITERAL(5, 49, 10), // "setProject"
QT_MOC_LITERAL(6, 60, 3), // "prj"
QT_MOC_LITERAL(7, 64, 15), // "setTableOrQuery"
QT_MOC_LITERAL(8, 80, 4), // "name"
QT_MOC_LITERAL(9, 85, 5), // "table"
QT_MOC_LITERAL(10, 91, 16), // "tableOrQueryName"
QT_MOC_LITERAL(11, 108, 15), // "isTableAssigned"
QT_MOC_LITERAL(12, 124, 20), // "setFieldOrExpression"
QT_MOC_LITERAL(13, 145, 6), // "string"
QT_MOC_LITERAL(14, 152, 5), // "index"
QT_MOC_LITERAL(15, 158, 17), // "fieldOrExpression"
QT_MOC_LITERAL(16, 176, 24), // "fieldOrExpressionCaption"
QT_MOC_LITERAL(17, 201, 12), // "indexOfField"
QT_MOC_LITERAL(18, 214, 13), // "slotActivated"
QT_MOC_LITERAL(19, 228, 17), // "slotReturnPressed"
QT_MOC_LITERAL(20, 246, 4) // "text"

    },
    "KexiFieldComboBox\0selected\0\0project\0"
    "KexiProject*\0setProject\0prj\0setTableOrQuery\0"
    "name\0table\0tableOrQueryName\0isTableAssigned\0"
    "setFieldOrExpression\0string\0index\0"
    "fieldOrExpression\0fieldOrExpressionCaption\0"
    "indexOfField\0slotActivated\0slotReturnPressed\0"
    "text"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiFieldComboBox[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   80,    2, 0x0a /* Public */,
       5,    1,   81,    2, 0x0a /* Public */,
       7,    2,   84,    2, 0x0a /* Public */,
      10,    0,   89,    2, 0x0a /* Public */,
      11,    0,   90,    2, 0x0a /* Public */,
      12,    1,   91,    2, 0x0a /* Public */,
      12,    1,   94,    2, 0x0a /* Public */,
      15,    0,   97,    2, 0x0a /* Public */,
      16,    0,   98,    2, 0x0a /* Public */,
      17,    0,   99,    2, 0x0a /* Public */,
      18,    1,  100,    2, 0x09 /* Protected */,
      19,    1,  103,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    0x80000000 | 4,
    QMetaType::Void, 0x80000000 | 4,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    8,    9,
    QMetaType::QString,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Int,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString,   20,

       0        // eod
};

void KexiFieldComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiFieldComboBox *_t = static_cast<KexiFieldComboBox *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->selected(); break;
        case 1: { KexiProject* _r = _t->project();
            if (_a[0]) *reinterpret_cast< KexiProject**>(_a[0]) = std::move(_r); }  break;
        case 2: _t->setProject((*reinterpret_cast< KexiProject*(*)>(_a[1]))); break;
        case 3: _t->setTableOrQuery((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: { QString _r = _t->tableOrQueryName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->isTableAssigned();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->setFieldOrExpression((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->setFieldOrExpression((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: { QString _r = _t->fieldOrExpression();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->fieldOrExpressionCaption();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 10: { int _r = _t->indexOfField();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->slotActivated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->slotReturnPressed((*reinterpret_cast< const QString(*)>(_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 (KexiFieldComboBox::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiFieldComboBox::selected)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KexiFieldComboBox::staticMetaObject = {
    { &KComboBox::staticMetaObject, qt_meta_stringdata_KexiFieldComboBox.data,
      qt_meta_data_KexiFieldComboBox,  qt_static_metacall, nullptr, nullptr}
};


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

void *KexiFieldComboBox::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KexiFieldComboBox.stringdata0))
        return static_cast<void*>(this);
    return KComboBox::qt_metacast(_clname);
}

int KexiFieldComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KComboBox::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void KexiFieldComboBox::selected()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
