[1f4adec] | 1 | /**************************************************************************** |
---|
| 2 | ** Meta object code from reading C++ file 'searchtask.h' |
---|
| 3 | ** |
---|
| 4 | ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6) |
---|
| 5 | ** |
---|
| 6 | ** WARNING! All changes made in this file will be lost! |
---|
| 7 | *****************************************************************************/ |
---|
| 8 | |
---|
| 9 | #include "../sources/searchtask.h" |
---|
| 10 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
| 11 | #error "The header file 'searchtask.h' doesn't include <QObject>." |
---|
| 12 | #elif Q_MOC_OUTPUT_REVISION != 63 |
---|
| 13 | #error "This file was generated using the moc from 4.8.6. It" |
---|
| 14 | #error "cannot be used with the include files from this version of Qt." |
---|
| 15 | #error "(The moc has changed too much.)" |
---|
| 16 | #endif |
---|
| 17 | |
---|
| 18 | QT_BEGIN_MOC_NAMESPACE |
---|
| 19 | static const uint qt_meta_data_qpdfview__SearchTask[] = { |
---|
| 20 | |
---|
| 21 | // content: |
---|
| 22 | 6, // revision |
---|
| 23 | 0, // classname |
---|
| 24 | 0, 0, // classinfo |
---|
| 25 | 5, 14, // methods |
---|
| 26 | 0, 0, // properties |
---|
| 27 | 0, 0, // enums/sets |
---|
| 28 | 0, 0, // constructors |
---|
| 29 | 0, // flags |
---|
| 30 | 2, // signalCount |
---|
| 31 | |
---|
| 32 | // signals: signature, parameters, type, tag, flags |
---|
| 33 | 31, 22, 21, 21, 0x05, |
---|
| 34 | 66, 52, 21, 21, 0x05, |
---|
| 35 | |
---|
| 36 | // slots: signature, parameters, type, tag, flags |
---|
| 37 | 142, 98, 21, 21, 0x0a, |
---|
| 38 | 225, 193, 21, 21, 0x2a, |
---|
| 39 | 272, 21, 21, 21, 0x0a, |
---|
| 40 | |
---|
| 41 | 0 // eod |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | static const char qt_meta_stringdata_qpdfview__SearchTask[] = { |
---|
| 45 | "qpdfview::SearchTask\0\0progress\0" |
---|
| 46 | "progressChanged(int)\0index,results\0" |
---|
| 47 | "resultsReady(int,QList<QRectF>)\0" |
---|
| 48 | "pages,text,matchCase,wholeWords,beginAtPage\0" |
---|
| 49 | "start(QVector<Model::Page*>,QString,bool,bool,int)\0" |
---|
| 50 | "pages,text,matchCase,wholeWords\0" |
---|
| 51 | "start(QVector<Model::Page*>,QString,bool,bool)\0" |
---|
| 52 | "cancel()\0" |
---|
| 53 | }; |
---|
| 54 | |
---|
| 55 | void qpdfview::SearchTask::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
---|
| 56 | { |
---|
| 57 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 58 | Q_ASSERT(staticMetaObject.cast(_o)); |
---|
| 59 | SearchTask *_t = static_cast<SearchTask *>(_o); |
---|
| 60 | switch (_id) { |
---|
| 61 | case 0: _t->progressChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
| 62 | case 1: _t->resultsReady((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QList<QRectF>(*)>(_a[2]))); break; |
---|
| 63 | 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; |
---|
| 64 | 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; |
---|
| 65 | case 4: _t->cancel(); break; |
---|
| 66 | default: ; |
---|
| 67 | } |
---|
| 68 | } |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | const QMetaObjectExtraData qpdfview::SearchTask::staticMetaObjectExtraData = { |
---|
| 72 | 0, qt_static_metacall |
---|
| 73 | }; |
---|
| 74 | |
---|
| 75 | const QMetaObject qpdfview::SearchTask::staticMetaObject = { |
---|
| 76 | { &QThread::staticMetaObject, qt_meta_stringdata_qpdfview__SearchTask, |
---|
| 77 | qt_meta_data_qpdfview__SearchTask, &staticMetaObjectExtraData } |
---|
| 78 | }; |
---|
| 79 | |
---|
| 80 | #ifdef Q_NO_DATA_RELOCATION |
---|
| 81 | const QMetaObject &qpdfview::SearchTask::getStaticMetaObject() { return staticMetaObject; } |
---|
| 82 | #endif //Q_NO_DATA_RELOCATION |
---|
| 83 | |
---|
| 84 | const QMetaObject *qpdfview::SearchTask::metaObject() const |
---|
| 85 | { |
---|
| 86 | return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; |
---|
| 87 | } |
---|
| 88 | |
---|
| 89 | void *qpdfview::SearchTask::qt_metacast(const char *_clname) |
---|
| 90 | { |
---|
| 91 | if (!_clname) return 0; |
---|
| 92 | if (!strcmp(_clname, qt_meta_stringdata_qpdfview__SearchTask)) |
---|
| 93 | return static_cast<void*>(const_cast< SearchTask*>(this)); |
---|
| 94 | return QThread::qt_metacast(_clname); |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | int qpdfview::SearchTask::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 98 | { |
---|
| 99 | _id = QThread::qt_metacall(_c, _id, _a); |
---|
| 100 | if (_id < 0) |
---|
| 101 | return _id; |
---|
| 102 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 103 | if (_id < 5) |
---|
| 104 | qt_static_metacall(this, _c, _id, _a); |
---|
| 105 | _id -= 5; |
---|
| 106 | } |
---|
| 107 | return _id; |
---|
| 108 | } |
---|
| 109 | |
---|
| 110 | // SIGNAL 0 |
---|
| 111 | void qpdfview::SearchTask::progressChanged(int _t1) |
---|
| 112 | { |
---|
| 113 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
| 114 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
| 115 | } |
---|
| 116 | |
---|
| 117 | // SIGNAL 1 |
---|
| 118 | void qpdfview::SearchTask::resultsReady(int _t1, const QList<QRectF> & _t2) |
---|
| 119 | { |
---|
| 120 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; |
---|
| 121 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
---|
| 122 | } |
---|
| 123 | QT_END_MOC_NAMESPACE |
---|