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

#include "../../../../src/calligraplan-3.1.0/src/libs/ui/welcome/WelcomeView.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'WelcomeView.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KPlato__WelcomeView_t {
    QByteArrayData data[33];
    char stringdata0[462];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__WelcomeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__WelcomeView_t qt_meta_stringdata_KPlato__WelcomeView = {
    {
QT_MOC_LITERAL(0, 0, 19), // "KPlato::WelcomeView"
QT_MOC_LITERAL(1, 20, 10), // "newProject"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 11), // "openProject"
QT_MOC_LITERAL(4, 44, 13), // "recentProject"
QT_MOC_LITERAL(5, 58, 4), // "file"
QT_MOC_LITERAL(6, 63, 16), // "showIntroduction"
QT_MOC_LITERAL(7, 80, 17), // "selectDefaultView"
QT_MOC_LITERAL(8, 98, 19), // "loadSharedResources"
QT_MOC_LITERAL(9, 118, 3), // "url"
QT_MOC_LITERAL(10, 122, 8), // "projects"
QT_MOC_LITERAL(11, 131, 16), // "openExistingFile"
QT_MOC_LITERAL(12, 148, 14), // "projectCreated"
QT_MOC_LITERAL(13, 163, 8), // "finished"
QT_MOC_LITERAL(14, 172, 12), // "openTemplate"
QT_MOC_LITERAL(15, 185, 12), // "setGuiActive"
QT_MOC_LITERAL(16, 198, 8), // "activate"
QT_MOC_LITERAL(17, 207, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(18, 232, 5), // "index"
QT_MOC_LITERAL(19, 238, 3), // "pos"
QT_MOC_LITERAL(20, 242, 22), // "slotRecentFileSelected"
QT_MOC_LITERAL(21, 265, 14), // "QItemSelection"
QT_MOC_LITERAL(22, 280, 8), // "selected"
QT_MOC_LITERAL(23, 289, 17), // "slotEnableActions"
QT_MOC_LITERAL(24, 307, 2), // "on"
QT_MOC_LITERAL(25, 310, 14), // "slotNewProject"
QT_MOC_LITERAL(26, 325, 15), // "slotOpenProject"
QT_MOC_LITERAL(27, 341, 23), // "slotLoadSharedResources"
QT_MOC_LITERAL(28, 365, 21), // "loadProjectsAtStartup"
QT_MOC_LITERAL(29, 387, 23), // "slotProjectEditFinished"
QT_MOC_LITERAL(30, 411, 6), // "result"
QT_MOC_LITERAL(31, 418, 20), // "slotOpenFileFinished"
QT_MOC_LITERAL(32, 439, 22) // "slotCreateResourceFile"

    },
    "KPlato::WelcomeView\0newProject\0\0"
    "openProject\0recentProject\0file\0"
    "showIntroduction\0selectDefaultView\0"
    "loadSharedResources\0url\0projects\0"
    "openExistingFile\0projectCreated\0"
    "finished\0openTemplate\0setGuiActive\0"
    "activate\0slotContextMenuRequested\0"
    "index\0pos\0slotRecentFileSelected\0"
    "QItemSelection\0selected\0slotEnableActions\0"
    "on\0slotNewProject\0slotOpenProject\0"
    "slotLoadSharedResources\0loadProjectsAtStartup\0"
    "slotProjectEditFinished\0result\0"
    "slotOpenFileFinished\0slotCreateResourceFile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__WelcomeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    0,  115,    2, 0x06 /* Public */,
       4,    1,  116,    2, 0x06 /* Public */,
       6,    0,  119,    2, 0x06 /* Public */,
       7,    0,  120,    2, 0x06 /* Public */,
       8,    2,  121,    2, 0x06 /* Public */,
      11,    1,  126,    2, 0x06 /* Public */,
      12,    0,  129,    2, 0x06 /* Public */,
      13,    0,  130,    2, 0x06 /* Public */,
      14,    1,  131,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  134,    2, 0x0a /* Public */,
      17,    2,  137,    2, 0x08 /* Private */,
      20,    1,  142,    2, 0x08 /* Private */,
      23,    1,  145,    2, 0x08 /* Private */,
      25,    0,  148,    2, 0x08 /* Private */,
      26,    0,  149,    2, 0x08 /* Private */,
      27,    3,  150,    2, 0x08 /* Private */,
      29,    1,  157,    2, 0x08 /* Private */,
      31,    1,  160,    2, 0x08 /* Private */,
      32,    0,  163,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QUrl,    9,   10,
    QMetaType::Void, QMetaType::QUrl,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   18,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QUrl, QMetaType::Bool,    5,   10,   28,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void,

       0        // eod
};

void KPlato::WelcomeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WelcomeView *_t = static_cast<WelcomeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->newProject(); break;
        case 1: _t->openProject(); break;
        case 2: _t->recentProject((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->showIntroduction(); break;
        case 4: _t->selectDefaultView(); break;
        case 5: _t->loadSharedResources((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 6: _t->openExistingFile((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 7: _t->projectCreated(); break;
        case 8: _t->finished(); break;
        case 9: _t->openTemplate((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
        case 10: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 12: _t->slotRecentFileSelected((*reinterpret_cast< const QItemSelection(*)>(_a[1]))); break;
        case 13: _t->slotEnableActions((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->slotNewProject(); break;
        case 15: _t->slotOpenProject(); break;
        case 16: _t->slotLoadSharedResources((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 17: _t->slotProjectEditFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->slotOpenFileFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->slotCreateResourceFile(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (WelcomeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::newProject)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::openProject)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::recentProject)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::showIntroduction)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::selectDefaultView)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)(const QUrl & , const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::loadSharedResources)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::openExistingFile)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::projectCreated)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::finished)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (WelcomeView::*_t)(QUrl );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WelcomeView::openTemplate)) {
                *result = 9;
                return;
            }
        }
    }
}

const QMetaObject KPlato::WelcomeView::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__WelcomeView.data,
      qt_meta_data_KPlato__WelcomeView,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::WelcomeView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__WelcomeView.stringdata0))
        return static_cast<void*>(this);
    return ViewBase::qt_metacast(_clname);
}

int KPlato::WelcomeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ViewBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void KPlato::WelcomeView::newProject()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KPlato::WelcomeView::openProject()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KPlato::WelcomeView::recentProject(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::WelcomeView::showIntroduction()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KPlato::WelcomeView::selectDefaultView()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KPlato::WelcomeView::loadSharedResources(const QUrl & _t1, const QUrl & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KPlato::WelcomeView::openExistingFile(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void KPlato::WelcomeView::projectCreated()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KPlato::WelcomeView::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KPlato::WelcomeView::openTemplate(QUrl _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
