You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

270 lines
11 KiB

/****************************************************************************
** Meta object code from reading C++ file 'mapcontrol.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "mapcontrol.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mapcontrol.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_MapControl_t {
QByteArrayData data[32];
char stringdata0[322];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MapControl_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MapControl_t qt_meta_stringdata_MapControl = {
{
QT_MOC_LITERAL(0, 0, 10), // "MapControl"
QT_MOC_LITERAL(1, 11, 20), // "mouseEventCoordinate"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 18), // "const QMouseEvent*"
QT_MOC_LITERAL(4, 52, 4), // "evnt"
QT_MOC_LITERAL(5, 57, 10), // "coordinate"
QT_MOC_LITERAL(6, 68, 10), // "boxDragged"
QT_MOC_LITERAL(7, 79, 15), // "geometryClicked"
QT_MOC_LITERAL(8, 95, 9), // "Geometry*"
QT_MOC_LITERAL(9, 105, 8), // "geometry"
QT_MOC_LITERAL(10, 114, 8), // "coord_px"
QT_MOC_LITERAL(11, 123, 11), // "viewChanged"
QT_MOC_LITERAL(12, 135, 4), // "zoom"
QT_MOC_LITERAL(13, 140, 6), // "zoomIn"
QT_MOC_LITERAL(14, 147, 7), // "zoomOut"
QT_MOC_LITERAL(15, 155, 7), // "setZoom"
QT_MOC_LITERAL(16, 163, 9), // "zoomlevel"
QT_MOC_LITERAL(17, 173, 10), // "scrollLeft"
QT_MOC_LITERAL(18, 184, 5), // "pixel"
QT_MOC_LITERAL(19, 190, 11), // "scrollRight"
QT_MOC_LITERAL(20, 202, 8), // "scrollUp"
QT_MOC_LITERAL(21, 211, 10), // "scrollDown"
QT_MOC_LITERAL(22, 222, 6), // "scroll"
QT_MOC_LITERAL(23, 229, 13), // "updateRequest"
QT_MOC_LITERAL(24, 243, 4), // "rect"
QT_MOC_LITERAL(25, 248, 16), // "updateRequestNew"
QT_MOC_LITERAL(26, 265, 6), // "resize"
QT_MOC_LITERAL(27, 272, 7), // "newSize"
QT_MOC_LITERAL(28, 280, 4), // "tick"
QT_MOC_LITERAL(29, 285, 15), // "loadingFinished"
QT_MOC_LITERAL(30, 301, 15), // "positionChanged"
QT_MOC_LITERAL(31, 317, 4) // "geom"
},
"MapControl\0mouseEventCoordinate\0\0"
"const QMouseEvent*\0evnt\0coordinate\0"
"boxDragged\0geometryClicked\0Geometry*\0"
"geometry\0coord_px\0viewChanged\0zoom\0"
"zoomIn\0zoomOut\0setZoom\0zoomlevel\0"
"scrollLeft\0pixel\0scrollRight\0scrollUp\0"
"scrollDown\0scroll\0updateRequest\0rect\0"
"updateRequestNew\0resize\0newSize\0tick\0"
"loadingFinished\0positionChanged\0geom"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MapControl[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
22, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
4, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 124, 2, 0x06 /* Public */,
6, 1, 129, 2, 0x06 /* Public */,
7, 2, 132, 2, 0x06 /* Public */,
11, 2, 137, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
13, 0, 142, 2, 0x0a /* Public */,
14, 0, 143, 2, 0x0a /* Public */,
15, 1, 144, 2, 0x0a /* Public */,
17, 1, 147, 2, 0x0a /* Public */,
17, 0, 150, 2, 0x2a /* Public | MethodCloned */,
19, 1, 151, 2, 0x0a /* Public */,
19, 0, 154, 2, 0x2a /* Public | MethodCloned */,
20, 1, 155, 2, 0x0a /* Public */,
20, 0, 158, 2, 0x2a /* Public | MethodCloned */,
21, 1, 159, 2, 0x0a /* Public */,
21, 0, 162, 2, 0x2a /* Public | MethodCloned */,
22, 1, 163, 2, 0x0a /* Public */,
23, 1, 166, 2, 0x0a /* Public */,
25, 0, 169, 2, 0x0a /* Public */,
26, 1, 170, 2, 0x0a /* Public */,
28, 0, 173, 2, 0x0a /* Public */,
29, 0, 174, 2, 0x0a /* Public */,
30, 1, 175, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, QMetaType::QPointF, 4, 5,
QMetaType::Void, QMetaType::QRectF, 2,
QMetaType::Void, 0x80000000 | 8, QMetaType::QPoint, 9, 10,
QMetaType::Void, QMetaType::QPointF, QMetaType::Int, 5, 12,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 16,
QMetaType::Void, QMetaType::Int, 18,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 18,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 18,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 18,
QMetaType::Void,
QMetaType::Void, QMetaType::QPoint, 22,
QMetaType::Void, QMetaType::QRect, 24,
QMetaType::Void,
QMetaType::Void, QMetaType::QSize, 27,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 8, 31,
0 // eod
};
void MapControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
MapControl *_t = static_cast<MapControl *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->mouseEventCoordinate((*reinterpret_cast< const QMouseEvent*(*)>(_a[1])),(*reinterpret_cast< const QPointF(*)>(_a[2]))); break;
case 1: _t->boxDragged((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
case 2: _t->geometryClicked((*reinterpret_cast< Geometry*(*)>(_a[1])),(*reinterpret_cast< QPoint(*)>(_a[2]))); break;
case 3: _t->viewChanged((*reinterpret_cast< const QPointF(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 4: _t->zoomIn(); break;
case 5: _t->zoomOut(); break;
case 6: _t->setZoom((*reinterpret_cast< int(*)>(_a[1]))); break;
case 7: _t->scrollLeft((*reinterpret_cast< int(*)>(_a[1]))); break;
case 8: _t->scrollLeft(); break;
case 9: _t->scrollRight((*reinterpret_cast< int(*)>(_a[1]))); break;
case 10: _t->scrollRight(); break;
case 11: _t->scrollUp((*reinterpret_cast< int(*)>(_a[1]))); break;
case 12: _t->scrollUp(); break;
case 13: _t->scrollDown((*reinterpret_cast< int(*)>(_a[1]))); break;
case 14: _t->scrollDown(); break;
case 15: _t->scroll((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
case 16: _t->updateRequest((*reinterpret_cast< QRect(*)>(_a[1]))); break;
case 17: _t->updateRequestNew(); break;
case 18: _t->resize((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
case 19: _t->tick(); break;
case 20: _t->loadingFinished(); break;
case 21: _t->positionChanged((*reinterpret_cast< Geometry*(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (MapControl::*_t)(const QMouseEvent * , const QPointF );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapControl::mouseEventCoordinate)) {
*result = 0;
}
}
{
typedef void (MapControl::*_t)(const QRectF );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapControl::boxDragged)) {
*result = 1;
}
}
{
typedef void (MapControl::*_t)(Geometry * , QPoint );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapControl::geometryClicked)) {
*result = 2;
}
}
{
typedef void (MapControl::*_t)(const QPointF & , int ) const;
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapControl::viewChanged)) {
*result = 3;
}
}
}
}
const QMetaObject MapControl::staticMetaObject = {
{ &QFrame::staticMetaObject, qt_meta_stringdata_MapControl.data,
qt_meta_data_MapControl, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *MapControl::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *MapControl::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_MapControl.stringdata0))
return static_cast<void*>(const_cast< MapControl*>(this));
return QFrame::qt_metacast(_clname);
}
int MapControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QFrame::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 22)
qt_static_metacall(this, _c, _id, _a);
_id -= 22;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 22)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 22;
}
return _id;
}
/*
// SIGNAL 0
void MapControl::mouseEventCoordinate(const QMouseEvent * _t1, const QPointF _t2)
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void MapControl::boxDragged(const QRectF _t1)
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void MapControl::geometryClicked(Geometry * _t1, QPoint _t2)
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void MapControl::viewChanged(const QPointF & _t1, int _t2)const
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(const_cast< MapControl *>(this), &staticMetaObject, 3, _a);
}
*/
QT_END_MOC_NAMESPACE