00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../Fitting/FittingWindow.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'FittingWindow.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_FittingWindow_t {
00022 QByteArrayData data[7];
00023 char stringdata0[100];
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_FittingWindow_t, stringdata0) + ofs \
00028 - idx * sizeof(QByteArrayData)) \
00029 )
00030 static const qt_meta_stringdata_FittingWindow_t qt_meta_stringdata_FittingWindow = {
00031 {
00032 QT_MOC_LITERAL(0, 0, 13),
00033 QT_MOC_LITERAL(1, 14, 14),
00034 QT_MOC_LITERAL(2, 29, 0),
00035 QT_MOC_LITERAL(3, 30, 24),
00036 QT_MOC_LITERAL(4, 55, 25),
00037 QT_MOC_LITERAL(5, 81, 12),
00038 QT_MOC_LITERAL(6, 94, 5)
00039
00040 },
00041 "FittingWindow\0signalCurveFit\0\0"
00042 "FittingCurveCoefficients\0"
00043 "signalFittingWindowClosed\0slotCmbOrder\0"
00044 "index"
00045 };
00046 #undef QT_MOC_LITERAL
00047
00048 static const uint qt_meta_data_FittingWindow[] = {
00049
00050
00051 7,
00052 0,
00053 0, 0,
00054 3, 14,
00055 0, 0,
00056 0, 0,
00057 0, 0,
00058 0,
00059 2,
00060
00061
00062 1, 5, 29, 2, 0x06 ,
00063 4, 0, 40, 2, 0x06 ,
00064
00065
00066 5, 1, 41, 2, 0x08 ,
00067
00068
00069 QMetaType::Void, 0x80000000 | 3, QMetaType::Double, QMetaType::Double, QMetaType::Bool, QMetaType::Bool, 2, 2, 2, 2, 2,
00070 QMetaType::Void,
00071
00072
00073 QMetaType::Void, QMetaType::Int, 6,
00074
00075 0
00076 };
00077
00078 void FittingWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00079 {
00080 if (_c == QMetaObject::InvokeMetaMethod) {
00081 FittingWindow *_t = static_cast<FittingWindow *>(_o);
00082 Q_UNUSED(_t)
00083 switch (_id) {
00084 case 0: _t->signalCurveFit((*reinterpret_cast< FittingCurveCoefficients(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5]))); break;
00085 case 1: _t->signalFittingWindowClosed(); break;
00086 case 2: _t->slotCmbOrder((*reinterpret_cast< int(*)>(_a[1]))); break;
00087 default: ;
00088 }
00089 } else if (_c == QMetaObject::IndexOfMethod) {
00090 int *result = reinterpret_cast<int *>(_a[0]);
00091 void **func = reinterpret_cast<void **>(_a[1]);
00092 {
00093 typedef void (FittingWindow::*_t)(FittingCurveCoefficients , double , double , bool , bool );
00094 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FittingWindow::signalCurveFit)) {
00095 *result = 0;
00096 return;
00097 }
00098 }
00099 {
00100 typedef void (FittingWindow::*_t)();
00101 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FittingWindow::signalFittingWindowClosed)) {
00102 *result = 1;
00103 return;
00104 }
00105 }
00106 }
00107 }
00108
00109 const QMetaObject FittingWindow::staticMetaObject = {
00110 { &WindowAbstractBase::staticMetaObject, qt_meta_stringdata_FittingWindow.data,
00111 qt_meta_data_FittingWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00112 };
00113
00114
00115 const QMetaObject *FittingWindow::metaObject() const
00116 {
00117 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00118 }
00119
00120 void *FittingWindow::qt_metacast(const char *_clname)
00121 {
00122 if (!_clname) return Q_NULLPTR;
00123 if (!strcmp(_clname, qt_meta_stringdata_FittingWindow.stringdata0))
00124 return static_cast<void*>(const_cast< FittingWindow*>(this));
00125 return WindowAbstractBase::qt_metacast(_clname);
00126 }
00127
00128 int FittingWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00129 {
00130 _id = WindowAbstractBase::qt_metacall(_c, _id, _a);
00131 if (_id < 0)
00132 return _id;
00133 if (_c == QMetaObject::InvokeMetaMethod) {
00134 if (_id < 3)
00135 qt_static_metacall(this, _c, _id, _a);
00136 _id -= 3;
00137 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00138 if (_id < 3)
00139 *reinterpret_cast<int*>(_a[0]) = -1;
00140 _id -= 3;
00141 }
00142 return _id;
00143 }
00144
00145
00146 void FittingWindow::signalCurveFit(FittingCurveCoefficients _t1, double _t2, double _t3, bool _t4, bool _t5)
00147 {
00148 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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)) };
00149 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00150 }
00151
00152
00153 void FittingWindow::signalFittingWindowClosed()
00154 {
00155 QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
00156 }
00157 QT_END_MOC_NAMESPACE