sync repo
[mardrone] / mardrone / gauges / moc_gauge.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'gauge.h'
3 **
4 ** Created: Tue Apr 10 12:16:12 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 "gauge.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'gauge.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_Gauge[] = {
21
22  // content:
23        6,       // revision
24        0,       // classname
25        0,    0, // classinfo
26        0,    0, // methods
27       23,   14, // properties
28        0,    0, // enums/sets
29        0,    0, // constructors
30        0,       // flags
31        0,       // signalCount
32
33  // properties: name, type, flags
34       14,    6, 0x0a095103,
35       19,    6, 0x0a095103,
36       26,    6, 0x0a095103,
37       40,   34, 0x40095103,
38       52,   45, 0x43095103,
39       58,   45, 0x43095103,
40       68,   45, 0x43095103,
41       84,   80, 0x02095103,
42      101,   95, 0x87095103,
43      108,   95, 0x87095103,
44      114,   95, 0x87095103,
45      127,   95, 0x87095103,
46      131,   95, 0x87095103,
47      136,   95, 0x87095103,
48      143,   95, 0x87095103,
49      151,   95, 0x87095103,
50      165,   95, 0x87095103,
51      177,   95, 0x87095103,
52      188,   95, 0x87095103,
53      198,   95, 0x87095103,
54      210,   95, 0x87095103,
55      223,   80, 0x02095103,
56      241,  233, 0x0009510b,
57
58        0        // eod
59 };
60
61 static const char qt_meta_stringdata_Gauge[] = {
62     "Gauge\0QString\0name\0format\0options\0"
63     "QFont\0font\0QColor\0color\0backColor\0"
64     "borderColor\0int\0gaugeStyle\0float\0"
65     "value2\0value\0displayScale\0low\0high\0"
66     "lowRed\0highRed\0tickIncrement\0tickSpacing\0"
67     "tickLength\0lineWidth\0lowPosition\0"
68     "highPosition\0tickMinor\0QImage*\0"
69     "needleImage\0"
70 };
71
72 void Gauge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73 {
74     Q_UNUSED(_o);
75     Q_UNUSED(_id);
76     Q_UNUSED(_c);
77     Q_UNUSED(_a);
78 }
79
80 const QMetaObjectExtraData Gauge::staticMetaObjectExtraData = {
81     0,  qt_static_metacall 
82 };
83
84 const QMetaObject Gauge::staticMetaObject = {
85     { &QGraphicsWidget::staticMetaObject, qt_meta_stringdata_Gauge,
86       qt_meta_data_Gauge, &staticMetaObjectExtraData }
87 };
88
89 #ifdef Q_NO_DATA_RELOCATION
90 const QMetaObject &Gauge::getStaticMetaObject() { return staticMetaObject; }
91 #endif //Q_NO_DATA_RELOCATION
92
93 const QMetaObject *Gauge::metaObject() const
94 {
95     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
96 }
97
98 void *Gauge::qt_metacast(const char *_clname)
99 {
100     if (!_clname) return 0;
101     if (!strcmp(_clname, qt_meta_stringdata_Gauge))
102         return static_cast<void*>(const_cast< Gauge*>(this));
103     return QGraphicsWidget::qt_metacast(_clname);
104 }
105
106 int Gauge::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107 {
108     _id = QGraphicsWidget::qt_metacall(_c, _id, _a);
109     if (_id < 0)
110         return _id;
111     
112 #ifndef QT_NO_PROPERTIES
113      if (_c == QMetaObject::ReadProperty) {
114         void *_v = _a[0];
115         switch (_id) {
116         case 0: *reinterpret_cast< QString*>(_v) = name(); break;
117         case 1: *reinterpret_cast< QString*>(_v) = format(); break;
118         case 2: *reinterpret_cast< QString*>(_v) = options(); break;
119         case 3: *reinterpret_cast< QFont*>(_v) = getFont(); break;
120         case 4: *reinterpret_cast< QColor*>(_v) = getColor(); break;
121         case 5: *reinterpret_cast< QColor*>(_v) = getBackColor(); break;
122         case 6: *reinterpret_cast< QColor*>(_v) = getBorderColor(); break;
123         case 7: *reinterpret_cast< int*>(_v) = gaugeStyle(); break;
124         case 8: *reinterpret_cast< float*>(_v) = value2(); break;
125         case 9: *reinterpret_cast< float*>(_v) = value(); break;
126         case 10: *reinterpret_cast< float*>(_v) = displayScale(); break;
127         case 11: *reinterpret_cast< float*>(_v) = low(); break;
128         case 12: *reinterpret_cast< float*>(_v) = high(); break;
129         case 13: *reinterpret_cast< float*>(_v) = lowRed(); break;
130         case 14: *reinterpret_cast< float*>(_v) = highRed(); break;
131         case 15: *reinterpret_cast< float*>(_v) = tickIncrement(); break;
132         case 16: *reinterpret_cast< float*>(_v) = tickSpacing(); break;
133         case 17: *reinterpret_cast< float*>(_v) = tickLength(); break;
134         case 18: *reinterpret_cast< float*>(_v) = lineWidth(); break;
135         case 19: *reinterpret_cast< float*>(_v) = lowPosition(); break;
136         case 20: *reinterpret_cast< float*>(_v) = highPosition(); break;
137         case 21: *reinterpret_cast< int*>(_v) = tickMinor(); break;
138         case 22: *reinterpret_cast< QImage**>(_v) = needleImage(); break;
139         }
140         _id -= 23;
141     } else if (_c == QMetaObject::WriteProperty) {
142         void *_v = _a[0];
143         switch (_id) {
144         case 0: setName(*reinterpret_cast< QString*>(_v)); break;
145         case 1: setFormat(*reinterpret_cast< QString*>(_v)); break;
146         case 2: setOptions(*reinterpret_cast< QString*>(_v)); break;
147         case 3: setFont(*reinterpret_cast< QFont*>(_v)); break;
148         case 4: setColor(*reinterpret_cast< QColor*>(_v)); break;
149         case 5: setBackColor(*reinterpret_cast< QColor*>(_v)); break;
150         case 6: setBorderColor(*reinterpret_cast< QColor*>(_v)); break;
151         case 7: setGaugeStyle(*reinterpret_cast< int*>(_v)); break;
152         case 8: setValue2(*reinterpret_cast< float*>(_v)); break;
153         case 9: setValue(*reinterpret_cast< float*>(_v)); break;
154         case 10: setDisplayScale(*reinterpret_cast< float*>(_v)); break;
155         case 11: setLow(*reinterpret_cast< float*>(_v)); break;
156         case 12: setHigh(*reinterpret_cast< float*>(_v)); break;
157         case 13: setLowRed(*reinterpret_cast< float*>(_v)); break;
158         case 14: setHighRed(*reinterpret_cast< float*>(_v)); break;
159         case 15: setTickIncrement(*reinterpret_cast< float*>(_v)); break;
160         case 16: setTickSpacing(*reinterpret_cast< float*>(_v)); break;
161         case 17: setTickLength(*reinterpret_cast< float*>(_v)); break;
162         case 18: setLineWidth(*reinterpret_cast< float*>(_v)); break;
163         case 19: setLowPosition(*reinterpret_cast< float*>(_v)); break;
164         case 20: setHighPosition(*reinterpret_cast< float*>(_v)); break;
165         case 21: setTickMinor(*reinterpret_cast< int*>(_v)); break;
166         case 22: setNeedleImage(*reinterpret_cast< QImage**>(_v)); break;
167         }
168         _id -= 23;
169     } else if (_c == QMetaObject::ResetProperty) {
170         _id -= 23;
171     } else if (_c == QMetaObject::QueryPropertyDesignable) {
172         _id -= 23;
173     } else if (_c == QMetaObject::QueryPropertyScriptable) {
174         _id -= 23;
175     } else if (_c == QMetaObject::QueryPropertyStored) {
176         _id -= 23;
177     } else if (_c == QMetaObject::QueryPropertyEditable) {
178         _id -= 23;
179     } else if (_c == QMetaObject::QueryPropertyUser) {
180         _id -= 23;
181     }
182 #endif // QT_NO_PROPERTIES
183     return _id;
184 }
185 QT_END_MOC_NAMESPACE