198 lines
7.2 KiB
C++
198 lines
7.2 KiB
C++
|
|
/****************************************************************************
|
||
|
|
** Meta object code from reading C++ file 'simulscene.h'
|
||
|
|
**
|
||
|
|
** Created: Sun Nov 23 17:17:43 2008
|
||
|
|
** by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
|
||
|
|
**
|
||
|
|
** WARNING! All changes made in this file will be lost!
|
||
|
|
*****************************************************************************/
|
||
|
|
|
||
|
|
#include "../simulscene.h"
|
||
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||
|
|
#error "The header file 'simulscene.h' doesn't include <QObject>."
|
||
|
|
#elif Q_MOC_OUTPUT_REVISION != 59
|
||
|
|
#error "This file was generated using the moc from 4.4.3. 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
|
||
|
|
static const uint qt_meta_data_SimulScene[] = {
|
||
|
|
|
||
|
|
// content:
|
||
|
|
1, // revision
|
||
|
|
0, // classname
|
||
|
|
0, 0, // classinfo
|
||
|
|
30, 10, // methods
|
||
|
|
0, 0, // properties
|
||
|
|
0, 0, // enums/sets
|
||
|
|
|
||
|
|
// signals: signature, parameters, type, tag, flags
|
||
|
|
17, 12, 11, 11, 0x05,
|
||
|
|
45, 39, 11, 11, 0x05,
|
||
|
|
75, 63, 11, 11, 0x05,
|
||
|
|
113, 102, 11, 11, 0x05,
|
||
|
|
147, 139, 11, 11, 0x05,
|
||
|
|
190, 181, 11, 11, 0x05,
|
||
|
|
|
||
|
|
// slots: signature, parameters, type, tag, flags
|
||
|
|
219, 12, 11, 11, 0x0a,
|
||
|
|
243, 11, 11, 11, 0x0a,
|
||
|
|
256, 11, 11, 11, 0x0a,
|
||
|
|
274, 268, 11, 11, 0x0a,
|
||
|
|
291, 11, 11, 11, 0x0a,
|
||
|
|
323, 318, 11, 11, 0x0a,
|
||
|
|
346, 11, 11, 11, 0x0a,
|
||
|
|
365, 39, 11, 11, 0x0a,
|
||
|
|
388, 379, 11, 11, 0x0a,
|
||
|
|
417, 11, 410, 11, 0x0a,
|
||
|
|
433, 139, 11, 11, 0x0a,
|
||
|
|
460, 11, 11, 11, 0x2a,
|
||
|
|
483, 181, 11, 11, 0x0a,
|
||
|
|
518, 508, 11, 11, 0x0a,
|
||
|
|
552, 11, 11, 11, 0x0a,
|
||
|
|
580, 508, 11, 11, 0x0a,
|
||
|
|
612, 11, 11, 11, 0x0a,
|
||
|
|
638, 508, 11, 11, 0x0a,
|
||
|
|
673, 11, 11, 11, 0x0a,
|
||
|
|
702, 508, 11, 11, 0x0a,
|
||
|
|
740, 11, 11, 11, 0x0a,
|
||
|
|
777, 772, 11, 11, 0x08,
|
||
|
|
802, 11, 11, 11, 0x28,
|
||
|
|
823, 11, 11, 11, 0x08,
|
||
|
|
|
||
|
|
0 // eod
|
||
|
|
};
|
||
|
|
|
||
|
|
static const char qt_meta_stringdata_SimulScene[] = {
|
||
|
|
"SimulScene\0\0mode\0sceneModeChanged(int)\0"
|
||
|
|
"steps\0stepsChanged(int)\0timePerStep\0"
|
||
|
|
"timePerStepChanged(double)\0meterPerPx\0"
|
||
|
|
"meterPerPxChanged(double)\0visible\0"
|
||
|
|
"flightPathVisibilityChanged(bool)\0"
|
||
|
|
"duration\0timeLineDurationChanged(int)\0"
|
||
|
|
"setSceneMode(SceneMode)\0startTimer()\0"
|
||
|
|
"stopTimer()\0yesno\0pauseTimer(bool)\0"
|
||
|
|
"deleteSelectedFieldItems()\0time\0"
|
||
|
|
"setTimePerStep(double)\0startCalculation()\0"
|
||
|
|
"setSteps(int)\0theValue\0setMeterPerPx(double)\0"
|
||
|
|
"double\0getMeterPerPx()\0"
|
||
|
|
"setFlightPathVisible(bool)\0"
|
||
|
|
"setFlightPathVisible()\0setTimeLineDuration(int)\0"
|
||
|
|
"fieldItem\0moveFieldItemDown(QGraphicsItem*)\0"
|
||
|
|
"moveSelectedFieldItemDown()\0"
|
||
|
|
"moveFieldItemUp(QGraphicsItem*)\0"
|
||
|
|
"moveSelectedFieldItemUp()\0"
|
||
|
|
"moveFieldItemOnTop(QGraphicsItem*)\0"
|
||
|
|
"moveSelectedFieldItemOnTop()\0"
|
||
|
|
"moveFieldItemOnBottom(QGraphicsItem*)\0"
|
||
|
|
"moveSelectedFieldItemOnBottom()\0move\0"
|
||
|
|
"displayResizeRects(bool)\0displayResizeRects()\0"
|
||
|
|
"moveResizeRects()\0"
|
||
|
|
};
|
||
|
|
|
||
|
|
const QMetaObject SimulScene::staticMetaObject = {
|
||
|
|
{ &QGraphicsScene::staticMetaObject, qt_meta_stringdata_SimulScene,
|
||
|
|
qt_meta_data_SimulScene, 0 }
|
||
|
|
};
|
||
|
|
|
||
|
|
const QMetaObject *SimulScene::metaObject() const
|
||
|
|
{
|
||
|
|
return &staticMetaObject;
|
||
|
|
}
|
||
|
|
|
||
|
|
void *SimulScene::qt_metacast(const char *_clname)
|
||
|
|
{
|
||
|
|
if (!_clname) return 0;
|
||
|
|
if (!strcmp(_clname, qt_meta_stringdata_SimulScene))
|
||
|
|
return static_cast<void*>(const_cast< SimulScene*>(this));
|
||
|
|
return QGraphicsScene::qt_metacast(_clname);
|
||
|
|
}
|
||
|
|
|
||
|
|
int SimulScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||
|
|
{
|
||
|
|
_id = QGraphicsScene::qt_metacall(_c, _id, _a);
|
||
|
|
if (_id < 0)
|
||
|
|
return _id;
|
||
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||
|
|
switch (_id) {
|
||
|
|
case 0: sceneModeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||
|
|
case 1: stepsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||
|
|
case 2: timePerStepChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||
|
|
case 3: meterPerPxChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||
|
|
case 4: flightPathVisibilityChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||
|
|
case 5: timeLineDurationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||
|
|
case 6: setSceneMode((*reinterpret_cast< SceneMode(*)>(_a[1]))); break;
|
||
|
|
case 7: startTimer(); break;
|
||
|
|
case 8: stopTimer(); break;
|
||
|
|
case 9: pauseTimer((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||
|
|
case 10: deleteSelectedFieldItems(); break;
|
||
|
|
case 11: setTimePerStep((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||
|
|
case 12: startCalculation(); break;
|
||
|
|
case 13: setSteps((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||
|
|
case 14: setMeterPerPx((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||
|
|
case 15: { double _r = getMeterPerPx();
|
||
|
|
if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; } break;
|
||
|
|
case 16: setFlightPathVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||
|
|
case 17: setFlightPathVisible(); break;
|
||
|
|
case 18: setTimeLineDuration((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||
|
|
case 19: moveFieldItemDown((*reinterpret_cast< QGraphicsItem*(*)>(_a[1]))); break;
|
||
|
|
case 20: moveSelectedFieldItemDown(); break;
|
||
|
|
case 21: moveFieldItemUp((*reinterpret_cast< QGraphicsItem*(*)>(_a[1]))); break;
|
||
|
|
case 22: moveSelectedFieldItemUp(); break;
|
||
|
|
case 23: moveFieldItemOnTop((*reinterpret_cast< QGraphicsItem*(*)>(_a[1]))); break;
|
||
|
|
case 24: moveSelectedFieldItemOnTop(); break;
|
||
|
|
case 25: moveFieldItemOnBottom((*reinterpret_cast< QGraphicsItem*(*)>(_a[1]))); break;
|
||
|
|
case 26: moveSelectedFieldItemOnBottom(); break;
|
||
|
|
case 27: displayResizeRects((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||
|
|
case 28: displayResizeRects(); break;
|
||
|
|
case 29: moveResizeRects(); break;
|
||
|
|
}
|
||
|
|
_id -= 30;
|
||
|
|
}
|
||
|
|
return _id;
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 0
|
||
|
|
void SimulScene::sceneModeChanged(int _t1)
|
||
|
|
{
|
||
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 1
|
||
|
|
void SimulScene::stepsChanged(int _t1)
|
||
|
|
{
|
||
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 2
|
||
|
|
void SimulScene::timePerStepChanged(double _t1)
|
||
|
|
{
|
||
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 3
|
||
|
|
void SimulScene::meterPerPxChanged(double _t1)
|
||
|
|
{
|
||
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 4
|
||
|
|
void SimulScene::flightPathVisibilityChanged(bool _t1)
|
||
|
|
{
|
||
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 5
|
||
|
|
void SimulScene::timeLineDurationChanged(int _t1)
|
||
|
|
{
|
||
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||
|
|
}
|
||
|
|
QT_END_MOC_NAMESPACE
|