summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add documentaiton for the new axes remapping properties in QML.Thomas McGuire2012-12-031-0/+115
| | | | | Change-Id: I4870c81bf8162da2bb82e5f0aa560e9ef0e796ee Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* BlackBerry: Fix for setting a new sensor device fileBernd Weimer2012-12-031-9/+11
| | | | | | | | When a new sensor device file is set, the old one has to be closed properly and the new one has to be initialized appropriately. Change-Id: Ie0b1b7a9e21ee349c9c2873c9ba45e0432ccdea5 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Only include this on blackberry.Sergio Martins2012-12-035-5/+20
| | | | | | | Since it's not installed on other platforms... Change-Id: I8724dbde2b028aa99a0f5c6cdbccbe935536e18d Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Introduce a QOrientableSensorBase class.Thomas McGuire2012-11-308-1/+463
| | | | | | | | | | | | | | | | | | All axes-based sensor and the compass now inherit from this class. It allows adapting the reading values based on the current screen orientation. AxesOrientationMode enum must be replicated in all child classes for it to work in QML. Unfortunetely the blackberry NDK was released to public with this BIC change so the only way to upstream the blackberry sensors plugins in a BC manner is to #ifdef it out on !qnx platforms. Change-Id: I3c49fcc5a116a9ce4f314a95097be637a2e88567 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* QAccelerometer: Add AccelerationMode propertyThomas McGuire2012-11-293-4/+158
| | | | | | | | | | | | Adds a private class. Ctor was de-inlined, this is BC, apps linked against old versions don't use the AccelerationMode property so don't need to call the new ctor anyway. Change-Id: I943ba91f33612922911515527380add648155d31 Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Provide d-pointers for QSensor subclasses in a different wayThomas McGuire2012-11-283-4/+23
| | | | | | | | Adds a ctor that can take a QSensorPrivate sub-class. Change-Id: Ib239dd211be6038ccbb5c8bad87411dba428c68a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Pass through invalid data rates to the backend instead of ignoring themThomas McGuire2012-11-283-20/+7
| | | | | | | | | | 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: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add docs for Blackberry sensor queuingThomas McGuire2012-11-281-0/+11
| | | | | | Change-Id: I2d81d9c62ce7e8b50c27631a28aa7fbcaca70373 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add API for duplicate skipping.Thomas McGuire2012-11-284-1/+57
| | | | | | Change-Id: I4569993e2689f607c2b771438ed5e1ba879691b9 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add QPressureSensor and QHolsterSensorThomas McGuire2012-11-2812-1/+764
| | | | | | Change-Id: I650e31887d8e8651058e6d30417e8c64a4ed8645 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add Blackberry to the platform compatibility map.Thomas McGuire2012-11-281-1/+21
| | | | | | Change-Id: Id4e7f58f92b05834e12051ab3099e07f3fd3faff Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Document QIRProximitySensorThomas McGuire2012-11-281-0/+43
| | | | | | Change-Id: I369c2408ef6f746ae7931f757f3e8f8602795f1a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Prefer to use the BBNDK sensor.h if presentKevin Ottens2012-11-285-0/+74
| | | | | | | | (This is a backport from qtsensors repository, revision e9fb333408058add56dcf53238675ec185001771) Change-Id: I87e834b64a1fbb7233976730aae35375f46462fd Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add the alwaysOn property to QSensorKevin Ottens2012-11-283-0/+32
| | | | | | | | | (This is a backport from qtsensors commits f9672df5ea9872f911eb0011012f829309e11e71 and 4187d0baa96c4731abfcddfe2c24cf4ef4e72ac5) Change-Id: I9b4adb6a97599dff7f8b0506e5800ed01abdd3b2 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* QNX: Removed QtMobilitySimulator library from simulator configurationBernd Weimer2012-11-281-1/+1
| | | | | Change-Id: I3cec9ea5a65e1dafdc4f0cbfc764c16b1582df36 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Disable all but multimedia and sensors on QNXThomas McGuire2012-11-281-1/+1
| | | | | | | None of the other modules works anyway Change-Id: I2eabe4f54c40b694bd269600781709119109f073 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Introducing sensors for blackberry.Thomas McGuire2012-11-2738-0/+3494
| | | | | | Change-Id: Id19ba9aa43e4701a8caea3782e948e77cec48fc6 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Fix compilation on WindowsRafael Roquetto2012-11-271-0/+10
| | | | | Change-Id: Ie5e042bf412e28e8541bf953a4dff47363c30cce Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* QtMultimedia: micro-optimisationMarc Mutz2012-11-271-1/+1
| | | | | | | | Take Q_FOREACH's first argument by const-reference. Avoids a copy. Change-Id: I93c97d5de6b2ceecee4d1913d08d599d91aaf933 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* QtMultimedia: silence compiler warning about unhandled enum valuesMarc Mutz2012-11-271-0/+1
| | | | | Change-Id: I1166cdf96a5f19af8e27a7c0cbc1cd67b758e51b Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Correct style of license headers.Sergio Martins2012-11-2612-313/+289
| | | | | Change-Id: Ifa9b5b59eff87e3587ead1846b694138373003bf Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Factor out getTimestamp()Thomas McGuire2012-11-2613-54/+137
| | | | | | | | The code was duplicated, and we need it again for blackberry. Change-Id: Ib97b8481eac5918d077096a0cad1babf2fc00d1a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Introducing a multimedia plugin for blackberry.Thomas McGuire2012-11-2614-1/+2071
| | | | | | Change-Id: I15677556eb7f5cf096ad857109e9acfeba4e6e84 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Update .gitignoreThomas McGuire2012-11-261-1/+5
| | | | | Change-Id: Id6ba5b49001fb2bbf0f1e53fac2e9e7095619f64 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* QBluetoothLocalDevice: fall back to a dummy Private classMarc Mutz2012-11-231-3/+3
| | | | | | | | | | | If neither bluez not Symbian stacks were configured, the code would not define a QBluetoothLocalDevicePrivate which raises scary compiler warnings in the .cpp about deleting an object of incomplete type. Change-Id: Ifc530e8e5153d5447e90d78a003549a6e14e4d90 Reviewed-by: Andrew Stanley-Jones <asj@cban.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* plugins/landmarks/sqlite: pass a QList by const-&Marc Mutz2012-11-231-1/+1
| | | | | Change-Id: If95a89ee2faa0028612d1ff5fbc41e8aa1efd905 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fix some warningsMarc Mutz2012-11-235-14/+20
| | | | | Change-Id: Id5f2f8d49bfdea1231920dd402c16472b4ec8571 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* QSoundEffect: fix a compiler warningMarc Mutz2012-11-231-2/+2
| | | | | | | | GCC complained about wrong order of initialisation, and it's right about it. Change-Id: I27509378d2728cbba2f86aac28eea5bee1433e06 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fix build on QNX.Thomas McGuire2012-11-2310-11/+31
| | | | | | | | | | | | | | | | | | * Not all C++ compilers inject C functions into global namespace, On QNX you need to use std:: when using functions from <cstdlib> for example. * Disable a few modules that don't compile. * QNX linker doesn't like -rdynamic. * Explicitly link against network, sql and declarative modules since QNX's linker doesn't pull in indirect dependencies. * Don't build against gstreamer on QNX. Change-Id: Ic3a202fbbbb77b25334323681e7dbf8bd5872f59 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fix linux build.Sergio Martins2012-11-224-0/+10
| | | | | | | getppid() is declared in unistd.h, so include it. Change-Id: Icdab73e6e165c86138d96ae38cc0acbc14d89b2d Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Fix query syntax for PhotoAlbum children.Andrew den Exter2012-11-193-8/+40
| | | | | | | | | | | | | The nie:isLogicalPartOf(?x) syntax won't match against an id, so this query would never return anything. Instead return the contents of the list rather than relying on a connection that may never be established. The same query will also return the contents of a Playlist, support for which was mysteriously absent. Change-Id: Id448e06f8d183e064c8966b22d44414057a45f8a Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
* Change copyrights from Nokia to Digia [part 2]Sergio Ahumada2012-11-161283-2444/+2421
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ia5a50e02f5bf99e6d574a63c4e8d886beef6ffa4 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix a possible crash in QSoundEffect.Robin Burchell2012-11-141-1/+3
| | | | | | | | | | | pa_stream_cork may fail, and pa_operation_unref won't handle that gracefully, so check the return value before unreffing. (backport of 7b9833ec028a237cb2ad90411e1b2bbe9bd9a866 from qtmultimedia) Change-Id: I1df6d09efa71d28cea6f4317701fe2eee8c8a963 Done-with: Vesa-Matti Hartikainen Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* add qfreefallsensorgestureLorn Potter2012-11-134-6/+209
| | | | | Change-Id: I95d6f97d34a079ef6b2f09a8bcede9a4998f6b31 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* move irprox sensor to proper place in QSensorLorn Potter2012-11-136-19/+23
| | | | | Change-Id: Ie386282010244d91e365ea86ccf8ec5a5c5329dc Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* add qml sensorgesture element backported from qtt5Lorn Potter2012-11-1380-323/+10322
| | | | | | | | also add sensorgesture auto tests. need to add a tool that creates the moc data from real device. Change-Id: I6d68f9e889c4c69a916d048505da7dc348c64e11 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Revert "compile on MeeGo"Robin Burchell2012-11-071-4/+0
| | | | | | | | | | This reverts commit ba9c12987e1294d66da1c992c1abb3f029108b19. Mer (the continuation of MeeGo) now has Harmattan's mkcal again, so this patch is unnecessary. Change-Id: Ic63efc947b86b10806d48d2e31773b7aca920263 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* backport sensor gestures from qt 5Lorn Potter2012-11-0754-1/+5647
| | | | | | Change-Id: I0ce06c6859d471b4cada6e7ea908f62d32879ca2 Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update to new license formatSergio Ahumada2012-11-074402-87201/+87172
| | | | | | | Also fixing some left overs from 8de152a9e1deb533070663cccf6a98e0d374b1d6 Change-Id: I28a91ca233dd835e6e53efbbd7ebd649461f5c04 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change copyrights from Nokia to DigiaSergio Ahumada2012-11-074565-13344/+13316
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie3b9224b2b6a32b417fa0b6643350d45046381e6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change licenses and license headers from Nokia to DigiaSergio Ahumada2012-11-075-183/+195
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I2099a2ddb9fc294b438aba57366bc3f6cfe33e8f Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix a typoSergio Ahumada2012-11-011-2/+2
| | | | | Change-Id: Ie583489b0881aea962a6c7afd257f925e245544e Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Merge branch 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo ↵Qt Continuous Integration System2012-09-121-8/+79
|\ | | | | | | | | | | | | into master-integration * 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo: Symbian: Document the enhanced Symbian Publish Subscribe backend
| * Symbian: Document the enhanced Symbian Publish Subscribe backendTuija Lindfors2012-09-121-8/+79
| | | | | | | | | | | | | | | | | | | | The Symbian Publish Subscribe backend was enhanced with new features in Qt Mobility 1.2.2. Correct documentation was missing (was originally published correctly, but removed by QTMOBILITY-1944). Task-number: QTMOBILITY-2073 Reviewed-by: Pasi Pentikainen
* | Merge branch 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo ↵Qt Continuous Integration System2012-09-108-3/+43
|\| | | | | | | | | | | | | | | | | into master-integration * 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo: Fix QAudioInput to connect to correct slot on Symbian Fix for Symbian video resume from pause after screen lock and unlock Fix handling of type 4 tag specific command replies on Symbian
| * Fix QAudioInput to connect to correct slot on SymbianAri Lehtola2012-09-105-3/+17
| | | | | | | | | | | | | | | | | | | | Symbian backend for QAudioInput tried to connect to a non-existent signal, instead it should have connected to notifyTimerExpired slot. Audioinput example updated also. Task-number: QTMOBILITY-1736 Reviewed-by: Juha Kukkonen
| * Fix for Symbian video resume from pause after screen lock and unlockMarko Kenttala2012-09-102-0/+21
| | | | | | | | | | | | | | | | | | | | | | In Symbian video was not able to resume from paused state after screen lock. Only way to resume was to stop, load again and play from start. Fixed S60VideoPlayerSession to wait for surface before enabling buffering if surface was removed earlier. Task-Number: QTMOBILITY-1418 Reviewed-by: Juha Kukkonen
| * Fix handling of type 4 tag specific command replies on SymbianJuha Kukkonen2012-09-101-0/+5
| | | | | | | | | | | | | | | | It was possible to send tag specific commands using QNearFieldTarget sendCommand() but any replies were dropped in case of type 4 tags. Task-number: QTMOBILITY-2074 Task-number: QTBUG-22568
* | Merge branch 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo ↵Qt Continuous Integration System2012-08-271-1/+1
|\| | | | | | | | | | | | | into master-integration * 'master' of scm.dev.nokia.troll.no:qtmobility/qtm-systeminfo: Fix lightmaps demo: Night mode shows white map area on Symbian
| * Fix lightmaps demo: Night mode shows white map area on SymbianMarko Kenttala2012-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | Lightmaps demo uses difference composition mode which is not supported by default graphics engine on Symbian. Changed lightmaps demo to use raster engine. Task-number: QTBUG-18301 Task-number: QT-4751 Reviewed-by: Juha Kukkonen