BlackBerry: Fixed playback of streamed audio

Before audio is played we always seek to position 0. Unfortunately, due
to a recent change in mmrenderer, playback stopped working for
"non-seekable" media. There is a check now, whether the media is
seekable or not.

(Backport of commit 7df6aa0 from qtmultimedia)

Change-Id: I07e336853cb0984a91ba22d346567b51b055034a
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Use real properties for QSensor::bufferSize & co

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>
Fix off-by-one in beginInsertRows() call.

Change-Id: Ic6a28fc1e3416db50daf1cab6fce49d1ac24848e
Reviewed-by: John Brooks <john.brooks@dereferenced.net>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Organizer: Emit model state change whether or not the store returned data.

Task-number: QTMOBILITY-1416

Change-Id: I041ef5655a2f8690a035a2d8757070c0fde127fa
Reviewed-by: John Brooks <john.brooks@dereferenced.net>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Convert QMagnetometer::returnGeoValues to a proper property

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>
Document the IR Proximity value behavior on BlackBerry

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>
Remove qmfhelpers operator== for QMailMessagePart::Location.

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>
Backport QAltimeter from QSensors to qt-mobility.

Change-Id: I59da45e1cf15c706e9cedf0d5273f15f7fd3c920
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Backport QAmbientTemperatureSensor from QSensors to qt-mobility.

Change-Id: Ibaf0f89cfb8e3f570980b43ff3179afe83e7cb48
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Blackberry: Prevent spurious calls to dataAvailable() when stopped

Explicitly disable the socket notifier and drain the device file
to avoid dataAvailable() being called spuriously.

This fixes high CPU usage that occurred in some circumstances after
stopping the sensor.

Many thanks to Dmytro Mishchenko for reporting and helping to
track down the problem.

This is a backport of
QtSensors commit 3a9e30eb6229a6212150dbc1a3627246d51c8be2

Change-Id: I013fe5cff0c83cf39d21d2b84605a2007abb9bf5
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
BlackBerry: Support QMagnetometer::returnGeoValues

This is a backport of
QtSensors commit 4ef58f952f6fb87059cecddfe6447b14919be066

Change-Id: Ieb4779f36e1a20be52329020540cfeecd68057bc
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>