/****************************************************************************
** Meta object code from reading C++ file 'KoMainWindow.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/main/KoMainWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KoMainWindow.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_KoMainWindow_t {
    QByteArrayData data[55];
    char stringdata0[794];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KoMainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KoMainWindow_t qt_meta_stringdata_KoMainWindow = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KoMainWindow"
QT_MOC_LITERAL(1, 13, 13), // "documentSaved"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 15), // "saveDialogShown"
QT_MOC_LITERAL(4, 44, 13), // "restoringDone"
QT_MOC_LITERAL(5, 58, 13), // "loadCompleted"
QT_MOC_LITERAL(6, 72, 12), // "themeChanged"
QT_MOC_LITERAL(7, 85, 18), // "keyBindingsChanged"
QT_MOC_LITERAL(8, 104, 13), // "slotEmailFile"
QT_MOC_LITERAL(9, 118, 11), // "slotFileNew"
QT_MOC_LITERAL(10, 130, 12), // "slotFileOpen"
QT_MOC_LITERAL(11, 143, 18), // "slotFileOpenRecent"
QT_MOC_LITERAL(12, 162, 12), // "slotFileSave"
QT_MOC_LITERAL(13, 175, 14), // "slotFileSaveAs"
QT_MOC_LITERAL(14, 190, 13), // "slotFilePrint"
QT_MOC_LITERAL(15, 204, 20), // "slotFilePrintPreview"
QT_MOC_LITERAL(16, 225, 11), // "exportToPdf"
QT_MOC_LITERAL(17, 237, 11), // "KoPrintJob*"
QT_MOC_LITERAL(18, 249, 11), // "pdfFileName"
QT_MOC_LITERAL(19, 261, 16), // "slotDocumentInfo"
QT_MOC_LITERAL(20, 278, 13), // "slotFileClose"
QT_MOC_LITERAL(21, 292, 12), // "slotFileQuit"
QT_MOC_LITERAL(22, 305, 17), // "slotConfigureKeys"
QT_MOC_LITERAL(23, 323, 21), // "slotConfigureToolbars"
QT_MOC_LITERAL(24, 345, 20), // "slotNewToolbarConfig"
QT_MOC_LITERAL(25, 366, 18), // "slotToolbarToggled"
QT_MOC_LITERAL(26, 385, 6), // "toggle"
QT_MOC_LITERAL(27, 392, 14), // "viewFullscreen"
QT_MOC_LITERAL(28, 407, 10), // "fullScreen"
QT_MOC_LITERAL(29, 418, 19), // "showDockerTitleBars"
QT_MOC_LITERAL(30, 438, 4), // "show"
QT_MOC_LITERAL(31, 443, 14), // "slotReloadFile"
QT_MOC_LITERAL(32, 458, 14), // "slotImportFile"
QT_MOC_LITERAL(33, 473, 14), // "slotExportFile"
QT_MOC_LITERAL(34, 488, 19), // "slotEncryptDocument"
QT_MOC_LITERAL(35, 508, 19), // "slotUncompressToDir"
QT_MOC_LITERAL(36, 528, 12), // "slotProgress"
QT_MOC_LITERAL(37, 541, 5), // "value"
QT_MOC_LITERAL(38, 547, 23), // "toggleDockersVisibility"
QT_MOC_LITERAL(39, 571, 7), // "visible"
QT_MOC_LITERAL(40, 579, 12), // "saveDocument"
QT_MOC_LITERAL(41, 592, 6), // "saveas"
QT_MOC_LITERAL(42, 599, 6), // "silent"
QT_MOC_LITERAL(43, 606, 17), // "specialOutputFlag"
QT_MOC_LITERAL(44, 624, 15), // "saveRecentFiles"
QT_MOC_LITERAL(45, 640, 17), // "slotLoadCompleted"
QT_MOC_LITERAL(46, 658, 16), // "slotLoadCanceled"
QT_MOC_LITERAL(47, 675, 17), // "slotSaveCompleted"
QT_MOC_LITERAL(48, 693, 16), // "slotSaveCanceled"
QT_MOC_LITERAL(49, 710, 17), // "forceDockTabFonts"
QT_MOC_LITERAL(50, 728, 7), // "newView"
QT_MOC_LITERAL(51, 736, 19), // "slotWidgetDestroyed"
QT_MOC_LITERAL(52, 756, 25), // "slotDocumentTitleModified"
QT_MOC_LITERAL(53, 782, 7), // "caption"
QT_MOC_LITERAL(54, 790, 3) // "mod"

    },
    "KoMainWindow\0documentSaved\0\0saveDialogShown\0"
    "restoringDone\0loadCompleted\0themeChanged\0"
    "keyBindingsChanged\0slotEmailFile\0"
    "slotFileNew\0slotFileOpen\0slotFileOpenRecent\0"
    "slotFileSave\0slotFileSaveAs\0slotFilePrint\0"
    "slotFilePrintPreview\0exportToPdf\0"
    "KoPrintJob*\0pdfFileName\0slotDocumentInfo\0"
    "slotFileClose\0slotFileQuit\0slotConfigureKeys\0"
    "slotConfigureToolbars\0slotNewToolbarConfig\0"
    "slotToolbarToggled\0toggle\0viewFullscreen\0"
    "fullScreen\0showDockerTitleBars\0show\0"
    "slotReloadFile\0slotImportFile\0"
    "slotExportFile\0slotEncryptDocument\0"
    "slotUncompressToDir\0slotProgress\0value\0"
    "toggleDockersVisibility\0visible\0"
    "saveDocument\0saveas\0silent\0specialOutputFlag\0"
    "saveRecentFiles\0slotLoadCompleted\0"
    "slotLoadCanceled\0slotSaveCompleted\0"
    "slotSaveCanceled\0forceDockTabFonts\0"
    "newView\0slotWidgetDestroyed\0"
    "slotDocumentTitleModified\0caption\0mod"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KoMainWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  239,    2, 0x06 /* Public */,
       3,    0,  240,    2, 0x06 /* Public */,
       4,    0,  241,    2, 0x06 /* Public */,
       5,    0,  242,    2, 0x06 /* Public */,
       6,    0,  243,    2, 0x06 /* Public */,
       7,    0,  244,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  245,    2, 0x0a /* Public */,
       9,    0,  246,    2, 0x0a /* Public */,
      10,    0,  247,    2, 0x0a /* Public */,
      11,    1,  248,    2, 0x0a /* Public */,
      12,    0,  251,    2, 0x0a /* Public */,
      13,    0,  252,    2, 0x0a /* Public */,
      14,    0,  253,    2, 0x0a /* Public */,
      15,    0,  254,    2, 0x0a /* Public */,
      16,    1,  255,    2, 0x0a /* Public */,
      16,    0,  258,    2, 0x2a /* Public | MethodCloned */,
      19,    0,  259,    2, 0x0a /* Public */,
      20,    0,  260,    2, 0x0a /* Public */,
      21,    0,  261,    2, 0x0a /* Public */,
      22,    0,  262,    2, 0x0a /* Public */,
      23,    0,  263,    2, 0x0a /* Public */,
      24,    0,  264,    2, 0x0a /* Public */,
      25,    1,  265,    2, 0x0a /* Public */,
      27,    1,  268,    2, 0x0a /* Public */,
      29,    1,  271,    2, 0x0a /* Public */,
      31,    0,  274,    2, 0x0a /* Public */,
      32,    0,  275,    2, 0x0a /* Public */,
      33,    0,  276,    2, 0x0a /* Public */,
      34,    0,  277,    2, 0x0a /* Public */,
      35,    0,  278,    2, 0x0a /* Public */,
      36,    1,  279,    2, 0x0a /* Public */,
      38,    1,  282,    2, 0x0a /* Public */,
      40,    3,  285,    2, 0x0a /* Public */,
      40,    2,  292,    2, 0x2a /* Public | MethodCloned */,
      40,    1,  297,    2, 0x2a /* Public | MethodCloned */,
      40,    0,  300,    2, 0x2a /* Public | MethodCloned */,
      44,    0,  301,    2, 0x08 /* Private */,
      45,    0,  302,    2, 0x08 /* Private */,
      46,    1,  303,    2, 0x08 /* Private */,
      47,    0,  306,    2, 0x08 /* Private */,
      48,    1,  307,    2, 0x08 /* Private */,
      49,    0,  310,    2, 0x08 /* Private */,
      50,    0,  311,    2, 0x08 /* Private */,
      51,    0,  312,    2, 0x08 /* Private */,
      52,    2,  313,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    0x80000000 | 17, QMetaType::QString,   18,
    0x80000000 | 17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   26,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, QMetaType::Bool,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   37,
    QMetaType::Void, QMetaType::Bool,   39,
    QMetaType::Bool, QMetaType::Bool, QMetaType::Bool, QMetaType::Int,   41,   42,   43,
    QMetaType::Bool, QMetaType::Bool, QMetaType::Bool,   41,   42,
    QMetaType::Bool, QMetaType::Bool,   41,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   53,   54,

       0        // eod
};

void KoMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KoMainWindow *_t = static_cast<KoMainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->documentSaved(); break;
        case 1: _t->saveDialogShown(); break;
        case 2: _t->restoringDone(); break;
        case 3: _t->loadCompleted(); break;
        case 4: _t->themeChanged(); break;
        case 5: _t->keyBindingsChanged(); break;
        case 6: _t->slotEmailFile(); break;
        case 7: _t->slotFileNew(); break;
        case 8: _t->slotFileOpen(); break;
        case 9: _t->slotFileOpenRecent((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 10: _t->slotFileSave(); break;
        case 11: _t->slotFileSaveAs(); break;
        case 12: _t->slotFilePrint(); break;
        case 13: _t->slotFilePrintPreview(); break;
        case 14: { KoPrintJob* _r = _t->exportToPdf((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< KoPrintJob**>(_a[0]) = std::move(_r); }  break;
        case 15: { KoPrintJob* _r = _t->exportToPdf();
            if (_a[0]) *reinterpret_cast< KoPrintJob**>(_a[0]) = std::move(_r); }  break;
        case 16: _t->slotDocumentInfo(); break;
        case 17: _t->slotFileClose(); break;
        case 18: _t->slotFileQuit(); break;
        case 19: _t->slotConfigureKeys(); break;
        case 20: _t->slotConfigureToolbars(); break;
        case 21: _t->slotNewToolbarConfig(); break;
        case 22: _t->slotToolbarToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 23: _t->viewFullscreen((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 24: _t->showDockerTitleBars((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->slotReloadFile(); break;
        case 26: _t->slotImportFile(); break;
        case 27: _t->slotExportFile(); break;
        case 28: _t->slotEncryptDocument(); break;
        case 29: _t->slotUncompressToDir(); break;
        case 30: _t->slotProgress((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 31: _t->toggleDockersVisibility((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 32: { bool _r = _t->saveDocument((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 33: { bool _r = _t->saveDocument((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 34: { bool _r = _t->saveDocument((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 35: { bool _r = _t->saveDocument();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 36: _t->saveRecentFiles(); break;
        case 37: _t->slotLoadCompleted(); break;
        case 38: _t->slotLoadCanceled((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 39: _t->slotSaveCompleted(); break;
        case 40: _t->slotSaveCanceled((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 41: _t->forceDockTabFonts(); break;
        case 42: _t->newView(); break;
        case 43: _t->slotWidgetDestroyed(); break;
        case 44: _t->slotDocumentTitleModified((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KoMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoMainWindow::documentSaved)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KoMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoMainWindow::saveDialogShown)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KoMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoMainWindow::restoringDone)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KoMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoMainWindow::loadCompleted)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KoMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoMainWindow::themeChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KoMainWindow::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KoMainWindow::keyBindingsChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject KoMainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_KoMainWindow.data,
      qt_meta_data_KoMainWindow,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KoMainWindow::saveDialogShown()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KoMainWindow::restoringDone()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KoMainWindow::loadCompleted()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KoMainWindow::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KoMainWindow::keyBindingsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
