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

#include <memory>
#include "../../../../../qtwebengine/src/pdf/quick/qquickpdfdocument_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickpdfdocument_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.7. 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_QQuickPdfDocument_t {
    QByteArrayData data[29];
    char stringdata0[336];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickPdfDocument_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickPdfDocument_t qt_meta_stringdata_QQuickPdfDocument = {
    {
QT_MOC_LITERAL(0, 0, 17), // "QQuickPdfDocument"
QT_MOC_LITERAL(1, 18, 13), // "sourceChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 15), // "passwordChanged"
QT_MOC_LITERAL(4, 49, 16), // "passwordRequired"
QT_MOC_LITERAL(5, 66, 13), // "statusChanged"
QT_MOC_LITERAL(6, 80, 16), // "pageCountChanged"
QT_MOC_LITERAL(7, 97, 15), // "metaDataChanged"
QT_MOC_LITERAL(8, 113, 13), // "pagePointSize"
QT_MOC_LITERAL(9, 127, 4), // "page"
QT_MOC_LITERAL(10, 132, 19), // "heightSumBeforePage"
QT_MOC_LITERAL(11, 152, 7), // "spacing"
QT_MOC_LITERAL(12, 160, 11), // "facingPages"
QT_MOC_LITERAL(13, 172, 6), // "source"
QT_MOC_LITERAL(14, 179, 9), // "pageCount"
QT_MOC_LITERAL(15, 189, 12), // "maxPageWidth"
QT_MOC_LITERAL(16, 202, 13), // "maxPageHeight"
QT_MOC_LITERAL(17, 216, 8), // "password"
QT_MOC_LITERAL(18, 225, 6), // "status"
QT_MOC_LITERAL(19, 232, 20), // "QPdfDocument::Status"
QT_MOC_LITERAL(20, 253, 5), // "error"
QT_MOC_LITERAL(21, 259, 5), // "title"
QT_MOC_LITERAL(22, 265, 7), // "subject"
QT_MOC_LITERAL(23, 273, 6), // "author"
QT_MOC_LITERAL(24, 280, 8), // "keywords"
QT_MOC_LITERAL(25, 289, 8), // "producer"
QT_MOC_LITERAL(26, 298, 7), // "creator"
QT_MOC_LITERAL(27, 306, 12), // "creationDate"
QT_MOC_LITERAL(28, 319, 16) // "modificationDate"

    },
    "QQuickPdfDocument\0sourceChanged\0\0"
    "passwordChanged\0passwordRequired\0"
    "statusChanged\0pageCountChanged\0"
    "metaDataChanged\0pagePointSize\0page\0"
    "heightSumBeforePage\0spacing\0facingPages\0"
    "source\0pageCount\0maxPageWidth\0"
    "maxPageHeight\0password\0status\0"
    "QPdfDocument::Status\0error\0title\0"
    "subject\0author\0keywords\0producer\0"
    "creator\0creationDate\0modificationDate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickPdfDocument[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
      15,   88, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,
       7,    0,   69,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       8,    1,   70,    2, 0x02 /* Public */,
      10,    3,   73,    2, 0x02 /* Public */,
      10,    2,   80,    2, 0x22 /* Public | MethodCloned */,
      10,    1,   85,    2, 0x22 /* Public | MethodCloned */,

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

 // methods: parameters
    QMetaType::QSizeF, QMetaType::Int,    9,
    QMetaType::QReal, QMetaType::Int, QMetaType::QReal, QMetaType::Int,    9,   11,   12,
    QMetaType::QReal, QMetaType::Int, QMetaType::QReal,    9,   11,
    QMetaType::QReal, QMetaType::Int,    9,

 // properties: name, type, flags
      13, QMetaType::QUrl, 0x00495103,
      14, QMetaType::Int, 0x00495801,
      15, QMetaType::QReal, 0x00495001,
      16, QMetaType::QReal, 0x00495001,
      17, QMetaType::QString, 0x00495903,
      18, 0x80000000 | 19, 0x00495809,
      20, QMetaType::QString, 0x00495801,
      21, QMetaType::QString, 0x00495001,
      22, QMetaType::QString, 0x00495001,
      23, QMetaType::QString, 0x00495001,
      24, QMetaType::QString, 0x00495001,
      25, QMetaType::QString, 0x00495001,
      26, QMetaType::QString, 0x00495001,
      27, QMetaType::QDateTime, 0x00495001,
      28, QMetaType::QDateTime, 0x00495001,

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

       0        // eod
};

void QQuickPdfDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickPdfDocument *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sourceChanged(); break;
        case 1: _t->passwordChanged(); break;
        case 2: _t->passwordRequired(); break;
        case 3: _t->statusChanged(); break;
        case 4: _t->pageCountChanged(); break;
        case 5: _t->metaDataChanged(); break;
        case 6: { QSizeF _r = _t->pagePointSize((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QSizeF*>(_a[0]) = std::move(_r); }  break;
        case 7: { qreal _r = _t->heightSumBeforePage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        case 8: { qreal _r = _t->heightSumBeforePage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        case 9: { qreal _r = _t->heightSumBeforePage((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< qreal*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickPdfDocument::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfDocument::sourceChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickPdfDocument::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfDocument::passwordChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickPdfDocument::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfDocument::passwordRequired)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickPdfDocument::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfDocument::statusChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickPdfDocument::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfDocument::pageCountChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuickPdfDocument::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfDocument::metaDataChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickPdfDocument *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->pageCount(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = _t->maxPageWidth(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = _t->maxPageHeight(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->password(); break;
        case 5: *reinterpret_cast< QPdfDocument::Status*>(_v) = _t->status(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->error(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->subject(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->author(); break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->keywords(); break;
        case 11: *reinterpret_cast< QString*>(_v) = _t->producer(); break;
        case 12: *reinterpret_cast< QString*>(_v) = _t->creator(); break;
        case 13: *reinterpret_cast< QDateTime*>(_v) = _t->creationDate(); break;
        case 14: *reinterpret_cast< QDateTime*>(_v) = _t->modificationDate(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickPdfDocument *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 4: _t->setPassword(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject::SuperData qt_meta_extradata_QQuickPdfDocument[] = {
    QMetaObject::SuperData::link<QPdfDocument::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject QQuickPdfDocument::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QQuickPdfDocument.data,
    qt_meta_data_QQuickPdfDocument,
    qt_static_metacall,
    qt_meta_extradata_QQuickPdfDocument,
    nullptr
} };


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

void *QQuickPdfDocument::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickPdfDocument.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QObject::qt_metacast(_clname);
}

int QQuickPdfDocument::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#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 -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

// SIGNAL 5
void QQuickPdfDocument::metaDataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
