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

#include "../../src/qpdfview-0.4.16/sources/presentationview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'presentationview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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_qpdfview__PresentationView_t {
    QByteArrayData data[36];
    char stringdata0[446];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_qpdfview__PresentationView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_qpdfview__PresentationView_t qt_meta_stringdata_qpdfview__PresentationView = {
    {
QT_MOC_LITERAL(0, 0, 26), // "qpdfview::PresentationView"
QT_MOC_LITERAL(1, 27, 18), // "currentPageChanged"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 11), // "currentPage"
QT_MOC_LITERAL(4, 59, 11), // "trackChange"
QT_MOC_LITERAL(5, 71, 16), // "scaleModeChanged"
QT_MOC_LITERAL(6, 88, 9), // "ScaleMode"
QT_MOC_LITERAL(7, 98, 9), // "scaleMode"
QT_MOC_LITERAL(8, 108, 18), // "scaleFactorChanged"
QT_MOC_LITERAL(9, 127, 11), // "scaleFactor"
QT_MOC_LITERAL(10, 139, 15), // "rotationChanged"
QT_MOC_LITERAL(11, 155, 8), // "Rotation"
QT_MOC_LITERAL(12, 164, 8), // "rotation"
QT_MOC_LITERAL(13, 173, 18), // "renderFlagsChanged"
QT_MOC_LITERAL(14, 192, 21), // "qpdfview::RenderFlags"
QT_MOC_LITERAL(15, 214, 11), // "renderFlags"
QT_MOC_LITERAL(16, 226, 4), // "show"
QT_MOC_LITERAL(17, 231, 12), // "previousPage"
QT_MOC_LITERAL(18, 244, 8), // "nextPage"
QT_MOC_LITERAL(19, 253, 9), // "firstPage"
QT_MOC_LITERAL(20, 263, 8), // "lastPage"
QT_MOC_LITERAL(21, 272, 10), // "jumpToPage"
QT_MOC_LITERAL(22, 283, 4), // "page"
QT_MOC_LITERAL(23, 288, 12), // "jumpBackward"
QT_MOC_LITERAL(24, 301, 11), // "jumpForward"
QT_MOC_LITERAL(25, 313, 6), // "zoomIn"
QT_MOC_LITERAL(26, 320, 7), // "zoomOut"
QT_MOC_LITERAL(27, 328, 12), // "originalSize"
QT_MOC_LITERAL(28, 341, 10), // "rotateLeft"
QT_MOC_LITERAL(29, 352, 11), // "rotateRight"
QT_MOC_LITERAL(30, 364, 19), // "on_prefetch_timeout"
QT_MOC_LITERAL(31, 384, 24), // "on_pages_cropRectChanged"
QT_MOC_LITERAL(32, 409, 20), // "on_pages_linkClicked"
QT_MOC_LITERAL(33, 430, 6), // "newTab"
QT_MOC_LITERAL(34, 437, 4), // "left"
QT_MOC_LITERAL(35, 442, 3) // "top"

    },
    "qpdfview::PresentationView\0"
    "currentPageChanged\0\0currentPage\0"
    "trackChange\0scaleModeChanged\0ScaleMode\0"
    "scaleMode\0scaleFactorChanged\0scaleFactor\0"
    "rotationChanged\0Rotation\0rotation\0"
    "renderFlagsChanged\0qpdfview::RenderFlags\0"
    "renderFlags\0show\0previousPage\0nextPage\0"
    "firstPage\0lastPage\0jumpToPage\0page\0"
    "jumpBackward\0jumpForward\0zoomIn\0zoomOut\0"
    "originalSize\0rotateLeft\0rotateRight\0"
    "on_prefetch_timeout\0on_pages_cropRectChanged\0"
    "on_pages_linkClicked\0newTab\0left\0top"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_qpdfview__PresentationView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  129,    2, 0x06 /* Public */,
       1,    1,  134,    2, 0x26 /* Public | MethodCloned */,
       5,    1,  137,    2, 0x06 /* Public */,
       8,    1,  140,    2, 0x06 /* Public */,
      10,    1,  143,    2, 0x06 /* Public */,
      13,    1,  146,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  149,    2, 0x0a /* Public */,
      17,    0,  150,    2, 0x0a /* Public */,
      18,    0,  151,    2, 0x0a /* Public */,
      19,    0,  152,    2, 0x0a /* Public */,
      20,    0,  153,    2, 0x0a /* Public */,
      21,    2,  154,    2, 0x0a /* Public */,
      21,    1,  159,    2, 0x2a /* Public | MethodCloned */,
      23,    0,  162,    2, 0x0a /* Public */,
      24,    0,  163,    2, 0x0a /* Public */,
      25,    0,  164,    2, 0x0a /* Public */,
      26,    0,  165,    2, 0x0a /* Public */,
      27,    0,  166,    2, 0x0a /* Public */,
      28,    0,  167,    2, 0x0a /* Public */,
      29,    0,  168,    2, 0x0a /* Public */,
      30,    0,  169,    2, 0x09 /* Protected */,
      31,    0,  170,    2, 0x09 /* Protected */,
      32,    4,  171,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::QReal,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 14,   15,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   22,    4,
    QMetaType::Void, QMetaType::Int,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::Int, QMetaType::QReal, QMetaType::QReal,   33,   22,   34,   35,

       0        // eod
};

