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

#include <memory>
#include "../../../../okular-23.08.5/shell/shell.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'shell.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_Shell_t {
    QByteArrayData data[48];
    char stringdata0[577];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Shell_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Shell_t qt_meta_stringdata_Shell = {
    {
QT_MOC_LITERAL(0, 0, 5), // "Shell"
QT_MOC_LITERAL(1, 6, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 22, 14), // "org.kde.okular"
QT_MOC_LITERAL(3, 37, 12), // "moveSplitter"
QT_MOC_LITERAL(4, 50, 0), // ""
QT_MOC_LITERAL(5, 51, 14), // "sideWidgetSize"
QT_MOC_LITERAL(6, 66, 8), // "tryRaise"
QT_MOC_LITERAL(7, 75, 9), // "Q_NOREPLY"
QT_MOC_LITERAL(8, 85, 9), // "startupId"
QT_MOC_LITERAL(9, 95, 12), // "openDocument"
QT_MOC_LITERAL(10, 108, 9), // "urlString"
QT_MOC_LITERAL(11, 118, 17), // "serializedOptions"
QT_MOC_LITERAL(12, 136, 11), // "canOpenDocs"
QT_MOC_LITERAL(13, 148, 7), // "numDocs"
QT_MOC_LITERAL(14, 156, 7), // "desktop"
QT_MOC_LITERAL(15, 164, 8), // "fileOpen"
QT_MOC_LITERAL(16, 173, 20), // "slotUpdateFullScreen"
QT_MOC_LITERAL(17, 194, 15), // "slotShowMenubar"
QT_MOC_LITERAL(18, 210, 7), // "openUrl"
QT_MOC_LITERAL(19, 218, 3), // "url"
QT_MOC_LITERAL(20, 222, 18), // "showOpenRecentMenu"
QT_MOC_LITERAL(21, 241, 8), // "closeUrl"
QT_MOC_LITERAL(22, 250, 5), // "print"
QT_MOC_LITERAL(23, 256, 15), // "setPrintEnabled"
QT_MOC_LITERAL(24, 272, 7), // "enabled"
QT_MOC_LITERAL(25, 280, 15), // "setCloseEnabled"
QT_MOC_LITERAL(26, 296, 10), // "setTabIcon"
QT_MOC_LITERAL(27, 307, 9), // "QMimeType"
QT_MOC_LITERAL(28, 317, 8), // "mimeType"
QT_MOC_LITERAL(29, 326, 17), // "handleDroppedUrls"
QT_MOC_LITERAL(30, 344, 11), // "QList<QUrl>"
QT_MOC_LITERAL(31, 356, 4), // "urls"
QT_MOC_LITERAL(32, 361, 12), // "setActiveTab"
QT_MOC_LITERAL(33, 374, 3), // "tab"
QT_MOC_LITERAL(34, 378, 8), // "closeTab"
QT_MOC_LITERAL(35, 387, 15), // "activateNextTab"
QT_MOC_LITERAL(36, 403, 15), // "activatePrevTab"
QT_MOC_LITERAL(37, 419, 12), // "undoCloseTab"
QT_MOC_LITERAL(38, 432, 11), // "moveTabData"
QT_MOC_LITERAL(39, 444, 4), // "from"
QT_MOC_LITERAL(40, 449, 2), // "to"
QT_MOC_LITERAL(41, 452, 19), // "slotFitWindowToPage"
QT_MOC_LITERAL(42, 472, 12), // "pageViewSize"
QT_MOC_LITERAL(43, 485, 8), // "pageSize"
QT_MOC_LITERAL(44, 494, 17), // "hideWelcomeScreen"
QT_MOC_LITERAL(45, 512, 17), // "showWelcomeScreen"
QT_MOC_LITERAL(46, 530, 29), // "refreshRecentsOnWelcomeScreen"
QT_MOC_LITERAL(47, 560, 16) // "forgetRecentItem"

    },
    "Shell\0D-Bus Interface\0org.kde.okular\0"
    "moveSplitter\0\0sideWidgetSize\0tryRaise\0"
    "Q_NOREPLY\0startupId\0openDocument\0"
    "urlString\0serializedOptions\0canOpenDocs\0"
    "numDocs\0desktop\0fileOpen\0slotUpdateFullScreen\0"
    "slotShowMenubar\0openUrl\0url\0"
    "showOpenRecentMenu\0closeUrl\0print\0"
    "setPrintEnabled\0enabled\0setCloseEnabled\0"
    "setTabIcon\0QMimeType\0mimeType\0"
    "handleDroppedUrls\0QList<QUrl>\0urls\0"
    "setActiveTab\0tab\0closeTab\0activateNextTab\0"
    "activatePrevTab\0undoCloseTab\0moveTabData\0"
    "from\0to\0slotFitWindowToPage\0pageViewSize\0"
    "pageSize\0hideWelcomeScreen\0showWelcomeScreen\0"
    "refreshRecentsOnWelcomeScreen\0"
    "forgetRecentItem"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Shell[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      28,   16, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,  156,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  159,    7, 0x4a /* Public | isScriptable */,
       9,    2,  162,    4, 0x4a /* Public | isScriptable */,
       9,    1,  167,    4, 0x6a /* Public | MethodCloned | isScriptable */,
      12,    2,  170,    4, 0x4a /* Public | isScriptable */,
      15,    0,  175,    4, 0x08 /* Private */,
      16,    0,  176,    4, 0x08 /* Private */,
      17,    0,  177,    4, 0x08 /* Private */,
      18,    2,  178,    4, 0x08 /* Private */,
      18,    1,  183,    4, 0x28 /* Private | MethodCloned */,
      20,    0,  186,    4, 0x08 /* Private */,
      21,    0,  187,    4, 0x08 /* Private */,
      22,    0,  188,    4, 0x08 /* Private */,
      23,    1,  189,    4, 0x08 /* Private */,
      25,    1,  192,    4, 0x08 /* Private */,
      26,    1,  195,    4, 0x08 /* Private */,
      29,    1,  198,    4, 0x08 /* Private */,
      32,    1,  201,    4, 0x08 /* Private */,
      34,    1,  204,    4, 0x08 /* Private */,
      35,    0,  207,    4, 0x08 /* Private */,
      36,    0,  208,    4, 0x08 /* Private */,
      37,    0,  209,    4, 0x08 /* Private */,
      38,    2,  210,    4, 0x08 /* Private */,
      41,    2,  215,    4, 0x08 /* Private */,
      44,    0,  220,    4, 0x08 /* Private */,
      45,    0,  221,    4, 0x08 /* Private */,
      46,    0,  222,    4, 0x08 /* Private */,
      47,    1,  223,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    5,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,   10,   11,
    QMetaType::Bool, QMetaType::QString,   10,
    QMetaType::Bool, QMetaType::Int, QMetaType::Int,   13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QString,   19,   11,
    QMetaType::Void, QMetaType::QUrl,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, 0x80000000 | 27,   28,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void, QMetaType::Int,   33,
    QMetaType::Void, QMetaType::Int,   33,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   39,   40,
    QMetaType::Void, QMetaType::QSize, QMetaType::QSize,   42,   43,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   19,

       0        // eod
};

void Shell::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Shell *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->moveSplitter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->tryRaise((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: { bool _r = _t->openDocument((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->openDocument((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: { bool _r = _t->canOpenDocs((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->fileOpen(); break;
        case 6: _t->slotUpdateFullScreen(); break;
        case 7: _t->slotShowMenubar(); break;
        case 8: _t->openUrl((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: _t->openUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 10: _t->showOpenRecentMenu(); break;
        case 11: _t->closeUrl(); break;
        case 12: _t->print(); break;
        case 13: _t->setPrintEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setCloseEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setTabIcon((*reinterpret_cast< const QMimeType(*)>(_a[1]))); break;
        case 16: _t->handleDroppedUrls((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        case 17: _t->setActiveTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->activateNextTab(); break;
        case 20: _t->activatePrevTab(); break;
        case 21: _t->undoCloseTab(); break;
        case 22: _t->moveTabData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 23: _t->slotFitWindowToPage((*reinterpret_cast< const QSize(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2]))); break;
        case 24: _t->hideWelcomeScreen(); break;
        case 25: _t->showWelcomeScreen(); break;
        case 26: _t->refreshRecentsOnWelcomeScreen(); break;
        case 27: _t->forgetRecentItem((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Shell::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Shell::moveSplitter)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Shell::staticMetaObject = { {
    QMetaObject::SuperData::link<KParts::MainWindow::staticMetaObject>(),
    qt_meta_stringdata_Shell.data,
    qt_meta_data_Shell,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Shell::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Shell.stringdata0))
        return static_cast<void*>(this);
    return KParts::MainWindow::qt_metacast(_clname);
}

int Shell::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KParts::MainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    return _id;
}

// SIGNAL 0
void Shell::moveSplitter(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
