00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../Dlg/DlgSettingsColorFilter.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'DlgSettingsColorFilter.h' doesn't include <QObject>."
00014 #elif Q_MOC_OUTPUT_REVISION != 67
00015 #error "This file was generated using the moc from 5.6.1. 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_DlgSettingsColorFilter_t {
00022 QByteArrayData data[19];
00023 char stringdata0[230];
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_DlgSettingsColorFilter_t, stringdata0) + ofs \
00028 - idx * sizeof(QByteArrayData)) \
00029 )
00030 static const qt_meta_stringdata_DlgSettingsColorFilter_t qt_meta_stringdata_DlgSettingsColorFilter = {
00031 {
00032 QT_MOC_LITERAL(0, 0, 22),
00033 QT_MOC_LITERAL(1, 23, 17),
00034 QT_MOC_LITERAL(2, 41, 0),
00035 QT_MOC_LITERAL(3, 42, 15),
00036 QT_MOC_LITERAL(4, 58, 15),
00037 QT_MOC_LITERAL(5, 74, 3),
00038 QT_MOC_LITERAL(6, 78, 4),
00039 QT_MOC_LITERAL(7, 83, 17),
00040 QT_MOC_LITERAL(8, 101, 5),
00041 QT_MOC_LITERAL(9, 107, 5),
00042 QT_MOC_LITERAL(10, 113, 13),
00043 QT_MOC_LITERAL(11, 127, 9),
00044 QT_MOC_LITERAL(12, 137, 15),
00045 QT_MOC_LITERAL(13, 153, 14),
00046 QT_MOC_LITERAL(14, 168, 14),
00047 QT_MOC_LITERAL(15, 183, 7),
00048 QT_MOC_LITERAL(16, 191, 13),
00049 QT_MOC_LITERAL(17, 205, 14),
00050 QT_MOC_LITERAL(18, 220, 9)
00051
00052 },
00053 "DlgSettingsColorFilter\0signalApplyFilter\0"
00054 "\0ColorFilterMode\0colorFilterMode\0low\0"
00055 "high\0slotTransferPiece\0xLeft\0image\0"
00056 "slotCurveName\0curveName\0slotDividerHigh\0"
00057 "slotDividerLow\0slotForeground\0slotHue\0"
00058 "slotIntensity\0slotSaturation\0slotValue"
00059 };
00060 #undef QT_MOC_LITERAL
00061
00062 static const uint qt_meta_data_DlgSettingsColorFilter[] = {
00063
00064
00065 7,
00066 0,
00067 0, 0,
00068 10, 14,
00069 0, 0,
00070 0, 0,
00071 0, 0,
00072 0,
00073 1,
00074
00075
00076 1, 3, 64, 2, 0x06 ,
00077
00078
00079 7, 2, 71, 2, 0x0a ,
00080 10, 1, 76, 2, 0x08 ,
00081 12, 1, 79, 2, 0x08 ,
00082 13, 1, 82, 2, 0x08 ,
00083 14, 0, 85, 2, 0x08 ,
00084 15, 0, 86, 2, 0x08 ,
00085 16, 0, 87, 2, 0x08 ,
00086 17, 0, 88, 2, 0x08 ,
00087 18, 0, 89, 2, 0x08 ,
00088
00089
00090 QMetaType::Void, 0x80000000 | 3, QMetaType::Double, QMetaType::Double, 4, 5, 6,
00091
00092
00093 QMetaType::Void, QMetaType::Int, QMetaType::QImage, 8, 9,
00094 QMetaType::Void, QMetaType::QString, 11,
00095 QMetaType::Void, QMetaType::Double, 2,
00096 QMetaType::Void, QMetaType::Double, 2,
00097 QMetaType::Void,
00098 QMetaType::Void,
00099 QMetaType::Void,
00100 QMetaType::Void,
00101 QMetaType::Void,
00102
00103 0
00104 };
00105
00106 void DlgSettingsColorFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00107 {
00108 if (_c == QMetaObject::InvokeMetaMethod) {
00109 DlgSettingsColorFilter *_t = static_cast<DlgSettingsColorFilter *>(_o);
00110 Q_UNUSED(_t)
00111 switch (_id) {
00112 case 0: _t->signalApplyFilter((*reinterpret_cast< ColorFilterMode(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
00113 case 1: _t->slotTransferPiece((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QImage(*)>(_a[2]))); break;
00114 case 2: _t->slotCurveName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00115 case 3: _t->slotDividerHigh((*reinterpret_cast< double(*)>(_a[1]))); break;
00116 case 4: _t->slotDividerLow((*reinterpret_cast< double(*)>(_a[1]))); break;
00117 case 5: _t->slotForeground(); break;
00118 case 6: _t->slotHue(); break;
00119 case 7: _t->slotIntensity(); break;
00120 case 8: _t->slotSaturation(); break;
00121 case 9: _t->slotValue(); break;
00122 default: ;
00123 }
00124 } else if (_c == QMetaObject::IndexOfMethod) {
00125 int *result = reinterpret_cast<int *>(_a[0]);
00126 void **func = reinterpret_cast<void **>(_a[1]);
00127 {
00128 typedef void (DlgSettingsColorFilter::*_t)(ColorFilterMode , double , double );
00129 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DlgSettingsColorFilter::signalApplyFilter)) {
00130 *result = 0;
00131 return;
00132 }
00133 }
00134 }
00135 }
00136
00137 const QMetaObject DlgSettingsColorFilter::staticMetaObject = {
00138 { &DlgSettingsAbstractBase::staticMetaObject, qt_meta_stringdata_DlgSettingsColorFilter.data,
00139 qt_meta_data_DlgSettingsColorFilter, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00140 };
00141
00142
00143 const QMetaObject *DlgSettingsColorFilter::metaObject() const
00144 {
00145 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00146 }
00147
00148 void *DlgSettingsColorFilter::qt_metacast(const char *_clname)
00149 {
00150 if (!_clname) return Q_NULLPTR;
00151 if (!strcmp(_clname, qt_meta_stringdata_DlgSettingsColorFilter.stringdata0))
00152 return static_cast<void*>(const_cast< DlgSettingsColorFilter*>(this));
00153 return DlgSettingsAbstractBase::qt_metacast(_clname);
00154 }
00155
00156 int DlgSettingsColorFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00157 {
00158 _id = DlgSettingsAbstractBase::qt_metacall(_c, _id, _a);
00159 if (_id < 0)
00160 return _id;
00161 if (_c == QMetaObject::InvokeMetaMethod) {
00162 if (_id < 10)
00163 qt_static_metacall(this, _c, _id, _a);
00164 _id -= 10;
00165 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00166 if (_id < 10)
00167 *reinterpret_cast<int*>(_a[0]) = -1;
00168 _id -= 10;
00169 }
00170 return _id;
00171 }
00172
00173
00174 void DlgSettingsColorFilter::signalApplyFilter(ColorFilterMode _t1, double _t2, double _t3)
00175 {
00176 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
00177 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00178 }
00179 QT_END_MOC_NAMESPACE