00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../Dlg/DlgFilterThread.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'DlgFilterThread.h' doesn't include <QObject>."
00014 #elif Q_MOC_OUTPUT_REVISION != 67
00015 #error "This file was generated using the moc from 5.6.0. It"
00016 #error "cannot be used with the include files from this version of Qt."
00017 #error "(The moc has changed too much.)"
00018 #endif
00019
00020 QT_BEGIN_MOC_NAMESPACE
00021 struct qt_meta_stringdata_DlgFilterThread_t {
00022 QByteArrayData data[5];
00023 char stringdata0[49];
00024 };
00025 #define QT_MOC_LITERAL(idx, ofs, len) \
00026 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
00027 qptrdiff(offsetof(qt_meta_stringdata_DlgFilterThread_t, stringdata0) + ofs \
00028 - idx * sizeof(QByteArrayData)) \
00029 )
00030 static const qt_meta_stringdata_DlgFilterThread_t qt_meta_stringdata_DlgFilterThread = {
00031 {
00032 QT_MOC_LITERAL(0, 0, 15),
00033 QT_MOC_LITERAL(1, 16, 19),
00034 QT_MOC_LITERAL(2, 36, 0),
00035 QT_MOC_LITERAL(3, 37, 5),
00036 QT_MOC_LITERAL(4, 43, 5)
00037
00038 },
00039 "DlgFilterThread\0signalTransferPiece\0"
00040 "\0xLeft\0image"
00041 };
00042 #undef QT_MOC_LITERAL
00043
00044 static const uint qt_meta_data_DlgFilterThread[] = {
00045
00046
00047 7,
00048 0,
00049 0, 0,
00050 1, 14,
00051 0, 0,
00052 0, 0,
00053 0, 0,
00054 0,
00055 1,
00056
00057
00058 1, 2, 19, 2, 0x06 ,
00059
00060
00061 QMetaType::Void, QMetaType::Int, QMetaType::QImage, 3, 4,
00062
00063 0
00064 };
00065
00066 void DlgFilterThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00067 {
00068 if (_c == QMetaObject::InvokeMetaMethod) {
00069 DlgFilterThread *_t = static_cast<DlgFilterThread *>(_o);
00070 Q_UNUSED(_t)
00071 switch (_id) {
00072 case 0: _t->signalTransferPiece((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QImage(*)>(_a[2]))); break;
00073 default: ;
00074 }
00075 } else if (_c == QMetaObject::IndexOfMethod) {
00076 int *result = reinterpret_cast<int *>(_a[0]);
00077 void **func = reinterpret_cast<void **>(_a[1]);
00078 {
00079 typedef void (DlgFilterThread::*_t)(int , QImage );
00080 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DlgFilterThread::signalTransferPiece)) {
00081 *result = 0;
00082 return;
00083 }
00084 }
00085 }
00086 }
00087
00088 const QMetaObject DlgFilterThread::staticMetaObject = {
00089 { &QThread::staticMetaObject, qt_meta_stringdata_DlgFilterThread.data,
00090 qt_meta_data_DlgFilterThread, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00091 };
00092
00093
00094 const QMetaObject *DlgFilterThread::metaObject() const
00095 {
00096 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00097 }
00098
00099 void *DlgFilterThread::qt_metacast(const char *_clname)
00100 {
00101 if (!_clname) return Q_NULLPTR;
00102 if (!strcmp(_clname, qt_meta_stringdata_DlgFilterThread.stringdata0))
00103 return static_cast<void*>(const_cast< DlgFilterThread*>(this));
00104 return QThread::qt_metacast(_clname);
00105 }
00106
00107 int DlgFilterThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00108 {
00109 _id = QThread::qt_metacall(_c, _id, _a);
00110 if (_id < 0)
00111 return _id;
00112 if (_c == QMetaObject::InvokeMetaMethod) {
00113 if (_id < 1)
00114 qt_static_metacall(this, _c, _id, _a);
00115 _id -= 1;
00116 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00117 if (_id < 1)
00118 *reinterpret_cast<int*>(_a[0]) = -1;
00119 _id -= 1;
00120 }
00121 return _id;
00122 }
00123
00124
00125 void DlgFilterThread::signalTransferPiece(int _t1, QImage _t2)
00126 {
00127 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
00128 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00129 }
00130 QT_END_MOC_NAMESPACE