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

#include <memory>
#include "../../../../../qtwebengine/src/pdf/quick/qquickpdfsearchmodel_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickpdfsearchmodel_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.6. 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_QQuickPdfSearchModel_t {
    QByteArrayData data[18];
    char stringdata0[368];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickPdfSearchModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickPdfSearchModel_t qt_meta_stringdata_QQuickPdfSearchModel = {
    {
QT_MOC_LITERAL(0, 0, 20), // "QQuickPdfSearchModel"
QT_MOC_LITERAL(1, 21, 15), // "documentChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 18), // "currentPageChanged"
QT_MOC_LITERAL(4, 57, 20), // "currentResultChanged"
QT_MOC_LITERAL(5, 78, 34), // "currentPageBoundingPolygonsCh..."
QT_MOC_LITERAL(6, 113, 36), // "currentResultBoundingPolygons..."
QT_MOC_LITERAL(7, 150, 32), // "currentResultBoundingRectChanged"
QT_MOC_LITERAL(8, 183, 22), // "boundingPolygonsOnPage"
QT_MOC_LITERAL(9, 206, 18), // "QVector<QPolygonF>"
QT_MOC_LITERAL(10, 225, 4), // "page"
QT_MOC_LITERAL(11, 230, 8), // "document"
QT_MOC_LITERAL(12, 239, 18), // "QQuickPdfDocument*"
QT_MOC_LITERAL(13, 258, 11), // "currentPage"
QT_MOC_LITERAL(14, 270, 13), // "currentResult"
QT_MOC_LITERAL(15, 284, 27), // "currentPageBoundingPolygons"
QT_MOC_LITERAL(16, 312, 29), // "currentResultBoundingPolygons"
QT_MOC_LITERAL(17, 342, 25) // "currentResultBoundingRect"

    },
    "QQuickPdfSearchModel\0documentChanged\0"
    "\0currentPageChanged\0currentResultChanged\0"
    "currentPageBoundingPolygonsChanged\0"
    "currentResultBoundingPolygonsChanged\0"
    "currentResultBoundingRectChanged\0"
    "boundingPolygonsOnPage\0QVector<QPolygonF>\0"
    "page\0document\0QQuickPdfDocument*\0"
    "currentPage\0currentResult\0"
    "currentPageBoundingPolygons\0"
    "currentResultBoundingPolygons\0"
    "currentResultBoundingRect"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickPdfSearchModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    0,   50,    2, 0x06 /* Public */,
       4,    0,   51,    2, 0x06 /* Public */,
       5,    0,   52,    2, 0x06 /* Public */,
       6,    0,   53,    2, 0x06 /* Public */,
       7,    0,   54,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       8,    1,   55,    2, 0x02 /* Public */,

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

 // methods: parameters
    0x80000000 | 9, QMetaType::Int,   10,

 // properties: name, type, flags
      11, 0x80000000 | 12, 0x0049510b,
      13, QMetaType::Int, 0x00495103,
      14, QMetaType::Int, 0x00495103,
      15, 0x80000000 | 9, 0x00495009,
      16, 0x80000000 | 9, 0x00495009,
      17, QMetaType::QRectF, 0x00495001,

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

       0        // eod
};

void QQuickPdfSearchModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickPdfSearchModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->documentChanged(); break;
        case 1: _t->currentPageChanged(); break;
        case 2: _t->currentResultChanged(); break;
        case 3: _t->currentPageBoundingPolygonsChanged(); break;
        case 4: _t->currentResultBoundingPolygonsChanged(); break;
        case 5: _t->currentResultBoundingRectChanged(); break;
        case 6: { QVector<QPolygonF> _r = _t->boundingPolygonsOnPage((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVector<QPolygonF>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickPdfSearchModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfSearchModel::documentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickPdfSearchModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfSearchModel::currentPageChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickPdfSearchModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfSearchModel::currentResultChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickPdfSearchModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfSearchModel::currentPageBoundingPolygonsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickPdfSearchModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfSearchModel::currentResultBoundingPolygonsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuickPdfSearchModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPdfSearchModel::currentResultBoundingRectChanged)) {
                *result = 5;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPdfDocument* >(); break;
        case 4:
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QPolygonF> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickPdfSearchModel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickPdfDocument**>(_v) = _t->document(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->currentPage(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->currentResult(); break;
        case 3: *reinterpret_cast< QVector<QPolygonF>*>(_v) = _t->currentPageBoundingPolygons(); break;
        case 4: *reinterpret_cast< QVector<QPolygonF>*>(_v) = _t->currentResultBoundingPolygons(); break;
        case 5: *reinterpret_cast< QRectF*>(_v) = _t->currentResultBoundingRect(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickPdfSearchModel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDocument(*reinterpret_cast< QQuickPdfDocument**>(_v)); break;
        case 1: _t->setCurrentPage(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setCurrentResult(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuickPdfSearchModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QPdfSearchModel::staticMetaObject>(),
    qt_meta_stringdata_QQuickPdfSearchModel.data,
    qt_meta_data_QQuickPdfSearchModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuickPdfSearchModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickPdfSearchModel.stringdata0))
        return static_cast<void*>(this);
    return QPdfSearchModel::qt_metacast(_clname);
}

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

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

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

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

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

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

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