/****************************************************************************
** Meta object code from reading C++ file 'KexiWelcomeAssistant.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/main/startup/KexiWelcomeAssistant.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiWelcomeAssistant.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_KexiMainWelcomePage_t {
    QByteArrayData data[11];
    char stringdata0[115];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiMainWelcomePage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiMainWelcomePage_t qt_meta_stringdata_KexiMainWelcomePage = {
    {
QT_MOC_LITERAL(0, 0, 19), // "KexiMainWelcomePage"
QT_MOC_LITERAL(1, 20, 11), // "openProject"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 15), // "KexiProjectData"
QT_MOC_LITERAL(4, 49, 4), // "data"
QT_MOC_LITERAL(5, 54, 12), // "shortcutPath"
QT_MOC_LITERAL(6, 67, 5), // "bool*"
QT_MOC_LITERAL(7, 73, 6), // "opened"
QT_MOC_LITERAL(8, 80, 15), // "slotItemClicked"
QT_MOC_LITERAL(9, 96, 5), // "index"
QT_MOC_LITERAL(10, 102, 12) // "loadProjects"

    },
    "KexiMainWelcomePage\0openProject\0\0"
    "KexiProjectData\0data\0shortcutPath\0"
    "bool*\0opened\0slotItemClicked\0index\0"
    "loadProjects"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiMainWelcomePage[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       8,    1,   36,    2, 0x0a /* Public */,
      10,    0,   39,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, 0x80000000 | 6,    4,    5,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex,    9,
    QMetaType::Void,

       0        // eod
};

void KexiMainWelcomePage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiMainWelcomePage *_t = static_cast<KexiMainWelcomePage *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->openProject((*reinterpret_cast< const KexiProjectData(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool*(*)>(_a[3]))); break;
        case 1: _t->slotItemClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->loadProjects(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiMainWelcomePage::*_t)(const KexiProjectData & , const QString & , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiMainWelcomePage::openProject)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KexiMainWelcomePage::staticMetaObject = {
    { &KexiAssistantPage::staticMetaObject, qt_meta_stringdata_KexiMainWelcomePage.data,
      qt_meta_data_KexiMainWelcomePage,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KexiMainWelcomePage::openProject(const KexiProjectData & _t1, const QString & _t2, bool * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KexiWelcomeAssistant_t {
    QByteArrayData data[14];
    char stringdata0[185];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiWelcomeAssistant_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiWelcomeAssistant_t qt_meta_stringdata_KexiWelcomeAssistant = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KexiWelcomeAssistant"
QT_MOC_LITERAL(1, 21, 11), // "openProject"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 15), // "KexiProjectData"
QT_MOC_LITERAL(4, 50, 4), // "data"
QT_MOC_LITERAL(5, 55, 12), // "shortcutPath"
QT_MOC_LITERAL(6, 68, 5), // "bool*"
QT_MOC_LITERAL(7, 74, 6), // "opened"
QT_MOC_LITERAL(8, 81, 17), // "nextPageRequested"
QT_MOC_LITERAL(9, 99, 18), // "KexiAssistantPage*"
QT_MOC_LITERAL(10, 118, 4), // "page"
QT_MOC_LITERAL(11, 123, 15), // "cancelRequested"
QT_MOC_LITERAL(12, 139, 23), // "tryAgainActionTriggered"
QT_MOC_LITERAL(13, 163, 21) // "cancelActionTriggered"

    },
    "KexiWelcomeAssistant\0openProject\0\0"
    "KexiProjectData\0data\0shortcutPath\0"
    "bool*\0opened\0nextPageRequested\0"
    "KexiAssistantPage*\0page\0cancelRequested\0"
    "tryAgainActionTriggered\0cancelActionTriggered"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiWelcomeAssistant[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       8,    1,   46,    2, 0x0a /* Public */,
      11,    1,   49,    2, 0x0a /* Public */,
      12,    0,   52,    2, 0x0a /* Public */,
      13,    0,   53,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, 0x80000000 | 6,    4,    5,    7,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KexiWelcomeAssistant::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiWelcomeAssistant *_t = static_cast<KexiWelcomeAssistant *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->openProject((*reinterpret_cast< const KexiProjectData(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool*(*)>(_a[3]))); break;
        case 1: _t->nextPageRequested((*reinterpret_cast< KexiAssistantPage*(*)>(_a[1]))); break;
        case 2: _t->cancelRequested((*reinterpret_cast< KexiAssistantPage*(*)>(_a[1]))); break;
        case 3: _t->tryAgainActionTriggered(); break;
        case 4: _t->cancelActionTriggered(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< KexiAssistantPage* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KexiAssistantPage* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiWelcomeAssistant::*_t)(const KexiProjectData & , const QString & , bool * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiWelcomeAssistant::openProject)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KexiWelcomeAssistant::staticMetaObject = {
    { &KexiAssistantWidget::staticMetaObject, qt_meta_stringdata_KexiWelcomeAssistant.data,
      qt_meta_data_KexiWelcomeAssistant,  qt_static_metacall, nullptr, nullptr}
};


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

void *KexiWelcomeAssistant::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KexiWelcomeAssistant.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "KexiAssistantMessageHandler"))
        return static_cast< KexiAssistantMessageHandler*>(this);
    return KexiAssistantWidget::qt_metacast(_clname);
}

int KexiWelcomeAssistant::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KexiAssistantWidget::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 KexiWelcomeAssistant::openProject(const KexiProjectData & _t1, const QString & _t2, bool * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
