Convert internal function parameter to const &

Performance improvement

Change-Id: I9565771ab6ed15dccc67d5d7e7d5c02759a40367
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Ensure examples behave on default backend and/or with no local Bt device

This patch fixes crashes and ensures that examples give some form of
indication why they are not working.

Change-Id: Id99951e8729c0715505e5fff7448a475979a6406
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Doc: Document signals (not handlers) under \qmlsignal

Append the handler names to the end of the corresponding signal doc.

Task-number: QTBUG-35846
Change-Id: I0d1c067e9eca4c3c28489a074a7f0e33759c000a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Qt Bluetooth: Show correct names when compiling the module

Change-Id: I5f761cb428514d56fc88cd27def92defd3b83dd8
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
QNX connected state fix

In one case, when connecting to server, the state
is not set to connected state, which makes impossible
to write data to socket later.

Change-Id: Iea4da3ffc162451963db2d0a7bc01fbafe4ebede
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Android: Improve QBluetoothLocalDevice::connectedDevices()

There is no API to get the list of connected Bluetooth devices on
Android. However there are service API's which return a list
of their current clients. In this particular case we find the
GATT related service connections. We use that info to complement
the internal list of connected devices.

Note that although this is using Bluetooth Low Energy related API's
the Qt API does not support this feature at this point in time.

Task-number: QTBUG-36764
Change-Id: Ia8266f3a9d24fd16afdd636ca2d3d0a0c6b2b499
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
QNX: Remove nested event loop

Not needed and potentially dangerous.

Change-Id: Ia3975455f1fbfbbdff0785a5ba22dad1c58f9858
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove building of doc snippets on Android

The snippets are built to ensure they remain in a compilable state.
Unfortunately Android's install target installs them to /lib which is not
desirable. The remaining targets are sufficient to check the state.

Task-number: QTBUG-37638
Change-Id: I4bd1b58ad6d7e5bfbb8c1e08d48834049ec9d48e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: If8694cc568502c21a3f7138d91cd67121cd32835