summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken QGeoTiledMapData::fitInViewPort()Alex Blasche2014-03-241-1/+1
| | | | | | | | | the zoomfactor was wrong is the minimumZoomLevel is not 0 Task-number: QTBUG-37502 Change-Id: Icc8b561cf1d11c63532c6c8559809e7b00d1ef95 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix spelling mistakeFabian Bumberger2014-03-181-1/+1
| | | | | Change-Id: I63625259f3b34a3cf32f6c508b48860d274ba6ac Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Release videoframe on painter stop()Wouter Huysentruit2014-03-061-0/+11
| | | | | | | | | | | | QVideoSurfaceGLPainter/QVideoSurfaceGlslPainter needs to release the video frame on stop (just like QVideoSurfaceGenericPainter already does). This is a backport of change Iaf3eb13eaf51fbc22fab6b1f80db8e8978ac328d from the qt/qtmultimedia project. Change-Id: I8ecc7fec585c99e4010496e201b3c3b343f344a1 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
* BlackBerry: Disabled "returnGeoValues" featureBernd Weimer2013-10-311-0/+3
| | | | | | | | | Elimination of interference is not supported on BlackBerry, so returnGeoValues property will be ignored. This is a backport of QtSensors commit 6348938. Change-Id: I77718fbe9a100f9f16007095f52c73e9e7db62ac Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* QNX: Enabled ALSA supportBernd Weimer2013-05-211-1/+1
| | | | | | | | | If ALSA version >=1.0.10 is available on QNX it will be used by QAudio classes. Change-Id: Iaf9eea06daa76a8f86cee529387bc797d0af7cdc Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Document that the QSensor constructor should not be used directlyThomas McGuire2013-05-131-0/+20
| | | | | | | | This is a backport of QtSensors commit ceec1eda82dd9b6f8823bb7f9639e6f79763331e Change-Id: I3e5d8bc99d9f14163c45593e216d21e2f972999d Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Allow overriding default QContactManagerEngine via env varChris Adams2013-05-021-0/+11
| | | | | | | | | | | This patch adds support for overriding the default QContactManagerEngine via the QTCONTACTS_MANAGER_OVERRIDE environment variable. Change-Id: Ia4807269fd43f6f7e4c2f13b943da5ee6f9cb38c Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Added temperature property to pressure sensorBernd Weimer2013-04-113-1/+28
| | | | | | | | | | | Many air pressure sensors provide their temperature, as well. This can be used for temperature compensation for instance. The pressure sensor API has been extended and a BlackBerry backend has been implemented. This is a backport of qt5/qtsensors: aac0603 Change-Id: I5f5fa7b5fbd250fbf3fe6d16d00a55d9694404d9 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Used macro definitions for signals/slotsBernd Weimer2013-04-091-2/+2
| | | | | Change-Id: Ic06503355afae414c8dc09c4e3ab1999f3330e15 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fixed includes in public sensor headersBernd Weimer2013-04-0918-27/+27
| | | | | Change-Id: I92ec564034d4cc5766169827f0f05376ae186aee Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* use pkgconfig on platforms that support it.Robin Burchell2013-04-031-18/+13
| | | | | | | | | reinventing the wheel is not nice, and at least for me, completely broken on OS X. Change-Id: I16721b669ecdd7dfca1c7bfb9ebd034d67849a8a Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Fix DocumentGallery returning encoded urls.Andrew den Exter2013-03-273-35/+66
| | | | | | | | | Tracker stores url properties in encoded form, these need to be decoded before they are returned and encoded when used in queries. Change-Id: I26db02e758cb14e6789418631979fa21cf58daff Reviewed-by: Marko Mattila <marko.mattila@jollamobile.com> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
* Backport QAmbientTemperatureSensor from QSensors to qt-mobility.Sergio Martins2013-03-074-0/+299
| | | | | Change-Id: Ibaf0f89cfb8e3f570980b43ff3179afe83e7cb48 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Backport QAltimeter from QSensors to qt-mobility.Sergio Martins2013-03-074-0/+303
| | | | | | Change-Id: I59da45e1cf15c706e9cedf0d5273f15f7fd3c920 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Remove qmfhelpers operator== for QMailMessagePart::Location.Robin Burchell2013-03-072-9/+0
| | | | | | | | QMF gained this upstream a long time ago for QMailMessagePartContainer - which QMailMessagePart inherits (in 95c9e8852b502c03f6c87f88296ad63e75b29404.) Change-Id: I92efa54ad0317bfc6916bf732c2cd3e3d31dfc82 Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Document the IR Proximity value behavior on BlackBerryThomas McGuire2013-03-011-0/+6
| | | | | | | | | | | This is a backport of QtSensors commit c0f3653aea1c86ba2fecb0f8b0c6865f025031a4 Task-number: QTBUG-28087 Change-Id: I3a9672f929b1c0ec687a18e633f3983d2360a9c6 Reviewed-by: Adam Parco <aparco@rim.com> Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Convert QMagnetometer::returnGeoValues to a proper propertyThomas McGuire2013-03-013-6/+60
| | | | | | | | | This is a backport of QtSensors commit 2dba878107fbe290782af720981ce28ec3723e7a Change-Id: Icc160b408c77c1d1e727e033146c72fd1e52618c Reviewed-by: Adam Parco <aparco@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Use real properties for QSensor::bufferSize & coThomas McGuire2013-02-213-13/+74
| | | | | | | | | | | | | | | | | | | The #ifdef Q_DOC hack is not really needed and was confusing. In addition, expose those properties to the QML API. As a result, the backends can now listen to the bufferSizeChanged() signal to update the buffering while the sensor is running. This has been implemented for the BlackBerry platform. This is a backport of QtSensors commit 4d9edb754b3dff3331c8d8790a04548f0981f315 Change-Id: Ia34fc1ad2e59552355f1e7d27a67000c29a9900f Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Adjust all setDisplayRect() calls for the case when winId is 0.Sergio Martins2013-01-293-16/+56
| | | | | | | | | | | | alien to native promotion is broken in Qt4 QPA. updateWinId() already had a workaround, introduced in 806b4da112b35313b7e674a2735d888809f74288 This commit makes all setDisplayRect() calls use the workaround too. Change-Id: I44e879bfd7983f3f9b308d58d714014605ea128a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Fix typo in filename causing search for input device types to fail.Sampo Saaristo2013-01-281-2/+2
| | | | | | | | Extra space in filename removed. Variable holding input method types intialized. Task-Number: QTMOBILITY-2088 Change-Id: I07f44ed29466b26f666556f1b072029560c49ca3 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Fix: Only flip video once for BottomToTop scanline directionsWouter Huysentruit2013-01-141-23/+8
| | | | | | | | | | | | Top & bottom of the texture coordinates are already flipped for BottomToTop scanline directions. So there is no need to flip top & bottom of the vertex coordinates too. This is a backport of change I221b94afb65c194bdedb787414e6a436b8095fb2 from the qt/qtmultimedia project Change-Id: I11f85299a381708647d06d483c9aa780e167a82f Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@gmail.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101722-1730/+1730
| | | | | | Change-Id: I96513e8b6f09e76998a18edb5411ae06f52cba7c Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Use the overlay version of QGraphicsVideoItem on QNXThomas McGuire2012-12-111-1/+5
| | | | | | Change-Id: Ib450e6b79a9579ed5f02d7f3026b599910c2f391 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Fallback to the native parent if winId() is 0.Sergio Martins2012-12-113-3/+54
| | | | | | | | In Qt 4.8 QPA promotion of alien to native is broken so we need to handle the case where winId is 0. Change-Id: Icc87253dce40294a646d63ed341fad31b38a84de Reviewed-by: Lorn Potter <lorn.potter@gmail.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-282-14/+4
| | | | | | | | | | 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-283-1/+50
| | | | | | 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-287-0/+600
| | | | | | Change-Id: I650e31887d8e8651058e6d30417e8c64a4ed8645 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> 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>
* 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>
* 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>
* Fix some warningsMarc Mutz2012-11-231-0/+1
| | | | | 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-232-1/+10
| | | | | | | | | | | | | | | | | | * 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-221-0/+4
| | | | | | | 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-192-6/+12
| | | | | | | | | | | | | 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-169-10/+11
| | | | | | | 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>
* move irprox sensor to proper place in QSensorLorn Potter2012-11-134-3/+318
| | | | | Change-Id: Ie386282010244d91e365ea86ccf8ec5a5c5329dc Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* add qml sensorgesture element backported from qtt5Lorn Potter2012-11-133-4/+16
| | | | | | | | 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>
* backport sensor gestures from qt 5Lorn Potter2012-11-0714-0/+1683
| | | | | | 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-071681-36955/+36958
| | | | | | | 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-071703-5049/+5046
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie3b9224b2b6a32b417fa0b6643350d45046381e6 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>
* Fix QAudioInput to connect to correct slot on SymbianAri Lehtola2012-09-101-1/+1
| | | | | | | | | | 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