/****************************************************************************
** Meta object code from reading C++ file 'KexiProjectSelectorWidget.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/widget/KexiProjectSelectorWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiProjectSelectorWidget.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_KexiProjectSelectorWidget_t {
    QByteArrayData data[8];
    char stringdata0[128];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiProjectSelectorWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiProjectSelectorWidget_t qt_meta_stringdata_KexiProjectSelectorWidget = {
    {
QT_MOC_LITERAL(0, 0, 25), // "KexiProjectSelectorWidget"
QT_MOC_LITERAL(1, 26, 15), // "projectExecuted"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 16), // "KexiProjectData*"
QT_MOC_LITERAL(4, 60, 16), // "selectionChanged"
QT_MOC_LITERAL(5, 77, 16), // "slotItemExecuted"
QT_MOC_LITERAL(6, 94, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(7, 111, 16) // "slotItemSelected"

    },
    "KexiProjectSelectorWidget\0projectExecuted\0"
    "\0KexiProjectData*\0selectionChanged\0"
    "slotItemExecuted\0QTreeWidgetItem*\0"
    "slotItemSelected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiProjectSelectorWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x06 /* Public */,
       4,    1,   42,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   45,    2, 0x09 /* Protected */,
       5,    0,   48,    2, 0x09 /* Protected */,
       7,    0,   49,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KexiProjectSelectorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiProjectSelectorWidget *_t = static_cast<KexiProjectSelectorWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->projectExecuted((*reinterpret_cast< KexiProjectData*(*)>(_a[1]))); break;
        case 1: _t->selectionChanged((*reinterpret_cast< KexiProjectData*(*)>(_a[1]))); break;
        case 2: _t->slotItemExecuted((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 3: _t->slotItemExecuted(); break;
        case 4: _t->slotItemSelected(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KexiProjectData* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KexiProjectData* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiProjectSelectorWidget::*_t)(KexiProjectData * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiProjectSelectorWidget::projectExecuted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiProjectSelectorWidget::*_t)(KexiProjectData * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiProjectSelectorWidget::selectionChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KexiProjectSelectorWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KexiProjectSelectorWidget.data,
      qt_meta_data_KexiProjectSelectorWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiProjectSelectorWidget::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void KexiProjectSelectorWidget::projectExecuted(KexiProjectData * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KexiProjectSelectorWidget::selectionChanged(KexiProjectData * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_KexiProjectSelectorDialog_t {
    QByteArrayData data[5];
    char stringdata0[92];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiProjectSelectorDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiProjectSelectorDialog_t qt_meta_stringdata_KexiProjectSelectorDialog = {
    {
QT_MOC_LITERAL(0, 0, 25), // "KexiProjectSelectorDialog"
QT_MOC_LITERAL(1, 26, 19), // "slotProjectExecuted"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 16), // "KexiProjectData*"
QT_MOC_LITERAL(4, 64, 27) // "slotProjectSelectionChanged"

    },
    "KexiProjectSelectorDialog\0slotProjectExecuted\0"
    "\0KexiProjectData*\0slotProjectSelectionChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiProjectSelectorDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x09 /* Protected */,
       4,    1,   27,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,

       0        // eod
};

void KexiProjectSelectorDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiProjectSelectorDialog *_t = static_cast<KexiProjectSelectorDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotProjectExecuted((*reinterpret_cast< KexiProjectData*(*)>(_a[1]))); break;
        case 1: _t->slotProjectSelectionChanged((*reinterpret_cast< KexiProjectData*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KexiProjectData* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KexiProjectData* >(); break;
            }
            break;
        }
    }
}

const QMetaObject KexiProjectSelectorDialog::staticMetaObject = {
    { &KPageDialog::staticMetaObject, qt_meta_stringdata_KexiProjectSelectorDialog.data,
      qt_meta_data_KexiProjectSelectorDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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