00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../DigitizeState/DigitizeStateSegment.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'DigitizeStateSegment.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_DigitizeStateSegment_t {
00022 QByteArrayData data[3];
00023 char stringdata0[46];
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_DigitizeStateSegment_t, stringdata0) + ofs \
00028 - idx * sizeof(QByteArrayData)) \
00029 )
00030 static const qt_meta_stringdata_DigitizeStateSegment_t qt_meta_stringdata_DigitizeStateSegment = {
00031 {
00032 QT_MOC_LITERAL(0, 0, 20),
00033 QT_MOC_LITERAL(1, 21, 23),
00034 QT_MOC_LITERAL(2, 45, 0)
00035
00036 },
00037 "DigitizeStateSegment\0slotMouseClickOnSegment\0"
00038 ""
00039 };
00040 #undef QT_MOC_LITERAL
00041
00042 static const uint qt_meta_data_DigitizeStateSegment[] = {
00043
00044
00045 7,
00046 0,
00047 0, 0,
00048 1, 14,
00049 0, 0,
00050 0, 0,
00051 0, 0,
00052 0,
00053 0,
00054
00055
00056 1, 1, 19, 2, 0x0a ,
00057
00058
00059 QMetaType::Void, QMetaType::QPointF, 2,
00060
00061 0
00062 };
00063
00064 void DigitizeStateSegment::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00065 {
00066 if (_c == QMetaObject::InvokeMetaMethod) {
00067 DigitizeStateSegment *_t = static_cast<DigitizeStateSegment *>(_o);
00068 Q_UNUSED(_t)
00069 switch (_id) {
00070 case 0: _t->slotMouseClickOnSegment((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
00071 default: ;
00072 }
00073 }
00074 }
00075
00076 const QMetaObject DigitizeStateSegment::staticMetaObject = {
00077 { &QObject::staticMetaObject, qt_meta_stringdata_DigitizeStateSegment.data,
00078 qt_meta_data_DigitizeStateSegment, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00079 };
00080
00081
00082 const QMetaObject *DigitizeStateSegment::metaObject() const
00083 {
00084 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00085 }
00086
00087 void *DigitizeStateSegment::qt_metacast(const char *_clname)
00088 {
00089 if (!_clname) return Q_NULLPTR;
00090 if (!strcmp(_clname, qt_meta_stringdata_DigitizeStateSegment.stringdata0))
00091 return static_cast<void*>(const_cast< DigitizeStateSegment*>(this));
00092 if (!strcmp(_clname, "DigitizeStateAbstractBase"))
00093 return static_cast< DigitizeStateAbstractBase*>(const_cast< DigitizeStateSegment*>(this));
00094 return QObject::qt_metacast(_clname);
00095 }
00096
00097 int DigitizeStateSegment::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00098 {
00099 _id = QObject::qt_metacall(_c, _id, _a);
00100 if (_id < 0)
00101 return _id;
00102 if (_c == QMetaObject::InvokeMetaMethod) {
00103 if (_id < 1)
00104 qt_static_metacall(this, _c, _id, _a);
00105 _id -= 1;
00106 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00107 if (_id < 1)
00108 *reinterpret_cast<int*>(_a[0]) = -1;
00109 _id -= 1;
00110 }
00111 return _id;
00112 }
00113 QT_END_MOC_NAMESPACE