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