summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2012-06-27 10:13:12 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-16 05:03:18 +0200
commitee6bb2a129f8c9200b6ef870fe093423f58e1cad (patch)
treed6066d821f15cbdf4da38670c7b7323df2e6c85f /examples
parent7197e14116c4e214efc5e8c6a0a6ab6a7990a634 (diff)
PositionSource property fixes.
PositionSource has a couple of property signal issues which stem from the fact that the order of property evaluation is not well defined during component construction. Fix emission of signals when the underlying position info source changes. When a new position info source is created the updatInterval, preferredPositioningMethods and supportedPositioningMethods change notification signals are emitted if necessary. Construction of a default position info source is delayed until after the component has been constructed. This saves creating a default position info source in the constructor and then (possibly) replacing it when the name property is set. Fix possibility of setting unsupported position methods as preferred. When setting the preferred positioning methods call the base class implementation first, to ensure that only supported positioning methods are set, prior to acting on the new preferred positioning methods. Change-Id: Ie402f87ca7d82b52fd4678c40867894d3b122942 Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions