diff options
author | Lukáš Tinkl <ltinkl@luxoft.com> | 2017-08-08 21:19:59 +0200 |
---|---|---|
committer | Lukáš Tinkl <ltinkl@luxoft.com> | 2017-08-17 10:56:56 +0000 |
commit | 276e0a752226f94627d71ed1cef19cb6b87d98d4 (patch) | |
tree | 656ececc9e7a02a9139829dfe2149365271e7825 | |
parent | 6c5cb0d5387145aef642c94cb043e7cfb7d6552e (diff) |
fix the zone documentation snippet
Change-Id: I14d3196f9dbf14826fee4a09006ef5c675aa1a38
Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
-rw-r--r-- | src/ivivehiclefunctions/doc/src/qtivivehiclefunctions.qdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ivivehiclefunctions/doc/src/qtivivehiclefunctions.qdoc b/src/ivivehiclefunctions/doc/src/qtivivehiclefunctions.qdoc index b343467..57948fb 100644 --- a/src/ivivehiclefunctions/doc/src/qtivivehiclefunctions.qdoc +++ b/src/ivivehiclefunctions/doc/src/qtivivehiclefunctions.qdoc @@ -95,7 +95,7 @@ You can use QIviAbstractZonedFeature::zoneAt() to access zone functions: \code - m_climateControl->zoneAt("FrontSeat")->setSeatHeater(false); + m_climateControl->zoneAt("FrontLeft")->setSeatHeater(false); \endcode Looping zones is done with QIviAbstractZonedFeature::zones(): @@ -103,7 +103,7 @@ \code const auto zones = m_climateControl->zones(); for (QClimateControl *z : zones) - if (z->zone() == "FrontSeat") + if (z->zone() == "FrontLeft") z->setSeatHeater(true); \endcode */ @@ -162,7 +162,7 @@ With the AbstractZonedFeature::zoneAt property you can access the climate control zone-specific functions. \code - climateControl.zoneAt.FrontSeat.seatheater = true + climateControl.zoneAt.FrontLeft.seatHeater = true \endcode An example of how to use the AbstractZonedFeature::zones property: |