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

#include "../../../src/okular-17.12.3/mobile/components/pageitem.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pageitem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_PageItem_t {
    QByteArrayData data[35];
    char stringdata0[461];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PageItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PageItem_t qt_meta_stringdata_PageItem = {
    {
QT_MOC_LITERAL(0, 0, 8), // "PageItem"
QT_MOC_LITERAL(1, 9, 16), // "flickableChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 20), // "implicitWidthChanged"
QT_MOC_LITERAL(4, 48, 21), // "implicitHeightChanged"
QT_MOC_LITERAL(5, 70, 15), // "documentChanged"
QT_MOC_LITERAL(6, 86, 17), // "pageNumberChanged"
QT_MOC_LITERAL(7, 104, 17), // "bookmarkedChanged"
QT_MOC_LITERAL(8, 122, 16), // "bookmarksChanged"
QT_MOC_LITERAL(9, 139, 13), // "delayedRedraw"
QT_MOC_LITERAL(10, 153, 19), // "documentPathChanged"
QT_MOC_LITERAL(11, 173, 14), // "pageHasChanged"
QT_MOC_LITERAL(12, 188, 4), // "page"
QT_MOC_LITERAL(13, 193, 5), // "flags"
QT_MOC_LITERAL(14, 199, 21), // "checkBookmarksChanged"
QT_MOC_LITERAL(15, 221, 15), // "contentXChanged"
QT_MOC_LITERAL(16, 237, 15), // "contentYChanged"
QT_MOC_LITERAL(17, 253, 12), // "goToBookmark"
QT_MOC_LITERAL(18, 266, 8), // "bookmark"
QT_MOC_LITERAL(19, 275, 16), // "bookmarkPosition"
QT_MOC_LITERAL(20, 292, 16), // "setBookmarkAtPos"
QT_MOC_LITERAL(21, 309, 1), // "x"
QT_MOC_LITERAL(22, 311, 1), // "y"
QT_MOC_LITERAL(23, 313, 19), // "removeBookmarkAtPos"
QT_MOC_LITERAL(24, 333, 14), // "removeBookmark"
QT_MOC_LITERAL(25, 348, 9), // "flickable"
QT_MOC_LITERAL(26, 358, 11), // "QQuickItem*"
QT_MOC_LITERAL(27, 370, 8), // "document"
QT_MOC_LITERAL(28, 379, 13), // "DocumentItem*"
QT_MOC_LITERAL(29, 393, 10), // "pageNumber"
QT_MOC_LITERAL(30, 404, 6), // "smooth"
QT_MOC_LITERAL(31, 411, 13), // "implicitWidth"
QT_MOC_LITERAL(32, 425, 14), // "implicitHeight"
QT_MOC_LITERAL(33, 440, 10), // "bookmarked"
QT_MOC_LITERAL(34, 451, 9) // "bookmarks"

    },
    "PageItem\0flickableChanged\0\0"
    "implicitWidthChanged\0implicitHeightChanged\0"
    "documentChanged\0pageNumberChanged\0"
    "bookmarkedChanged\0bookmarksChanged\0"
    "delayedRedraw\0documentPathChanged\0"
    "pageHasChanged\0page\0flags\0"
    "checkBookmarksChanged\0contentXChanged\0"
    "contentYChanged\0goToBookmark\0bookmark\0"
    "bookmarkPosition\0setBookmarkAtPos\0x\0"
    "y\0removeBookmarkAtPos\0removeBookmark\0"
    "flickable\0QQuickItem*\0document\0"
    "DocumentItem*\0pageNumber\0smooth\0"
    "implicitWidth\0implicitHeight\0bookmarked\0"
    "bookmarks"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PageItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    0,  105,    2, 0x06 /* Public */,
       4,    0,  106,    2, 0x06 /* Public */,
       5,    0,  107,    2, 0x06 /* Public */,
       6,    0,  108,    2, 0x06 /* Public */,
       7,    0,  109,    2, 0x06 /* Public */,
       8,    0,  110,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,  111,    2, 0x08 /* Private */,
      10,    0,  112,    2, 0x08 /* Private */,
      11,    2,  113,    2, 0x08 /* Private */,
      14,    0,  118,    2, 0x08 /* Private */,
      15,    0,  119,    2, 0x08 /* Private */,
      16,    0,  120,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      17,    1,  121,    2, 0x02 /* Public */,
      19,    1,  124,    2, 0x02 /* Public */,
      20,    2,  127,    2, 0x02 /* Public */,
      23,    2,  132,    2, 0x02 /* Public */,
      24,    1,  137,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::QPointF, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   21,   22,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   21,   22,
    QMetaType::Void, QMetaType::QString,   18,

 // properties: name, type, flags
      25, 0x80000000 | 26, 0x0049510b,
      27, 0x80000000 | 28, 0x0049510b,
      29, QMetaType::Int, 0x00495103,
      30, QMetaType::Bool, 0x00095103,
      31, QMetaType::Int, 0x00495001,
      32, QMetaType::Int, 0x00495001,
      33, QMetaType::Bool, 0x00495103,
      34, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       0,
       3,
       4,
       0,
       1,
       2,
       5,
       6,

       0        // eod
};

void PageItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PageItem *_t = static_cast<PageItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->flickableChanged(); break;
        case 1: _t->implicitWidthChanged(); break;
        case 2: _t->implicitHeightChanged(); break;
        case 3: _t->documentChanged(); break;
        case 4: _t->pageNumberChanged(); break;
        case 5: _t->bookmarkedChanged(); break;
        case 6: _t->bookmarksChanged(); break;
        case 7: _t->delayedRedraw(); break;
        case 8: _t->documentPathChanged(); break;
        case 9: _t->pageHasChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->checkBookmarksChanged(); break;
        case 11: _t->contentXChanged(); break;
        case 12: _t->contentYChanged(); break;
        case 13: _t->goToBookmark((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: { QPointF _r = _t->bookmarkPosition((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->setBookmarkAtPos((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 16: _t->removeBookmarkAtPos((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 17: _t->removeBookmark((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PageItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PageItem::flickableChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PageItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PageItem::implicitWidthChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PageItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PageItem::implicitHeightChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PageItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PageItem::documentChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PageItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PageItem::pageNumberChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (PageItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PageItem::bookmarkedChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (PageItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PageItem::bookmarksChanged)) {
                *result = 6;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        PageItem *_t = static_cast<PageItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->flickable(); break;
        case 1: *reinterpret_cast< DocumentItem**>(_v) = _t->document(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->pageNumber(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->smooth(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->implicitWidth(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->implicitHeight(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isBookmarked(); break;
        case 7: *reinterpret_cast< QStringList*>(_v) = _t->bookmarks(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        PageItem *_t = static_cast<PageItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFlickable(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 1: _t->setDocument(*reinterpret_cast< DocumentItem**>(_v)); break;
        case 2: _t->setPageNumber(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setSmooth(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setBookmarked(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject PageItem::staticMetaObject = {
    { &QQuickPaintedItem::staticMetaObject, qt_meta_stringdata_PageItem.data,
      qt_meta_data_PageItem,  qt_static_metacall, nullptr, nullptr}
};


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

void *PageItem::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PageItem.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Okular::View"))
        return static_cast< Okular::View*>(this);
    return QQuickPaintedItem::qt_metacast(_clname);
}

int PageItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickPaintedItem::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;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void PageItem::flickableChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void PageItem::implicitWidthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void PageItem::implicitHeightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void PageItem::documentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void PageItem::pageNumberChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void PageItem::bookmarkedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void PageItem::bookmarksChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
