1 /****************************************************************************
2 ** Meta object code from reading C++ file 'gaugehorizon.h'
4 ** Created: Tue Apr 10 12:16:15 2012
5 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.0)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #include "gaugehorizon.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'gaugehorizon.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 63
14 #error "This file was generated using the moc from 4.8.0. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_GaugeHorizon[] = {
33 // properties: name, type, flags
42 static const char qt_meta_stringdata_GaugeHorizon[] = {
43 "GaugeHorizon\0QColor\0horizonGroundColor\0"
44 "horizonSkyColor\0horizonLineColor\0int\0"
48 void GaugeHorizon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
56 const QMetaObjectExtraData GaugeHorizon::staticMetaObjectExtraData = {
60 const QMetaObject GaugeHorizon::staticMetaObject = {
61 { &Gauge::staticMetaObject, qt_meta_stringdata_GaugeHorizon,
62 qt_meta_data_GaugeHorizon, &staticMetaObjectExtraData }
65 #ifdef Q_NO_DATA_RELOCATION
66 const QMetaObject &GaugeHorizon::getStaticMetaObject() { return staticMetaObject; }
67 #endif //Q_NO_DATA_RELOCATION
69 const QMetaObject *GaugeHorizon::metaObject() const
71 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
74 void *GaugeHorizon::qt_metacast(const char *_clname)
76 if (!_clname) return 0;
77 if (!strcmp(_clname, qt_meta_stringdata_GaugeHorizon))
78 return static_cast<void*>(const_cast< GaugeHorizon*>(this));
79 return Gauge::qt_metacast(_clname);
82 int GaugeHorizon::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
84 _id = Gauge::qt_metacall(_c, _id, _a);
88 #ifndef QT_NO_PROPERTIES
89 if (_c == QMetaObject::ReadProperty) {
92 case 0: *reinterpret_cast< QColor*>(_v) = getHorizonGroundColor(); break;
93 case 1: *reinterpret_cast< QColor*>(_v) = getHorizonSkyColor(); break;
94 case 2: *reinterpret_cast< QColor*>(_v) = getHorizonLineColor(); break;
95 case 3: *reinterpret_cast< int*>(_v) = yPosition(); break;
98 } else if (_c == QMetaObject::WriteProperty) {
101 case 0: setHorizonGroundColor(*reinterpret_cast< QColor*>(_v)); break;
102 case 1: setHorizonSkyColor(*reinterpret_cast< QColor*>(_v)); break;
103 case 2: setHorizonLineColor(*reinterpret_cast< QColor*>(_v)); break;
104 case 3: setYPosition(*reinterpret_cast< int*>(_v)); break;
107 } else if (_c == QMetaObject::ResetProperty) {
109 } else if (_c == QMetaObject::QueryPropertyDesignable) {
111 } else if (_c == QMetaObject::QueryPropertyScriptable) {
113 } else if (_c == QMetaObject::QueryPropertyStored) {
115 } else if (_c == QMetaObject::QueryPropertyEditable) {
117 } else if (_c == QMetaObject::QueryPropertyUser) {
120 #endif // QT_NO_PROPERTIES