/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.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/gwenview-17.08.3/app/mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.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_Gwenview__MainWindow_t {
    QByteArrayData data[47];
    char stringdata0[734];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Gwenview__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Gwenview__MainWindow_t qt_meta_stringdata_Gwenview__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Gwenview::MainWindow"
QT_MOC_LITERAL(1, 21, 15), // "viewModeChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 17), // "showStartMainPage"
QT_MOC_LITERAL(4, 56, 7), // "goToUrl"
QT_MOC_LITERAL(5, 64, 10), // "setCaption"
QT_MOC_LITERAL(6, 75, 8), // "modified"
QT_MOC_LITERAL(7, 84, 23), // "setActiveViewModeAction"
QT_MOC_LITERAL(8, 108, 8), // "QAction*"
QT_MOC_LITERAL(9, 117, 6), // "action"
QT_MOC_LITERAL(10, 124, 10), // "openDirUrl"
QT_MOC_LITERAL(11, 135, 31), // "slotThumbnailViewIndexActivated"
QT_MOC_LITERAL(12, 167, 28), // "slotStartMainPageUrlSelected"
QT_MOC_LITERAL(13, 196, 4), // "goUp"
QT_MOC_LITERAL(14, 201, 13), // "toggleSideBar"
QT_MOC_LITERAL(15, 215, 7), // "visible"
QT_MOC_LITERAL(16, 223, 25), // "updateToggleSideBarAction"
QT_MOC_LITERAL(17, 249, 31), // "slotModifiedDocumentListChanged"
QT_MOC_LITERAL(18, 281, 17), // "slotPartCompleted"
QT_MOC_LITERAL(19, 299, 20), // "slotDirModelNewItems"
QT_MOC_LITERAL(20, 320, 22), // "slotDirListerCompleted"
QT_MOC_LITERAL(21, 343, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(22, 364, 24), // "slotCurrentDirUrlChanged"
QT_MOC_LITERAL(23, 389, 3), // "url"
QT_MOC_LITERAL(24, 393, 12), // "goToPrevious"
QT_MOC_LITERAL(25, 406, 8), // "goToNext"
QT_MOC_LITERAL(26, 415, 9), // "goToFirst"
QT_MOC_LITERAL(27, 425, 8), // "goToLast"
QT_MOC_LITERAL(28, 434, 25), // "updatePreviousNextActions"
QT_MOC_LITERAL(29, 460, 15), // "leaveFullScreen"
QT_MOC_LITERAL(30, 476, 16), // "toggleFullScreen"
QT_MOC_LITERAL(31, 493, 15), // "toggleSlideShow"
QT_MOC_LITERAL(32, 509, 21), // "updateSlideShowAction"
QT_MOC_LITERAL(33, 531, 11), // "saveCurrent"
QT_MOC_LITERAL(34, 543, 13), // "saveCurrentAs"
QT_MOC_LITERAL(35, 557, 8), // "openFile"
QT_MOC_LITERAL(36, 566, 7), // "openUrl"
QT_MOC_LITERAL(37, 574, 6), // "reload"
QT_MOC_LITERAL(38, 581, 24), // "showDocumentInFullScreen"
QT_MOC_LITERAL(39, 606, 16), // "showConfigDialog"
QT_MOC_LITERAL(40, 623, 10), // "loadConfig"
QT_MOC_LITERAL(41, 634, 5), // "print"
QT_MOC_LITERAL(42, 640, 14), // "preloadNextUrl"
QT_MOC_LITERAL(43, 655, 13), // "toggleMenuBar"
QT_MOC_LITERAL(44, 669, 15), // "toggleStatusBar"
QT_MOC_LITERAL(45, 685, 24), // "showFirstDocumentReached"
QT_MOC_LITERAL(46, 710, 23) // "showLastDocumentReached"

    },
    "Gwenview::MainWindow\0viewModeChanged\0"
    "\0showStartMainPage\0goToUrl\0setCaption\0"
    "modified\0setActiveViewModeAction\0"
    "QAction*\0action\0openDirUrl\0"
    "slotThumbnailViewIndexActivated\0"
    "slotStartMainPageUrlSelected\0goUp\0"
    "toggleSideBar\0visible\0updateToggleSideBarAction\0"
    "slotModifiedDocumentListChanged\0"
    "slotPartCompleted\0slotDirModelNewItems\0"
    "slotDirListerCompleted\0slotSelectionChanged\0"
    "slotCurrentDirUrlChanged\0url\0goToPrevious\0"
    "goToNext\0goToFirst\0goToLast\0"
    "updatePreviousNextActions\0leaveFullScreen\0"
    "toggleFullScreen\0toggleSlideShow\0"
    "updateSlideShowAction\0saveCurrent\0"
    "saveCurrentAs\0openFile\0openUrl\0reload\0"
    "showDocumentInFullScreen\0showConfigDialog\0"
    "loadConfig\0print\0preloadNextUrl\0"
    "toggleMenuBar\0toggleStatusBar\0"
    "showFirstDocumentReached\0"
    "showLastDocumentReached"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Gwenview__MainWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  219,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,  220,    2, 0x0a /* Public */,
       4,    1,  221,    2, 0x0a /* Public */,
       5,    1,  224,    2, 0x0a /* Public */,
       5,    2,  227,    2, 0x0a /* Public */,
       7,    1,  232,    2, 0x08 /* Private */,
      10,    1,  235,    2, 0x08 /* Private */,
      11,    1,  238,    2, 0x08 /* Private */,
      12,    1,  241,    2, 0x08 /* Private */,
      13,    0,  244,    2, 0x08 /* Private */,
      14,    1,  245,    2, 0x08 /* Private */,
      16,    0,  248,    2, 0x08 /* Private */,
      17,    0,  249,    2, 0x08 /* Private */,
      18,    0,  250,    2, 0x08 /* Private */,
      19,    0,  251,    2, 0x08 /* Private */,
      20,    0,  252,    2, 0x08 /* Private */,
      21,    0,  253,    2, 0x08 /* Private */,
      22,    1,  254,    2, 0x08 /* Private */,
      24,    0,  257,    2, 0x08 /* Private */,
      25,    0,  258,    2, 0x08 /* Private */,
      26,    0,  259,    2, 0x08 /* Private */,
      27,    0,  260,    2, 0x08 /* Private */,
      28,    0,  261,    2, 0x08 /* Private */,
      29,    0,  262,    2, 0x08 /* Private */,
      30,    1,  263,    2, 0x08 /* Private */,
      31,    0,  266,    2, 0x08 /* Private */,
      32,    0,  267,    2, 0x08 /* Private */,
      33,    0,  268,    2, 0x08 /* Private */,
      34,    0,  269,    2, 0x08 /* Private */,
      35,    0,  270,    2, 0x08 /* Private */,
      36,    1,  271,    2, 0x08 /* Private */,
      37,    0,  274,    2, 0x08 /* Private */,
      38,    1,  275,    2, 0x08 /* Private */,
      39,    0,  278,    2, 0x08 /* Private */,
      40,    0,  279,    2, 0x08 /* Private */,
      41,    0,  280,    2, 0x08 /* Private */,
      42,    0,  281,    2, 0x08 /* Private */,
      43,    0,  282,    2, 0x08 /* Private */,
      44,    0,  283,    2, 0x08 /* Private */,
      45,    0,  284,    2, 0x08 /* Private */,
      46,    0,  285,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    2,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   23,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Gwenview::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainWindow *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->viewModeChanged(); break;
        case 1: _t->showStartMainPage(); break;
        case 2: _t->goToUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->setCaption((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setCaption((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 5: _t->setActiveViewModeAction((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 6: _t->openDirUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 7: _t->slotThumbnailViewIndexActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 8: _t->slotStartMainPageUrlSelected((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 9: _t->goUp(); break;
        case 10: _t->toggleSideBar((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->updateToggleSideBarAction(); break;
        case 12: _t->slotModifiedDocumentListChanged(); break;
        case 13: _t->slotPartCompleted(); break;
        case 14: _t->slotDirModelNewItems(); break;
        case 15: _t->slotDirListerCompleted(); break;
        case 16: _t->slotSelectionChanged(); break;
        case 17: _t->slotCurrentDirUrlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 18: _t->goToPrevious(); break;
        case 19: _t->goToNext(); break;
        case 20: _t->goToFirst(); break;
        case 21: _t->goToLast(); break;
        case 22: _t->updatePreviousNextActions(); break;
        case 23: _t->leaveFullScreen(); break;
        case 24: _t->toggleFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->toggleSlideShow(); break;
        case 26: _t->updateSlideShowAction(); break;
        case 27: _t->saveCurrent(); break;
        case 28: _t->saveCurrentAs(); break;
        case 29: _t->openFile(); break;
        case 30: _t->openUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 31: _t->reload(); break;
        case 32: _t->showDocumentInFullScreen((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 33: _t->showConfigDialog(); break;
        case 34: _t->loadConfig(); break;
        case 35: _t->print(); break;
        case 36: _t->preloadNextUrl(); break;
        case 37: _t->toggleMenuBar(); break;
        case 38: _t->toggleStatusBar(); break;
        case 39: _t->showFirstDocumentReached(); break;
        case 40: _t->showLastDocumentReached(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MainWindow::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::viewModeChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Gwenview::MainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_Gwenview__MainWindow.data,
      qt_meta_data_Gwenview__MainWindow,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Gwenview::MainWindow::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 < 41)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 41;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 41)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 41;
    }
    return _id;
}

// SIGNAL 0
void Gwenview::MainWindow::viewModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
