[1f4adec] | 1 | /**************************************************************************** |
---|
| 2 | ** Meta object code from reading C++ file 'searchtask.h' |
---|
| 3 | ** |
---|
[1487f05] | 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1) |
---|
[1f4adec] | 5 | ** |
---|
| 6 | ** WARNING! All changes made in this file will be lost! |
---|
| 7 | *****************************************************************************/ |
---|
| 8 | |
---|
| 9 | #include "../sources/searchtask.h" |
---|
[3d95845] | 10 | #include <QtCore/qbytearray.h> |
---|
| 11 | #include <QtCore/qmetatype.h> |
---|
| 12 | #include <QtCore/QList> |
---|
| 13 | #include <QtCore/QVector> |
---|
[1f4adec] | 14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
| 15 | #error "The header file 'searchtask.h' doesn't include <QObject>." |
---|
[3d95845] | 16 | #elif Q_MOC_OUTPUT_REVISION != 67 |
---|
[1487f05] | 17 | #error "This file was generated using the moc from 5.7.1. It" |
---|
[1f4adec] | 18 | #error "cannot be used with the include files from this version of Qt." |
---|
| 19 | #error "(The moc has changed too much.)" |
---|
| 20 | #endif |
---|
| 21 | |
---|
| 22 | QT_BEGIN_MOC_NAMESPACE |
---|
[3d95845] | 23 | struct qt_meta_stringdata_qpdfview__SearchTask_t { |
---|
| 24 | QByteArrayData data[16]; |
---|
[1487f05] | 25 | char stringdata0[167]; |
---|
[3d95845] | 26 | }; |
---|
| 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
---|
| 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
---|
[1487f05] | 29 | qptrdiff(offsetof(qt_meta_stringdata_qpdfview__SearchTask_t, stringdata0) + ofs \ |
---|
[3d95845] | 30 | - idx * sizeof(QByteArrayData)) \ |
---|
| 31 | ) |
---|
| 32 | static const qt_meta_stringdata_qpdfview__SearchTask_t qt_meta_stringdata_qpdfview__SearchTask = { |
---|
| 33 | { |
---|
[1487f05] | 34 | QT_MOC_LITERAL(0, 0, 20), // "qpdfview::SearchTask" |
---|
| 35 | QT_MOC_LITERAL(1, 21, 15), // "progressChanged" |
---|
| 36 | QT_MOC_LITERAL(2, 37, 0), // "" |
---|
| 37 | QT_MOC_LITERAL(3, 38, 8), // "progress" |
---|
| 38 | QT_MOC_LITERAL(4, 47, 12), // "resultsReady" |
---|
| 39 | QT_MOC_LITERAL(5, 60, 5), // "index" |
---|
| 40 | QT_MOC_LITERAL(6, 66, 13), // "QList<QRectF>" |
---|
| 41 | QT_MOC_LITERAL(7, 80, 7), // "results" |
---|
| 42 | QT_MOC_LITERAL(8, 88, 5), // "start" |
---|
| 43 | QT_MOC_LITERAL(9, 94, 21), // "QVector<Model::Page*>" |
---|
| 44 | QT_MOC_LITERAL(10, 116, 5), // "pages" |
---|
| 45 | QT_MOC_LITERAL(11, 122, 4), // "text" |
---|
| 46 | QT_MOC_LITERAL(12, 127, 9), // "matchCase" |
---|
| 47 | QT_MOC_LITERAL(13, 137, 10), // "wholeWords" |
---|
| 48 | QT_MOC_LITERAL(14, 148, 11), // "beginAtPage" |
---|
| 49 | QT_MOC_LITERAL(15, 160, 6) // "cancel" |
---|
| 50 | |
---|
[3d95845] | 51 | }, |
---|
| 52 | "qpdfview::SearchTask\0progressChanged\0" |
---|
| 53 | "\0progress\0resultsReady\0index\0QList<QRectF>\0" |
---|
| 54 | "results\0start\0QVector<Model::Page*>\0" |
---|
| 55 | "pages\0text\0matchCase\0wholeWords\0" |
---|
| 56 | "beginAtPage\0cancel" |
---|
| 57 | }; |
---|
| 58 | #undef QT_MOC_LITERAL |
---|
| 59 | |
---|
[1f4adec] | 60 | static const uint qt_meta_data_qpdfview__SearchTask[] = { |
---|
| 61 | |
---|
| 62 | // content: |
---|
[3d95845] | 63 | 7, // revision |
---|
[1f4adec] | 64 | 0, // classname |
---|
| 65 | 0, 0, // classinfo |
---|
| 66 | 5, 14, // methods |
---|
| 67 | 0, 0, // properties |
---|
| 68 | 0, 0, // enums/sets |
---|
| 69 | 0, 0, // constructors |
---|
| 70 | 0, // flags |
---|
| 71 | 2, // signalCount |
---|
| 72 | |
---|
[3d95845] | 73 | // signals: name, argc, parameters, tag, flags |
---|
| 74 | 1, 1, 39, 2, 0x06 /* Public */, |
---|
| 75 | 4, 2, 42, 2, 0x06 /* Public */, |
---|
[1f4adec] | 76 | |
---|
[3d95845] | 77 | // slots: name, argc, parameters, tag, flags |
---|
| 78 | 8, 5, 47, 2, 0x0a /* Public */, |
---|
| 79 | 8, 4, 58, 2, 0x2a /* Public | MethodCloned */, |
---|
| 80 | 15, 0, 67, 2, 0x0a /* Public */, |
---|
[1f4adec] | 81 | |
---|
[3d95845] | 82 | // signals: parameters |
---|
| 83 | QMetaType::Void, QMetaType::Int, 3, |
---|
| 84 | QMetaType::Void, QMetaType::Int, 0x80000000 | 6, 5, 7, |
---|
| 85 | |
---|
| 86 | // slots: parameters |
---|
| 87 | QMetaType::Void, 0x80000000 | 9, QMetaType::QString, QMetaType::Bool, QMetaType::Bool, QMetaType::Int, 10, 11, 12, 13, 14, |
---|
| 88 | QMetaType::Void, 0x80000000 | 9, QMetaType::QString, QMetaType::Bool, QMetaType::Bool, 10, 11, 12, 13, |
---|
| 89 | QMetaType::Void, |
---|
[1f4adec] | 90 | |
---|
[3d95845] | 91 | 0 // eod |
---|
[1f4adec] | 92 | }; |
---|
| 93 | |
---|
| 94 | void qpdfview::SearchTask::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
| 95 | { |
---|
| 96 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 97 | SearchTask *_t = static_cast<SearchTask *>(_o); |
---|
[1487f05] | 98 | Q_UNUSED(_t) |
---|
[1f4adec] | 99 | switch (_id) { |
---|
| 100 | case 0: _t->progressChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
| 101 | case 1: _t->resultsReady((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QList<QRectF>(*)>(_a[2]))); break; |
---|
| 102 | case 2: _t->start((*reinterpret_cast< const QVector<Model::Page*>(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break; |
---|
| 103 | case 3: _t->start((*reinterpret_cast< const QVector<Model::Page*>(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break; |
---|
| 104 | case 4: _t->cancel(); break; |
---|
| 105 | default: ; |
---|
| 106 | } |
---|
[3d95845] | 107 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
| 108 | switch (_id) { |
---|
| 109 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
---|
| 110 | case 1: |
---|
| 111 | switch (*reinterpret_cast<int*>(_a[1])) { |
---|
| 112 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
---|
| 113 | case 1: |
---|
| 114 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QRectF> >(); break; |
---|
| 115 | } |
---|
| 116 | break; |
---|
| 117 | } |
---|
| 118 | } else if (_c == QMetaObject::IndexOfMethod) { |
---|
| 119 | int *result = reinterpret_cast<int *>(_a[0]); |
---|
| 120 | void **func = reinterpret_cast<void **>(_a[1]); |
---|
| 121 | { |
---|
| 122 | typedef void (SearchTask::*_t)(int ); |
---|
| 123 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchTask::progressChanged)) { |
---|
| 124 | *result = 0; |
---|
[1487f05] | 125 | return; |
---|
[3d95845] | 126 | } |
---|
| 127 | } |
---|
| 128 | { |
---|
| 129 | typedef void (SearchTask::*_t)(int , const QList<QRectF> & ); |
---|
| 130 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchTask::resultsReady)) { |
---|
| 131 | *result = 1; |
---|
[1487f05] | 132 | return; |
---|
[3d95845] | 133 | } |
---|
| 134 | } |
---|
[1f4adec] | 135 | } |
---|
| 136 | } |
---|
| 137 | |
---|
| 138 | const QMetaObject qpdfview::SearchTask::staticMetaObject = { |
---|
[3d95845] | 139 | { &QThread::staticMetaObject, qt_meta_stringdata_qpdfview__SearchTask.data, |
---|
[1487f05] | 140 | qt_meta_data_qpdfview__SearchTask, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} |
---|
[1f4adec] | 141 | }; |
---|
| 142 | |
---|
| 143 | |
---|
| 144 | const QMetaObject *qpdfview::SearchTask::metaObject() const |
---|
| 145 | { |
---|
[3d95845] | 146 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
---|
[1f4adec] | 147 | } |
---|
| 148 | |
---|
| 149 | void *qpdfview::SearchTask::qt_metacast(const char *_clname) |
---|
| 150 | { |
---|
[1487f05] | 151 | if (!_clname) return Q_NULLPTR; |
---|
| 152 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__SearchTask.stringdata0)) |
---|
[1f4adec] | 153 | return static_cast<void*>(const_cast< SearchTask*>(this)); |
---|
| 154 | return QThread::qt_metacast(_clname); |
---|
| 155 | } |
---|
| 156 | |
---|
| 157 | int qpdfview::SearchTask::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 158 | { |
---|
| 159 | _id = QThread::qt_metacall(_c, _id, _a); |
---|
| 160 | if (_id < 0) |
---|
| 161 | return _id; |
---|
| 162 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 163 | if (_id < 5) |
---|
| 164 | qt_static_metacall(this, _c, _id, _a); |
---|
| 165 | _id -= 5; |
---|
[3d95845] | 166 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
---|
| 167 | if (_id < 5) |
---|
| 168 | qt_static_metacall(this, _c, _id, _a); |
---|
| 169 | _id -= 5; |
---|
[1f4adec] | 170 | } |
---|
| 171 | return _id; |
---|
| 172 | } |
---|
| 173 | |
---|
| 174 | // SIGNAL 0 |
---|
| 175 | void qpdfview::SearchTask::progressChanged(int _t1) |
---|
| 176 | { |
---|
[1487f05] | 177 | void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
[1f4adec] | 178 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
| 179 | } |
---|
| 180 | |
---|
| 181 | // SIGNAL 1 |
---|
| 182 | void qpdfview::SearchTask::resultsReady(int _t1, const QList<QRectF> & _t2) |
---|
| 183 | { |
---|
[1487f05] | 184 | void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; |
---|
[1f4adec] | 185 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
---|
| 186 | } |
---|
| 187 | QT_END_MOC_NAMESPACE |
---|