00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "../Graphics/GraphicsView.h"
00010 #include <QtCore/qbytearray.h>
00011 #include <QtCore/qmetatype.h>
00012 #if !defined(Q_MOC_OUTPUT_REVISION)
00013 #error "The header file 'GraphicsView.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_GraphicsView_t {
00022 QByteArrayData data[16];
00023 char stringdata0[260];
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_GraphicsView_t, stringdata0) + ofs \
00028 - idx * sizeof(QByteArrayData)) \
00029 )
00030 static const qt_meta_stringdata_GraphicsView_t qt_meta_stringdata_GraphicsView = {
00031 {
00032 QT_MOC_LITERAL(0, 0, 12),
00033 QT_MOC_LITERAL(1, 13, 22),
00034 QT_MOC_LITERAL(2, 36, 0),
00035 QT_MOC_LITERAL(3, 37, 15),
00036 QT_MOC_LITERAL(4, 53, 20),
00037 QT_MOC_LITERAL(5, 74, 18),
00038 QT_MOC_LITERAL(6, 93, 21),
00039 QT_MOC_LITERAL(7, 115, 14),
00040 QT_MOC_LITERAL(8, 130, 7),
00041 QT_MOC_LITERAL(9, 138, 22),
00042 QT_MOC_LITERAL(10, 161, 11),
00043 QT_MOC_LITERAL(11, 173, 15),
00044 QT_MOC_LITERAL(12, 189, 16),
00045 QT_MOC_LITERAL(13, 206, 18),
00046 QT_MOC_LITERAL(14, 225, 16),
00047 QT_MOC_LITERAL(15, 242, 17)
00048
00049 },
00050 "GraphicsView\0signalContextMenuEvent\0"
00051 "\0pointIdentifier\0signalDraggedDigFile\0"
00052 "signalDraggedImage\0signalDraggedImageUrl\0"
00053 "signalKeyPress\0Qt::Key\0atLeastOneSelectedItem\0"
00054 "signalLeave\0signalMouseMove\0"
00055 "signalMousePress\0signalMouseRelease\0"
00056 "signalViewZoomIn\0signalViewZoomOut"
00057 };
00058 #undef QT_MOC_LITERAL
00059
00060 static const uint qt_meta_data_GraphicsView[] = {
00061
00062
00063 7,
00064 0,
00065 0, 0,
00066 11, 14,
00067 0, 0,
00068 0, 0,
00069 0, 0,
00070 0,
00071 11,
00072
00073
00074 1, 1, 69, 2, 0x06 ,
00075 4, 1, 72, 2, 0x06 ,
00076 5, 1, 75, 2, 0x06 ,
00077 6, 1, 78, 2, 0x06 ,
00078 7, 2, 81, 2, 0x06 ,
00079 10, 0, 86, 2, 0x06 ,
00080 11, 1, 87, 2, 0x06 ,
00081 12, 1, 90, 2, 0x06 ,
00082 13, 1, 93, 2, 0x06 ,
00083 14, 0, 96, 2, 0x06 ,
00084 15, 0, 97, 2, 0x06 ,
00085
00086
00087 QMetaType::Void, QMetaType::QString, 3,
00088 QMetaType::Void, QMetaType::QString, 2,
00089 QMetaType::Void, QMetaType::QImage, 2,
00090 QMetaType::Void, QMetaType::QUrl, 2,
00091 QMetaType::Void, 0x80000000 | 8, QMetaType::Bool, 2, 9,
00092 QMetaType::Void,
00093 QMetaType::Void, QMetaType::QPointF, 2,
00094 QMetaType::Void, QMetaType::QPointF, 2,
00095 QMetaType::Void, QMetaType::QPointF, 2,
00096 QMetaType::Void,
00097 QMetaType::Void,
00098
00099 0
00100 };
00101
00102 void GraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
00103 {
00104 if (_c == QMetaObject::InvokeMetaMethod) {
00105 GraphicsView *_t = static_cast<GraphicsView *>(_o);
00106 Q_UNUSED(_t)
00107 switch (_id) {
00108 case 0: _t->signalContextMenuEvent((*reinterpret_cast< QString(*)>(_a[1]))); break;
00109 case 1: _t->signalDraggedDigFile((*reinterpret_cast< QString(*)>(_a[1]))); break;
00110 case 2: _t->signalDraggedImage((*reinterpret_cast< QImage(*)>(_a[1]))); break;
00111 case 3: _t->signalDraggedImageUrl((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
00112 case 4: _t->signalKeyPress((*reinterpret_cast< Qt::Key(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
00113 case 5: _t->signalLeave(); break;
00114 case 6: _t->signalMouseMove((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
00115 case 7: _t->signalMousePress((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
00116 case 8: _t->signalMouseRelease((*reinterpret_cast< QPointF(*)>(_a[1]))); break;
00117 case 9: _t->signalViewZoomIn(); break;
00118 case 10: _t->signalViewZoomOut(); break;
00119 default: ;
00120 }
00121 } else if (_c == QMetaObject::IndexOfMethod) {
00122 int *result = reinterpret_cast<int *>(_a[0]);
00123 void **func = reinterpret_cast<void **>(_a[1]);
00124 {
00125 typedef void (GraphicsView::*_t)(QString );
00126 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalContextMenuEvent)) {
00127 *result = 0;
00128 return;
00129 }
00130 }
00131 {
00132 typedef void (GraphicsView::*_t)(QString );
00133 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalDraggedDigFile)) {
00134 *result = 1;
00135 return;
00136 }
00137 }
00138 {
00139 typedef void (GraphicsView::*_t)(QImage );
00140 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalDraggedImage)) {
00141 *result = 2;
00142 return;
00143 }
00144 }
00145 {
00146 typedef void (GraphicsView::*_t)(QUrl );
00147 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalDraggedImageUrl)) {
00148 *result = 3;
00149 return;
00150 }
00151 }
00152 {
00153 typedef void (GraphicsView::*_t)(Qt::Key , bool );
00154 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalKeyPress)) {
00155 *result = 4;
00156 return;
00157 }
00158 }
00159 {
00160 typedef void (GraphicsView::*_t)();
00161 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalLeave)) {
00162 *result = 5;
00163 return;
00164 }
00165 }
00166 {
00167 typedef void (GraphicsView::*_t)(QPointF );
00168 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalMouseMove)) {
00169 *result = 6;
00170 return;
00171 }
00172 }
00173 {
00174 typedef void (GraphicsView::*_t)(QPointF );
00175 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalMousePress)) {
00176 *result = 7;
00177 return;
00178 }
00179 }
00180 {
00181 typedef void (GraphicsView::*_t)(QPointF );
00182 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalMouseRelease)) {
00183 *result = 8;
00184 return;
00185 }
00186 }
00187 {
00188 typedef void (GraphicsView::*_t)();
00189 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalViewZoomIn)) {
00190 *result = 9;
00191 return;
00192 }
00193 }
00194 {
00195 typedef void (GraphicsView::*_t)();
00196 if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::signalViewZoomOut)) {
00197 *result = 10;
00198 return;
00199 }
00200 }
00201 }
00202 }
00203
00204 const QMetaObject GraphicsView::staticMetaObject = {
00205 { &QGraphicsView::staticMetaObject, qt_meta_stringdata_GraphicsView.data,
00206 qt_meta_data_GraphicsView, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
00207 };
00208
00209
00210 const QMetaObject *GraphicsView::metaObject() const
00211 {
00212 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
00213 }
00214
00215 void *GraphicsView::qt_metacast(const char *_clname)
00216 {
00217 if (!_clname) return Q_NULLPTR;
00218 if (!strcmp(_clname, qt_meta_stringdata_GraphicsView.stringdata0))
00219 return static_cast<void*>(const_cast< GraphicsView*>(this));
00220 return QGraphicsView::qt_metacast(_clname);
00221 }
00222
00223 int GraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00224 {
00225 _id = QGraphicsView::qt_metacall(_c, _id, _a);
00226 if (_id < 0)
00227 return _id;
00228 if (_c == QMetaObject::InvokeMetaMethod) {
00229 if (_id < 11)
00230 qt_static_metacall(this, _c, _id, _a);
00231 _id -= 11;
00232 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
00233 if (_id < 11)
00234 *reinterpret_cast<int*>(_a[0]) = -1;
00235 _id -= 11;
00236 }
00237 return _id;
00238 }
00239
00240
00241 void GraphicsView::signalContextMenuEvent(QString _t1)
00242 {
00243 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00244 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00245 }
00246
00247
00248 void GraphicsView::signalDraggedDigFile(QString _t1)
00249 {
00250 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00251 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00252 }
00253
00254
00255 void GraphicsView::signalDraggedImage(QImage _t1)
00256 {
00257 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00258 QMetaObject::activate(this, &staticMetaObject, 2, _a);
00259 }
00260
00261
00262 void GraphicsView::signalDraggedImageUrl(QUrl _t1)
00263 {
00264 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00265 QMetaObject::activate(this, &staticMetaObject, 3, _a);
00266 }
00267
00268
00269 void GraphicsView::signalKeyPress(Qt::Key _t1, bool _t2)
00270 {
00271 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
00272 QMetaObject::activate(this, &staticMetaObject, 4, _a);
00273 }
00274
00275
00276 void GraphicsView::signalLeave()
00277 {
00278 QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
00279 }
00280
00281
00282 void GraphicsView::signalMouseMove(QPointF _t1)
00283 {
00284 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00285 QMetaObject::activate(this, &staticMetaObject, 6, _a);
00286 }
00287
00288
00289 void GraphicsView::signalMousePress(QPointF _t1)
00290 {
00291 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00292 QMetaObject::activate(this, &staticMetaObject, 7, _a);
00293 }
00294
00295
00296 void GraphicsView::signalMouseRelease(QPointF _t1)
00297 {
00298 void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00299 QMetaObject::activate(this, &staticMetaObject, 8, _a);
00300 }
00301
00302
00303 void GraphicsView::signalViewZoomIn()
00304 {
00305 QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
00306 }
00307
00308
00309 void GraphicsView::signalViewZoomOut()
00310 {
00311 QMetaObject::activate(this, &staticMetaObject, 10, Q_NULLPTR);
00312 }
00313 QT_END_MOC_NAMESPACE