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

#include "../../src/gwenview-17.04.3/lib/document/document.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'document.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_Gwenview__Document_t {
    QByteArrayData data[23];
    char stringdata0[304];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Gwenview__Document_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Gwenview__Document_t qt_meta_stringdata_Gwenview__Document = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Gwenview::Document"
QT_MOC_LITERAL(1, 19, 21), // "downSampledImageReady"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 16), // "imageRectUpdated"
QT_MOC_LITERAL(4, 59, 14), // "kindDetermined"
QT_MOC_LITERAL(5, 74, 14), // "metaInfoLoaded"
QT_MOC_LITERAL(6, 89, 6), // "loaded"
QT_MOC_LITERAL(7, 96, 13), // "loadingFailed"
QT_MOC_LITERAL(8, 110, 5), // "saved"
QT_MOC_LITERAL(9, 116, 6), // "oldUrl"
QT_MOC_LITERAL(10, 123, 6), // "newUrl"
QT_MOC_LITERAL(11, 130, 8), // "modified"
QT_MOC_LITERAL(12, 139, 15), // "metaInfoUpdated"
QT_MOC_LITERAL(13, 155, 17), // "isAnimatedUpdated"
QT_MOC_LITERAL(14, 173, 11), // "busyChanged"
QT_MOC_LITERAL(15, 185, 12), // "allTasksDone"
QT_MOC_LITERAL(16, 198, 18), // "emitMetaInfoLoaded"
QT_MOC_LITERAL(17, 217, 10), // "emitLoaded"
QT_MOC_LITERAL(18, 228, 17), // "emitLoadingFailed"
QT_MOC_LITERAL(19, 246, 20), // "slotUndoIndexChanged"
QT_MOC_LITERAL(20, 267, 14), // "slotSaveResult"
QT_MOC_LITERAL(21, 282, 5), // "KJob*"
QT_MOC_LITERAL(22, 288, 15) // "slotJobFinished"

    },
    "Gwenview::Document\0downSampledImageReady\0"
    "\0imageRectUpdated\0kindDetermined\0"
    "metaInfoLoaded\0loaded\0loadingFailed\0"
    "saved\0oldUrl\0newUrl\0modified\0"
    "metaInfoUpdated\0isAnimatedUpdated\0"
    "busyChanged\0allTasksDone\0emitMetaInfoLoaded\0"
    "emitLoaded\0emitLoadingFailed\0"
    "slotUndoIndexChanged\0slotSaveResult\0"
    "KJob*\0slotJobFinished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Gwenview__Document[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    1,  105,    2, 0x06 /* Public */,
       4,    1,  108,    2, 0x06 /* Public */,
       5,    1,  111,    2, 0x06 /* Public */,
       6,    1,  114,    2, 0x06 /* Public */,
       7,    1,  117,    2, 0x06 /* Public */,
       8,    2,  120,    2, 0x06 /* Public */,
      11,    1,  125,    2, 0x06 /* Public */,
      12,    0,  128,    2, 0x06 /* Public */,
      13,    0,  129,    2, 0x06 /* Public */,
      14,    2,  130,    2, 0x06 /* Public */,
      15,    0,  135,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  136,    2, 0x08 /* Private */,
      17,    0,  137,    2, 0x08 /* Private */,
      18,    0,  138,    2, 0x08 /* Private */,
      19,    0,  139,    2, 0x08 /* Private */,
      20,    1,  140,    2, 0x08 /* Private */,
      22,    1,  143,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect,    2,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QUrl,    9,   10,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl, QMetaType::Bool,    2,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21,    2,
    QMetaType::Void, 0x80000000 | 21,    2,

       0        // eod
};

void Gwenview::Document::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Document *_t = static_cast<Document *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->downSampledImageReady(); break;
        case 1: _t->imageRectUpdated((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 2: _t->kindDetermined((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->metaInfoLoaded((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->loaded((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 5: _t->loadingFailed((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 6: _t->saved((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 7: _t->modified((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 8: _t->metaInfoUpdated(); break;
        case 9: _t->isAnimatedUpdated(); break;
        case 10: _t->busyChanged((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 11: _t->allTasksDone(); break;
        case 12: _t->emitMetaInfoLoaded(); break;
        case 13: _t->emitLoaded(); break;
        case 14: _t->emitLoadingFailed(); break;
        case 15: _t->slotUndoIndexChanged(); break;
        case 16: _t->slotSaveResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 17: _t->slotJobFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Document::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::downSampledImageReady)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QRect & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::imageRectUpdated)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::kindDetermined)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::metaInfoLoaded)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::loaded)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::loadingFailed)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QUrl & , const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::saved)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::modified)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Document::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::metaInfoUpdated)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Document::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::isAnimatedUpdated)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Document::*_t)(const QUrl & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::busyChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (Document::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Document::allTasksDone)) {
                *result = 11;
                return;
            }
        }
    }
}

const QMetaObject Gwenview::Document::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Gwenview__Document.data,
      qt_meta_data_Gwenview__Document,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Gwenview::Document::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Gwenview__Document.stringdata0))
        return static_cast<void*>(const_cast< Document*>(this));
    if (!strcmp(_clname, "QSharedData"))
        return static_cast< QSharedData*>(const_cast< Document*>(this));
    return QObject::qt_metacast(_clname);
}

int Gwenview::Document::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void Gwenview::Document::downSampledImageReady()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Gwenview::Document::imageRectUpdated(const QRect & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Gwenview::Document::kindDetermined(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Gwenview::Document::metaInfoLoaded(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Gwenview::Document::loaded(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Gwenview::Document::loadingFailed(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Gwenview::Document::saved(const QUrl & _t1, const QUrl & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Gwenview::Document::modified(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Gwenview::Document::metaInfoUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void Gwenview::Document::isAnimatedUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}

// SIGNAL 10
void Gwenview::Document::busyChanged(const QUrl & _t1, bool _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Gwenview::Document::allTasksDone()
{
    QMetaObject::activate(this, &staticMetaObject, 11, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
