/****************************************************************************
** Meta object code from reading C++ file 'shell.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/okular-17.08.3/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.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_Shell_t {
    QByteArrayData data[42];
    char stringdata0[471];
};
#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, 12), // "openDocument"
QT_MOC_LITERAL(9, 98, 9), // "urlString"
QT_MOC_LITERAL(10, 108, 17), // "serializedOptions"
QT_MOC_LITERAL(11, 126, 11), // "canOpenDocs"
QT_MOC_LITERAL(12, 138, 7), // "numDocs"
QT_MOC_LITERAL(13, 146, 7), // "desktop"
QT_MOC_LITERAL(14, 154, 8), // "fileOpen"
QT_MOC_LITERAL(15, 163, 20), // "slotUpdateFullScreen"
QT_MOC_LITERAL(16, 184, 15), // "slotShowMenubar"
QT_MOC_LITERAL(17, 200, 7), // "openUrl"
QT_MOC_LITERAL(18, 208, 3), // "url"
QT_MOC_LITERAL(19, 212, 18), // "showOpenRecentMenu"
QT_MOC_LITERAL(20, 231, 8), // "closeUrl"
QT_MOC_LITERAL(21, 240, 5), // "print"
QT_MOC_LITERAL(22, 246, 15), // "setPrintEnabled"
QT_MOC_LITERAL(23, 262, 7), // "enabled"
QT_MOC_LITERAL(24, 270, 15), // "setCloseEnabled"
QT_MOC_LITERAL(25, 286, 10), // "setTabIcon"
QT_MOC_LITERAL(26, 297, 9), // "QMimeType"
QT_MOC_LITERAL(27, 307, 8), // "mimeType"
QT_MOC_LITERAL(28, 316, 17), // "handleDroppedUrls"
QT_MOC_LITERAL(29, 334, 11), // "QList<QUrl>"
QT_MOC_LITERAL(30, 346, 4), // "urls"
QT_MOC_LITERAL(31, 351, 12), // "setActiveTab"
QT_MOC_LITERAL(32, 364, 3), // "tab"
QT_MOC_LITERAL(33, 368, 8), // "closeTab"
QT_MOC_LITERAL(34, 377, 15), // "activateNextTab"
QT_MOC_LITERAL(35, 393, 15), // "activatePrevTab"
QT_MOC_LITERAL(36, 409, 11), // "moveTabData"
QT_MOC_LITERAL(37, 421, 4), // "from"
QT_MOC_LITERAL(38, 426, 2), // "to"
QT_MOC_LITERAL(39, 429, 19), // "slotFitWindowToPage"
QT_MOC_LITERAL(40, 449, 12), // "pageViewSize"
QT_MOC_LITERAL(41, 462, 8) // "pageSize"

    },
    "Shell\0D-Bus Interface\0org.kde.okular\0"
    "moveSplitter\0\0sideWidgetSize\0tryRaise\0"
    "Q_NOREPLY\0openDocument\0urlString\0"
    "serializedOptions\0canOpenDocs\0numDocs\0"
    "desktop\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\0moveTabData\0from\0to\0"
    "slotFitWindowToPage\0pageViewSize\0"
    "pageSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Shell[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      23,   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,  131,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,  134,    7, 0x4a /* Public | isScriptable */,
       8,    2,  135,    4, 0x4a /* Public | isScriptable */,
       8,    1,  140,    4, 0x6a /* Public | MethodCloned | isScriptable */,
      11,    2,  143,    4, 0x4a /* Public | isScriptable */,
      14,    0,  148,    4, 0x08 /* Private */,
      15,    0,  149,    4, 0x08 /* Private */,
      16,    0,  150,    4, 0x08 /* Private */,
      17,    2,  151,    4, 0x08 /* Private */,
      17,    1,  156,    4, 0x28 /* Private | MethodCloned */,
      19,    0,  159,    4, 0x08 /* Private */,
      20,    0,  160,    4, 0x08 /* Private */,
      21,    0,  161,    4, 0x08 /* Private */,
      22,    1,  162,    4, 0x08 /* Private */,
      24,    1,  165,    4, 0x08 /* Private */,
      25,    1,  168,    4, 0x08 /* Private */,
      28,    1,  171,    4, 0x08 /* Private */,
      31,    1,  174,    4, 0x08 /* Private */,
      33,    1,  177,    4, 0x08 /* Private */,
      34,    0,  180,    4, 0x08 /* Private */,
      35,    0,  181,    4, 0x08 /* Private */,
      36,    2,  182,    4, 0x08 /* Private */,
      39,    2,  187,    4, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    9,   10,
    QMetaType::Bool, QMetaType::QString,    9,
    QMetaType::Bool, QMetaType::Int, QMetaType::Int,   12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QString,   18,   10,
    QMetaType::Void, QMetaType::QUrl,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void, QMetaType::Int,   32,
    QMetaType::Void, QMetaType::Int,   32,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   37,   38,
    QMetaType::Void, QMetaType::QSize, QMetaType::QSize,   40,   41,

       0        // eod
};

void Shell::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Shell *_t = static_cast<Shell *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->moveSplitter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->tryRaise(); 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->moveTabData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 22: _t->slotFitWindowToPage((*reinterpret_cast< const QSize(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2]))); 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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Shell::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Shell::moveSplitter)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Shell::staticMetaObject = {
    { &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 < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}

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