/****************************************************************************
** Meta object code from reading C++ file 'parleymainwindow.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/parley-17.12.3/src/parleymainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'parleymainwindow.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_ParleyMainWindow_t {
    QByteArrayData data[34];
    char stringdata0[475];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ParleyMainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ParleyMainWindow_t qt_meta_stringdata_ParleyMainWindow = {
    {
QT_MOC_LITERAL(0, 0, 16), // "ParleyMainWindow"
QT_MOC_LITERAL(1, 17, 18), // "recentFilesChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 18), // "preferencesChanged"
QT_MOC_LITERAL(4, 56, 15), // "documentUpdated"
QT_MOC_LITERAL(5, 72, 16), // "KEduVocDocument*"
QT_MOC_LITERAL(6, 89, 3), // "doc"
QT_MOC_LITERAL(7, 93, 11), // "slotFileNew"
QT_MOC_LITERAL(8, 105, 23), // "slotUpdateWindowCaption"
QT_MOC_LITERAL(9, 129, 10), // "queryClose"
QT_MOC_LITERAL(10, 140, 16), // "removeRecentFile"
QT_MOC_LITERAL(11, 157, 3), // "url"
QT_MOC_LITERAL(12, 161, 8), // "sizeHint"
QT_MOC_LITERAL(13, 170, 18), // "slotGeneralOptions"
QT_MOC_LITERAL(14, 189, 20), // "slotApplyPreferences"
QT_MOC_LITERAL(15, 210, 17), // "slotCloseDocument"
QT_MOC_LITERAL(16, 228, 17), // "configurePractice"
QT_MOC_LITERAL(17, 246, 13), // "startPractice"
QT_MOC_LITERAL(18, 260, 19), // "showPracticeSummary"
QT_MOC_LITERAL(19, 280, 16), // "practiceFinished"
QT_MOC_LITERAL(20, 297, 8), // "tipOfDay"
QT_MOC_LITERAL(21, 306, 15), // "startupTipOfDay"
QT_MOC_LITERAL(22, 322, 13), // "showDashboard"
QT_MOC_LITERAL(23, 336, 10), // "showEditor"
QT_MOC_LITERAL(24, 347, 12), // "showPractice"
QT_MOC_LITERAL(25, 360, 25), // "showPracticeConfiguration"
QT_MOC_LITERAL(26, 386, 15), // "switchComponent"
QT_MOC_LITERAL(27, 402, 9), // "Component"
QT_MOC_LITERAL(28, 412, 9), // "component"
QT_MOC_LITERAL(29, 422, 19), // "showDocumentActions"
QT_MOC_LITERAL(30, 442, 4), // "open"
QT_MOC_LITERAL(31, 447, 4), // "edit"
QT_MOC_LITERAL(32, 452, 17), // "setVisibleToolbar"
QT_MOC_LITERAL(33, 470, 4) // "name"

    },
    "ParleyMainWindow\0recentFilesChanged\0"
    "\0preferencesChanged\0documentUpdated\0"
    "KEduVocDocument*\0doc\0slotFileNew\0"
    "slotUpdateWindowCaption\0queryClose\0"
    "removeRecentFile\0url\0sizeHint\0"
    "slotGeneralOptions\0slotApplyPreferences\0"
    "slotCloseDocument\0configurePractice\0"
    "startPractice\0showPracticeSummary\0"
    "practiceFinished\0tipOfDay\0startupTipOfDay\0"
    "showDashboard\0showEditor\0showPractice\0"
    "showPracticeConfiguration\0switchComponent\0"
    "Component\0component\0showDocumentActions\0"
    "open\0edit\0setVisibleToolbar\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ParleyMainWindow[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,  136,    2, 0x0a /* Public */,
       7,    0,  139,    2, 0x0a /* Public */,
       8,    0,  140,    2, 0x0a /* Public */,
       9,    0,  141,    2, 0x0a /* Public */,
      10,    1,  142,    2, 0x0a /* Public */,
      12,    0,  145,    2, 0x0a /* Public */,
      13,    0,  146,    2, 0x0a /* Public */,
      14,    0,  147,    2, 0x0a /* Public */,
      15,    0,  148,    2, 0x0a /* Public */,
      16,    0,  149,    2, 0x0a /* Public */,
      17,    0,  150,    2, 0x0a /* Public */,
      18,    0,  151,    2, 0x0a /* Public */,
      19,    0,  152,    2, 0x0a /* Public */,
      20,    0,  153,    2, 0x0a /* Public */,
      21,    0,  154,    2, 0x0a /* Public */,
      22,    0,  155,    2, 0x0a /* Public */,
      23,    0,  156,    2, 0x0a /* Public */,
      24,    0,  157,    2, 0x0a /* Public */,
      25,    0,  158,    2, 0x0a /* Public */,
      26,    1,  159,    2, 0x0a /* Public */,
      29,    2,  162,    2, 0x0a /* Public */,
      32,    1,  167,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::QUrl,   11,
    QMetaType::QSize,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 27,   28,
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool,   30,   31,
    QMetaType::Void, QMetaType::QString,   33,

       0        // eod
};

void ParleyMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ParleyMainWindow *_t = static_cast<ParleyMainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->recentFilesChanged(); break;
        case 1: _t->preferencesChanged(); break;
        case 2: _t->documentUpdated((*reinterpret_cast< KEduVocDocument*(*)>(_a[1]))); break;
        case 3: _t->slotFileNew(); break;
        case 4: _t->slotUpdateWindowCaption(); break;
        case 5: { bool _r = _t->queryClose();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->removeRecentFile((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 7: { QSize _r = _t->sizeHint();
            if (_a[0]) *reinterpret_cast< QSize*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->slotGeneralOptions(); break;
        case 9: _t->slotApplyPreferences(); break;
        case 10: _t->slotCloseDocument(); break;
        case 11: _t->configurePractice(); break;
        case 12: _t->startPractice(); break;
        case 13: _t->showPracticeSummary(); break;
        case 14: _t->practiceFinished(); break;
        case 15: _t->tipOfDay(); break;
        case 16: _t->startupTipOfDay(); break;
        case 17: _t->showDashboard(); break;
        case 18: _t->showEditor(); break;
        case 19: _t->showPractice(); break;
        case 20: _t->showPracticeConfiguration(); break;
        case 21: _t->switchComponent((*reinterpret_cast< Component(*)>(_a[1]))); break;
        case 22: _t->showDocumentActions((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 23: _t->setVisibleToolbar((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< KEduVocDocument* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ParleyMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ParleyMainWindow::recentFilesChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ParleyMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ParleyMainWindow::preferencesChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject ParleyMainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_ParleyMainWindow.data,
      qt_meta_data_ParleyMainWindow,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ParleyMainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KXmlGuiWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    return _id;
}

// SIGNAL 0
void ParleyMainWindow::recentFilesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ParleyMainWindow::preferencesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
