1 /****************************************************************************
2 ** Meta object code from reading C++ file 'gauge.h'
4 ** Created: Tue Apr 10 12:16:12 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 *****************************************************************************/
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.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_Gauge[] = {
33 // properties: name, type, flags
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"
72 void Gauge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80 const QMetaObjectExtraData Gauge::staticMetaObjectExtraData = {
84 const QMetaObject Gauge::staticMetaObject = {
85 { &QGraphicsWidget::staticMetaObject, qt_meta_stringdata_Gauge,
86 qt_meta_data_Gauge, &staticMetaObjectExtraData }
89 #ifdef Q_NO_DATA_RELOCATION
90 const QMetaObject &Gauge::getStaticMetaObject() { return staticMetaObject; }
91 #endif //Q_NO_DATA_RELOCATION
93 const QMetaObject *Gauge::metaObject() const
95 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
98 void *Gauge::qt_metacast(const char *_clname)
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);
106 int Gauge::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108 _id = QGraphicsWidget::qt_metacall(_c, _id, _a);
112 #ifndef QT_NO_PROPERTIES
113 if (_c == QMetaObject::ReadProperty) {
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;
141 } else if (_c == QMetaObject::WriteProperty) {
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;
169 } else if (_c == QMetaObject::ResetProperty) {
171 } else if (_c == QMetaObject::QueryPropertyDesignable) {
173 } else if (_c == QMetaObject::QueryPropertyScriptable) {
175 } else if (_c == QMetaObject::QueryPropertyStored) {
177 } else if (_c == QMetaObject::QueryPropertyEditable) {
179 } else if (_c == QMetaObject::QueryPropertyUser) {
182 #endif // QT_NO_PROPERTIES