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