/****************************************************************************
** Meta object code from reading C++ file 'KexiDataSourceComboBox.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/KexiDataSourceComboBox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiDataSourceComboBox.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_KexiDataSourceComboBox_t {
    QByteArrayData data[23];
    char stringdata0[274];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiDataSourceComboBox_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiDataSourceComboBox_t qt_meta_stringdata_KexiDataSourceComboBox = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KexiDataSourceComboBox"
QT_MOC_LITERAL(1, 23, 17), // "dataSourceChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 10), // "setProject"
QT_MOC_LITERAL(4, 53, 12), // "KexiProject*"
QT_MOC_LITERAL(5, 66, 3), // "prj"
QT_MOC_LITERAL(6, 70, 10), // "showTables"
QT_MOC_LITERAL(7, 81, 11), // "showQueries"
QT_MOC_LITERAL(8, 93, 13), // "setDataSource"
QT_MOC_LITERAL(9, 107, 8), // "pluginId"
QT_MOC_LITERAL(10, 116, 4), // "name"
QT_MOC_LITERAL(11, 121, 17), // "slotNewItemStored"
QT_MOC_LITERAL(12, 139, 15), // "KexiPart::Item*"
QT_MOC_LITERAL(13, 155, 4), // "item"
QT_MOC_LITERAL(14, 160, 15), // "slotItemRemoved"
QT_MOC_LITERAL(15, 176, 14), // "KexiPart::Item"
QT_MOC_LITERAL(16, 191, 15), // "slotItemRenamed"
QT_MOC_LITERAL(17, 207, 7), // "oldName"
QT_MOC_LITERAL(18, 215, 13), // "slotActivated"
QT_MOC_LITERAL(19, 229, 5), // "index"
QT_MOC_LITERAL(20, 235, 17), // "slotReturnPressed"
QT_MOC_LITERAL(21, 253, 4), // "text"
QT_MOC_LITERAL(22, 258, 15) // "slotTextChanged"

    },
    "KexiDataSourceComboBox\0dataSourceChanged\0"
    "\0setProject\0KexiProject*\0prj\0showTables\0"
    "showQueries\0setDataSource\0pluginId\0"
    "name\0slotNewItemStored\0KexiPart::Item*\0"
    "item\0slotItemRemoved\0KexiPart::Item\0"
    "slotItemRenamed\0oldName\0slotActivated\0"
    "index\0slotReturnPressed\0text\0"
    "slotTextChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiDataSourceComboBox[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    3,   70,    2, 0x0a /* Public */,
       3,    2,   77,    2, 0x2a /* Public | MethodCloned */,
       3,    1,   82,    2, 0x2a /* Public | MethodCloned */,
       8,    2,   85,    2, 0x0a /* Public */,
      11,    1,   90,    2, 0x09 /* Protected */,
      14,    1,   93,    2, 0x09 /* Protected */,
      16,    2,   96,    2, 0x09 /* Protected */,
      18,    1,  101,    2, 0x09 /* Protected */,
      20,    1,  104,    2, 0x09 /* Protected */,
      22,    1,  107,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4, QMetaType::Bool, QMetaType::Bool,    5,    6,    7,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Bool,    5,    6,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 15,   13,
    QMetaType::Void, 0x80000000 | 15, QMetaType::QString,   13,   17,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::QString,   21,
    QMetaType::Void, QMetaType::QString,   21,

       0        // eod
};

void KexiDataSourceComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiDataSourceComboBox *_t = static_cast<KexiDataSourceComboBox *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dataSourceChanged(); break;
        case 1: _t->setProject((*reinterpret_cast< KexiProject*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 2: _t->setProject((*reinterpret_cast< KexiProject*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->setProject((*reinterpret_cast< KexiProject*(*)>(_a[1]))); break;
        case 4: _t->setDataSource((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->slotNewItemStored((*reinterpret_cast< KexiPart::Item*(*)>(_a[1]))); break;
        case 6: _t->slotItemRemoved((*reinterpret_cast< const KexiPart::Item(*)>(_a[1]))); break;
        case 7: _t->slotItemRenamed((*reinterpret_cast< const KexiPart::Item(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->slotActivated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->slotReturnPressed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->slotTextChanged((*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 (KexiDataSourceComboBox::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiDataSourceComboBox::dataSourceChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KexiDataSourceComboBox::staticMetaObject = {
    { &KComboBox::staticMetaObject, qt_meta_stringdata_KexiDataSourceComboBox.data,
      qt_meta_data_KexiDataSourceComboBox,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KexiDataSourceComboBox::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

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