| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I4b442f25f4593f2d957ff572b5ec565ff952818b
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
As well as from documentation and usage of Sensors.conf location
Change-Id: I52d657d6799e44a94b3f37bae86445c73e176103
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I5b488a6317af8cef1f31cf03249d115cd424b515
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I6327357de9f84df3db86d714747210fe62547818
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Unfortunately, this involves a (long) round-trip so we start by
registering all the types we know about then unregister and
re-register the ones we're notified about.
Change-Id: I8ae8b4a9037eeb21a65454519945c3c307979a14
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
I did this as a gesture, but could easily be a virtual QSensor.
Change-Id: I95ea97745f8537dd6d6940b290d470d0367383c2
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: I1401314208bb89ba46ed3f18393b1f446682cd93
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: If3a3719f2bf2edc4c2230abf968f836c28eb1efa
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
| |
This appears to be implicit. Now the property documentation is built
correctly.
Change-Id: I3998582fdeabf751a612c379df69f5eb41b9419d
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: I7f35e623f2441871f230688fa3494850f4bdad6d
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: Ie0b8756f3b538b4263298bec9f293f62bf20568c
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: I6d9231e49d9acdfbc64c391f0c80312508943c80
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: I2be34f3af34ff7accc4ba9c0d8157633e25ef785
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
Change-Id: Ia92de27ec25451b64a2e584507ca44485b94745a
Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com>
Reviewed-by: Bernd Weimer <bweimer@rim.com>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
DESTDIR and INSTALLS+=target are set up automatically now, but
PLUGIN_TYPE needs to be defined.
this contains a nasty hack for examples, as we don't want users to use
the internal prf files.
Change-Id: I9e854e7ff6183e19801998ff7157a279b97b2be4
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: Ia5c93a26ce2d56d0844aea1c0c5ddd1be2ae3c5a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
| |
Change-Id: Ie8636ec443f43b1f238342e0f6f7d321e13dce09
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
|
|
|
| |
The global files now live in qtbase only, and are made available to the
other modules via the $QT_INSTALL_DOCS variable.
Change-Id: I4f77194f9c1e0c65636430ac22de3241b49d4641
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
| |
Change-Id: I2b24533d38db1f8e205de19b67fe0b21625bbf6b
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The gesture tests that were part of the sensors2 unit test have
been retained. The tilt sensor tests were not, though they could be
used as a base to make a unit test for the new tilt sensor class.
Change any existing imports to use QtMobility.sensors 1.3.
Change-Id: I8a7130b3c73980fdd577e96c10aecda15e79f8b2
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
This has been imported from QtSensors 5.0 without changes.
Change-Id: Ie6a919f9b806bf19287a693fb7cdb563f8697e13
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Instead, open the device to get information, but then just pause it
until start() is called.
Change-Id: I3002bee07807d3956e74e8fd82425b16cdb61001
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This has been adapted from the TiltSensor type in QtSensors 5.0
import but the code there has been split into multiple pieces.
There's a C++ class, a generic backend
and a QML interface.
Change-Id: Ic09465a5f76250a02a13938abe4789958137376f
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This implementation fixes the limitations the original code had
and separates the QtSensors C++ API from the QML API so that
changes to one don't need to affect the other.
Change-Id: I519463f3c7cfbad3bce5c291ce166b8793d5ed4a
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I85014238e262cb59d8d92b0d708851e82e5633da
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
| |
errno is used for constructing a warning message meanwhile the errno.h is not
included. This is causing a build issue at least on Harmattan.
Change-Id: Ia2697ecdcb893102c16d054a555a3e71fe4aa009
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: Ieaa07fcaf28f754c14774dee61697624d33cabf8
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
|
|
| |
it's all done with QFile now
Change-Id: I0f8147bcedc1514ed7685fb6f8b42f7fbe65a4aa
Reviewed-by: L Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: Ib569e9436cef4ba32721f8f8db97e9eaf43959dd
Reviewed-by: L Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This gives the backend the chance to do something sensible with it, at
the expense of the data rate not being reported correctly in those
cases.
Change-Id: Iadf72b4448145f2454bc9422dde094ad799cb17a
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
| |
Change-Id: Iecae90f4c315668d7ac16923ccdfcacf6153d0e8
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
We need a module <Foo> now in qmldir files (related to QTBUG-26551).
Also update the rebuild_qmltypes rule so it creates the files
with the correct name.
Change-Id: I0eed30ac88a38f2b3ca83d008f09412544f99343
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some users reported a division by zero problem when connecting to the
backend, I suspect this is the reason for it. The sensor service seems
to report either the min or the max delay as zero.
Change-Id: I8b7e8f7c3243d7016c0c4472713c4c116471015d
Reviewed-by: Tobias Koenig
Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com>
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: I98306597742599532bf01d339f8c7807437f59dc
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
| |
Change-Id: Ia7a284fc407a28a3cfae14358a8286864ad0c25a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
|
|
|
|
|
| |
Change-Id: I31e1873e9ef243c86c07b0a39edc9d1d61820944
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
-\qmlclass is now \qmltype
-\instantiates is for QML types implemented in C++
Change-Id: I7f1af4eae6ad9d199859911b5ab51696a59a9b36
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Peter Yard <peter.yard@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, we simply assumed to be active. Now, we read the state
from the navigator PPS file instead.
Also move reading of the orientation into its own function for
consistency.
Change-Id: Icc1789bd942e8fa5a9d5451de4c2ab9f3ffb54e4
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch adding QSensor::Feature support was developed before buffering
was implemented on Blackberry, so update this to reflect the current
situation.
Also fix compile warning about missing Reserved value.
Change-Id: I085afeefc6c2dc7f520c9ef93d90a93f3e8a03e7
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
The remapping code was moved to BbSensorBackend.
Change-Id: I6ede875594a2aaa3745b7deb4aa0ed64c2d9b855
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the Blackberry backend, we can't depend on QtGui and especially
not on the Blackberry QPA plugin, as Cascades uses
QCoreApplication, not QGuiApplication.
All QtGui functions are replaced with a new GuiHelper class, that
internally uses BPS.
Change-Id: Ia508e8b397050676c68612340d33cdbf57041076
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
BbProximityReading extended QProximityReading with a distance and a
reflectance property. Reflectance is already available in the IR
proximity sensor, while distance isn't supported on any device.
Change-Id: I413d3e35b0ccae29592dc11c287c3af6d5133ecc
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
This fixes the direction flipping over when holding the device
upside-down.
Change-Id: I57bac63208d475d4091b47593b9768613eea30b0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now it is possible to check if a backend supports a specific feature.
During reviews of features like acceleration mode or duplicate skipping,
the issue was raised how to check if these features are actually
supported. The same is true for existing features like
QMagnetometer::returnGeoValues.
Change-Id: I47115d6c487bbcbb668a9021cdc7085e6780a67c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: I12b14975bae9bf834f82e0f04d72baa9b506cbef
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
| |
Most of this code comes from QtMobility n900 sensors backend.
Change-Id: Iacbf9363ac8fc4b8b737dc857766f02655374db7
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In preparation of adding new representations to the reading (QTBUG-25840),
the setX(), setY() and setZ() setters were removed, as these don't set
the representation atomically, and don't provide a single point where
a conversion to matrix or quaternion can occur. These setters were
only supposed to be used by the backends, and all backends are
ported in this commit.
Change-Id: Ib652520578d293687fc8515d226f1f61aa2f2def
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The API provided by QSensor does not fit nicely for what the OS
service API provides. Instead of adding yet another buffer-related
property to QSensor, I added documentation to QSensor describing
the differences in behaviour.
Change-Id: I2d81d9c62ce7e8b50c27631a28aa7fbcaca70373
Reviewed-by: Adam Parco <aparco@rim.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I6afbc938a3db79f3a27b2b83d72e111e5d03ea9c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
|
|
|
|
|
|
|
|
|
| |
The rotation property is redundant, as it can be deduced from the
orientation. Furthermore, for FaceUp and FaceDown orientations, the
rotation is always 0, further confusing the issue.
Change-Id: I4348cd56fe713358d388a09829224159eab8b6b8
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|