void qpdfview::PresentationView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PresentationView *_t = static_cast<PresentationView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentPageChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->currentPageChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->scaleModeChanged((*reinterpret_cast< ScaleMode(*)>(_a[1]))); break;
        case 3: _t->scaleFactorChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 4: _t->rotationChanged((*reinterpret_cast< Rotation(*)>(_a[1]))); break;
        case 5: _t->renderFlagsChanged((*reinterpret_cast< qpdfview::RenderFlags(*)>(_a[1]))); break;
        case 6: _t->show(); break;
        case 7: _t->previousPage(); break;
        case 8: _t->nextPage(); break;
        case 9: _t->firstPage(); break;
        case 10: _t->lastPage(); break;
        case 11: _t->jumpToPage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 12: _t->jumpToPage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->jumpBackward(); break;
        case 14: _t->jumpForward(); break;
        case 15: _t->zoomIn(); break;
        case 16: _t->zoomOut(); break;
        case 17: _t->originalSize(); break;
        case 18: _t->rotateLeft(); break;
        case 19: _t->rotateRight(); break;
        case 20: _t->on_prefetch_timeout(); break;
        case 21: _t->on_pages_cropRectChanged(); break;
        case 22: _t->on_pages_linkClicked((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PresentationView::*_t)(int , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::currentPageChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (PresentationView::*_t)(ScaleMode );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::scaleModeChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (PresentationView::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::scaleFactorChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (PresentationView::*_t)(Rotation );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::rotationChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (PresentationView::*_t)(qpdfview::RenderFlags );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PresentationView::renderFlagsChanged)) {
                *result = 5;
            }
        }
    }
}

const QMetaObject qpdfview::PresentationView::staticMetaObject = {
    { &QGraphicsView::staticMetaObject, qt_meta_stringdata_qpdfview__PresentationView.data,
      qt_meta_data_qpdfview__PresentationView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *qpdfview::PresentationView::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_qpdfview__PresentationView.stringdata0))
        return static_cast<void*>(const_cast< PresentationView*>(this));
    return QGraphicsView::qt_metacast(_clname);
}

int qpdfview::PresentationView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsView::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 23;
    }
    return _id;
}

// SIGNAL 0
void qpdfview::PresentationView::currentPageChanged(int _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, 0, _a);
}

// SIGNAL 2
void qpdfview::PresentationView::scaleModeChanged(ScaleMode _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void qpdfview::PresentationView::scaleFactorChanged(qreal _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void qpdfview::PresentationView::rotationChanged(Rotation _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void qpdfview::PresentationView::renderFlagsChanged(qpdfview::RenderFlags _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
