equal
deleted
inserted
replaced
61 |
61 |
62 class QSensorPrivate |
62 class QSensorPrivate |
63 { |
63 { |
64 public: |
64 public: |
65 QSensorPrivate() |
65 QSensorPrivate() |
66 : supportedUpdatePolicies(QSensor::Undefined) |
66 : identifier() |
67 , updatePolicy(QSensor::Undefined) |
67 , type() |
68 , updateInterval(0) |
68 , outputRange(-1) |
|
69 , dataRate(0) |
69 , backend(0) |
70 , backend(0) |
70 , signalEnabled(true) |
|
71 , active(false) |
71 , active(false) |
|
72 , busy(false) |
72 , device_reading(0) |
73 , device_reading(0) |
73 , filter_reading(0) |
74 , filter_reading(0) |
74 , cache_reading(0) |
75 , cache_reading(0) |
75 , complete(true) |
76 , error(0) |
76 { |
77 { |
77 } |
78 } |
78 |
79 |
79 // meta-data |
80 // meta-data |
80 QByteArray identifier; |
81 QByteArray identifier; |
81 QByteArray type; |
82 QByteArray type; |
82 |
83 |
|
84 QString description; |
|
85 |
|
86 qoutputrangelist outputRanges; |
|
87 int outputRange; |
|
88 |
83 // policy |
89 // policy |
84 QSensor::UpdatePolicies supportedUpdatePolicies; |
90 qrangelist availableDataRates; |
85 QSensor::UpdatePolicy updatePolicy; |
91 int dataRate; |
86 int updateInterval; |
|
87 |
92 |
88 QSensorBackend *backend; |
93 QSensorBackend *backend; |
89 QFilterList filters; |
94 QFilterList filters; |
90 bool signalEnabled; |
|
91 bool active; |
95 bool active; |
|
96 bool busy; |
92 QSensorReading *device_reading; |
97 QSensorReading *device_reading; |
93 QSensorReading *filter_reading; |
98 QSensorReading *filter_reading; |
94 QSensorReading *cache_reading; |
99 QSensorReading *cache_reading; |
95 |
100 |
96 bool complete; |
101 int error; |
97 }; |
102 }; |
98 |
103 |
99 class QSensorReadingPrivate |
104 class QSensorReadingPrivate |
100 { |
105 { |
101 public: |
106 public: |