summaryrefslogtreecommitdiffstats
path: root/src/sensors
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-17 14:37:27 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-18 08:02:57 +0000
commit7a396992b19b440c236e3a8f483698fd0abee5e4 (patch)
treefd858371b1011599fb7294352d4ae806c07cd4c7 /src/sensors
parent6452e1d21df010541900aa2fd4baa9e89c5fd382 (diff)
Remove BlackBerry as supported platform from QtSensors
[ChangeLog][QtSensors][Platform Specific Changes] Removed support for BlackBerry 10 from QtSensors. Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/sensors')
-rw-r--r--src/sensors/doc/src/compatmap.qdoc19
-rw-r--r--src/sensors/qaltimeter.cpp6
-rw-r--r--src/sensors/qsensor.cpp7
3 files changed, 1 insertions, 31 deletions
diff --git a/src/sensors/doc/src/compatmap.qdoc b/src/sensors/doc/src/compatmap.qdoc
index 74fff2a5..1b9bfa6c 100644
--- a/src/sensors/doc/src/compatmap.qdoc
+++ b/src/sensors/doc/src/compatmap.qdoc
@@ -53,7 +53,6 @@
<tbody>
<tr>
<td><b>Feature</b></td>
- <td><b>Blackberry</b></td>
<td><b>Android</b></td>
<td><b>Linux</b></td>
<td><b>iOS</b></td>
@@ -69,13 +68,11 @@
<td bgcolor="green"></td>
<td bgcolor="green"></td>
<td bgcolor="green"></td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="green"></td>
</tr>
<tr>
<td nowrap="nowrap">Altimeter</td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -86,7 +83,6 @@
</tr>
<tr>
<td nowrap="nowrap">Ambient Light Sensor</td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -97,7 +93,6 @@
</tr>
<tr>
<td nowrap="nowrap">Ambient Temperature Sensor</td>
- <td bgcolor="gray"></td>
<td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -108,7 +103,6 @@
</tr>
<tr>
<td nowrap="nowrap">Compass</td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="green"></td>
@@ -119,7 +113,6 @@
</tr>
<tr>
<td nowrap="nowrap">Distance</td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -131,7 +124,6 @@
<tr>
<td nowrap="nowrap">Gyroscope</td>
<td bgcolor="green"></td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="green"></td>
<td bgcolor="green"></td>
@@ -141,7 +133,6 @@
</tr>
<tr>
<td nowrap="nowrap">Holster Sensor</td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -152,7 +143,6 @@
</tr>
<tr>
<td nowrap="nowrap">IR Proximity Sensor</td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -164,7 +154,6 @@
<tr>
<td nowrap="nowrap">Light Sensor</td>
<td bgcolor="green"></td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -175,7 +164,6 @@
<tr>
<td nowrap="nowrap">Magnetometer</td>
<td bgcolor="green"></td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="green"></td>
<td bgcolor="gray"></td>
@@ -185,7 +173,6 @@
</tr>
<tr>
<td nowrap="nowrap">Orientation Sensor</td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -197,7 +184,6 @@
<tr>
<td nowrap="nowrap">Pressure Sensor</td>
<td bgcolor="green"></td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
@@ -208,7 +194,6 @@
<tr>
<td nowrap="nowrap">Proximity Sensor</td>
<td bgcolor="green"></td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="green"></td>
<td bgcolor="gray"></td>
@@ -219,7 +204,6 @@
<tr>
<td nowrap="nowrap">Rotation Sensor</td>
<td bgcolor="green"></td>
- <td bgcolor="green"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="green"></td>
@@ -236,7 +220,6 @@
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
- <td bgcolor="gray"></td>
</tr>
<tr>
<td nowrap="nowrap">Tilt Sensor</td>
@@ -245,7 +228,6 @@
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
- <td bgcolor="gray"></td>
<td bgcolor="green"></td>
<td bgcolor="gray"></td>
</tr>
@@ -257,7 +239,6 @@
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
<td bgcolor="gray"></td>
- <td bgcolor="gray"></td>
<td bgcolor="green"></td>
</tr>
</table>
diff --git a/src/sensors/qaltimeter.cpp b/src/sensors/qaltimeter.cpp
index b1943d8d..c88ab843 100644
--- a/src/sensors/qaltimeter.cpp
+++ b/src/sensors/qaltimeter.cpp
@@ -46,12 +46,6 @@ IMPLEMENT_READING(QAltimeterReading)
\brief The QAltimeterReading class holds readings from the altimeter sensor.
The altitude is reported in meters relative to mean sea level.
-
- On BlackBerry, the altimeter uses a combination of pressure and location to determine
- the altitude, as using pressure alone would yield to inaccurate results due to changes
- in air pressure caused by the weather. The location information is used to compensate for
- the weather. This requires that the user has enabled location services in the global
- settings.
*/
/*!
diff --git a/src/sensors/qsensor.cpp b/src/sensors/qsensor.cpp
index 82eae194..b1916040 100644
--- a/src/sensors/qsensor.cpp
+++ b/src/sensors/qsensor.cpp
@@ -1114,17 +1114,12 @@ void QSensor::setEfficientBufferSize(int efficientBufferSize)
When the sensor is started with buffering option, values are collected from that
moment onwards. There is no pre-existing buffer that can be utilized.
- Some backends like Blackberry only support enabling or disabling the buffer and do not give
+ Some backends only support enabling or disabling the buffer and do not give
control over the size. In this case, the maxBufferSize and efficientBufferSize properties
might not be set at all, even though buffering is supported. Setting the bufferSize property
to any value greater than 1 will enable buffering. After the sensor has been started,
the bufferSize property will be set to the actual value by the backend.
- On Blackberry, buffering will not wait until the buffer is full to deliver new
- readings. Instead, the buffer will be used if the backend does not manage to retrieve the readings
- in time, for example when the event loop is blocked for too long. Without a buffer, these readings
- would simply be dropped.
-
\sa QSensor::maxBufferSize, QSensor::efficientBufferSize
*/