improved desktop UI
[mardrone] / mardrone / gauges / moc_gaugehorizon.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'gaugehorizon.h'
3 **
4 ** Created: Tue Apr 10 12:16:15 2012
5 **      by: The Qt Meta Object Compiler version 63 (Qt 4.8.0)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
9
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.)"
17 #endif
18
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_GaugeHorizon[] = {
21
22  // content:
23        6,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        0,    0, // methods
27        4,   14, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        0,       // signalCount
32
33  // properties: name, type, flags
34       20,   13, 0x43095103,
35       39,   13, 0x43095103,
36       55,   13, 0x43095103,
37       76,   72, 0x02095103,
38
39        0        // eod
40 };
41
42 static const char qt_meta_stringdata_GaugeHorizon[] = {
43     "GaugeHorizon\0QColor\0horizonGroundColor\0"
44     "horizonSkyColor\0horizonLineColor\0int\0"
45     "yPosition\0"
46 };
47
48 void GaugeHorizon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
49 {
50     Q_UNUSED(_o);
51     Q_UNUSED(_id);
52     Q_UNUSED(_c);
53     Q_UNUSED(_a);
54 }
55
56 const QMetaObjectExtraData GaugeHorizon::staticMetaObjectExtraData = {
57     0,  qt_static_metacall 
58 };
59
60 const QMetaObject GaugeHorizon::staticMetaObject = {
61     { &Gauge::staticMetaObject, qt_meta_stringdata_GaugeHorizon,
62       qt_meta_data_GaugeHorizon, &staticMetaObjectExtraData }
63 };
64
65 #ifdef Q_NO_DATA_RELOCATION
66 const QMetaObject &GaugeHorizon::getStaticMetaObject() { return staticMetaObject; }
67 #endif //Q_NO_DATA_RELOCATION
68
69 const QMetaObject *GaugeHorizon::metaObject() const
70 {
71     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
72 }
73
74 void *GaugeHorizon::qt_metacast(const char *_clname)
75 {
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);
80 }
81
82 int GaugeHorizon::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
83 {
84     _id = Gauge::qt_metacall(_c, _id, _a);
85     if (_id < 0)
86         return _id;
87     
88 #ifndef QT_NO_PROPERTIES
89      if (_c == QMetaObject::ReadProperty) {
90         void *_v = _a[0];
91         switch (_id) {
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;
96         }
97         _id -= 4;
98     } else if (_c == QMetaObject::WriteProperty) {
99         void *_v = _a[0];
100         switch (_id) {
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;
105         }
106         _id -= 4;
107     } else if (_c == QMetaObject::ResetProperty) {
108         _id -= 4;
109     } else if (_c == QMetaObject::QueryPropertyDesignable) {
110         _id -= 4;
111     } else if (_c == QMetaObject::QueryPropertyScriptable) {
112         _id -= 4;
113     } else if (_c == QMetaObject::QueryPropertyStored) {
114         _id -= 4;
115     } else if (_c == QMetaObject::QueryPropertyEditable) {
116         _id -= 4;
117     } else if (_c == QMetaObject::QueryPropertyUser) {
118         _id -= 4;
119     }
120 #endif // QT_NO_PROPERTIES
121     return _id;
122 }
123 QT_END_MOC_NAMESPACE