/****************************************************************************
** Meta object code from reading C++ file 'KexiConnectionSelectorWidget.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/KexiConnectionSelectorWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiConnectionSelectorWidget.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_KexiConnectionSelectorWidget_t {
    QByteArrayData data[24];
    char stringdata0[439];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiConnectionSelectorWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiConnectionSelectorWidget_t qt_meta_stringdata_KexiConnectionSelectorWidget = {
    {
QT_MOC_LITERAL(0, 0, 28), // "KexiConnectionSelectorWidget"
QT_MOC_LITERAL(1, 29, 22), // "connectionItemExecuted"
QT_MOC_LITERAL(2, 52, 0), // ""
QT_MOC_LITERAL(3, 53, 21), // "ConnectionDataLVItem*"
QT_MOC_LITERAL(4, 75, 4), // "item"
QT_MOC_LITERAL(5, 80, 25), // "connectionItemHighlighted"
QT_MOC_LITERAL(6, 106, 18), // "connectionSelected"
QT_MOC_LITERAL(7, 125, 11), // "hasSelected"
QT_MOC_LITERAL(8, 137, 14), // "showSimpleConn"
QT_MOC_LITERAL(9, 152, 16), // "showAdvancedConn"
QT_MOC_LITERAL(10, 169, 8), // "setFocus"
QT_MOC_LITERAL(11, 178, 11), // "hideHelpers"
QT_MOC_LITERAL(12, 190, 17), // "hideConnectonIcon"
QT_MOC_LITERAL(13, 208, 15), // "hideDescription"
QT_MOC_LITERAL(14, 224, 26), // "slotConnectionItemExecuted"
QT_MOC_LITERAL(15, 251, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(16, 268, 23), // "slotRemoteAddBtnClicked"
QT_MOC_LITERAL(17, 292, 24), // "slotRemoteEditBtnClicked"
QT_MOC_LITERAL(18, 317, 26), // "slotRemoteRemoveBtnClicked"
QT_MOC_LITERAL(19, 344, 30), // "slotConnectionSelectionChanged"
QT_MOC_LITERAL(20, 375, 19), // "slotPrjTypeSelected"
QT_MOC_LITERAL(21, 395, 16), // "QAbstractButton*"
QT_MOC_LITERAL(22, 412, 3), // "btn"
QT_MOC_LITERAL(23, 416, 22) // "slotConnectionSelected"

    },
    "KexiConnectionSelectorWidget\0"
    "connectionItemExecuted\0\0ConnectionDataLVItem*\0"
    "item\0connectionItemHighlighted\0"
    "connectionSelected\0hasSelected\0"
    "showSimpleConn\0showAdvancedConn\0"
    "setFocus\0hideHelpers\0hideConnectonIcon\0"
    "hideDescription\0slotConnectionItemExecuted\0"
    "QTreeWidgetItem*\0slotRemoteAddBtnClicked\0"
    "slotRemoteEditBtnClicked\0"
    "slotRemoteRemoveBtnClicked\0"
    "slotConnectionSelectionChanged\0"
    "slotPrjTypeSelected\0QAbstractButton*\0"
    "btn\0slotConnectionSelected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiConnectionSelectorWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x06 /* Public */,
       5,    1,  102,    2, 0x06 /* Public */,
       6,    1,  105,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  108,    2, 0x0a /* Public */,
       9,    0,  109,    2, 0x0a /* Public */,
      10,    0,  110,    2, 0x0a /* Public */,
      11,    0,  111,    2, 0x0a /* Public */,
      12,    0,  112,    2, 0x0a /* Public */,
      13,    0,  113,    2, 0x0a /* Public */,
      14,    1,  114,    2, 0x09 /* Protected */,
      14,    0,  117,    2, 0x09 /* Protected */,
      16,    0,  118,    2, 0x09 /* Protected */,
      17,    0,  119,    2, 0x09 /* Protected */,
      18,    0,  120,    2, 0x09 /* Protected */,
      19,    0,  121,    2, 0x09 /* Protected */,
      20,    1,  122,    2, 0x09 /* Protected */,
      23,    0,  125,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void,

       0        // eod
};

void KexiConnectionSelectorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiConnectionSelectorWidget *_t = static_cast<KexiConnectionSelectorWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->connectionItemExecuted((*reinterpret_cast< ConnectionDataLVItem*(*)>(_a[1]))); break;
        case 1: _t->connectionItemHighlighted((*reinterpret_cast< ConnectionDataLVItem*(*)>(_a[1]))); break;
        case 2: _t->connectionSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->showSimpleConn(); break;
        case 4: _t->showAdvancedConn(); break;
        case 5: _t->setFocus(); break;
        case 6: _t->hideHelpers(); break;
        case 7: _t->hideConnectonIcon(); break;
        case 8: _t->hideDescription(); break;
        case 9: _t->slotConnectionItemExecuted((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 10: _t->slotConnectionItemExecuted(); break;
        case 11: _t->slotRemoteAddBtnClicked(); break;
        case 12: _t->slotRemoteEditBtnClicked(); break;
        case 13: _t->slotRemoteRemoveBtnClicked(); break;
        case 14: _t->slotConnectionSelectionChanged(); break;
        case 15: _t->slotPrjTypeSelected((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
        case 16: _t->slotConnectionSelected(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiConnectionSelectorWidget::*_t)(ConnectionDataLVItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiConnectionSelectorWidget::connectionItemExecuted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiConnectionSelectorWidget::*_t)(ConnectionDataLVItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiConnectionSelectorWidget::connectionItemHighlighted)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiConnectionSelectorWidget::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiConnectionSelectorWidget::connectionSelected)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KexiConnectionSelectorWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KexiConnectionSelectorWidget.data,
      qt_meta_data_KexiConnectionSelectorWidget,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KexiConnectionSelectorWidget::connectionItemExecuted(ConnectionDataLVItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KexiConnectionSelectorWidget::connectionItemHighlighted(ConnectionDataLVItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KexiConnectionSelectorWidget::connectionSelected(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
