QIfWindowControlBackendInterface Class

Backend interface for QIfWindowControl. More...

Header: #include <QIfWindowControlBackendInterface>
qmake: QT += ifvehiclefunctions
Inherits: QIfZonedFeatureInterface

Public Functions

virtual QIfPendingReply<void> close(const QString &zone) = 0
virtual QIfPendingReply<void> open(const QString &zone) = 0
virtual void setBlindMode(QtIfVehicleFunctions::BlindMode blindMode, const QString &zone) = 0
virtual void setHeaterMode(QtIfVehicleFunctions::HeaterMode heaterMode, const QString &zone) = 0

Signals

void blindModeChanged(QtIfVehicleFunctions::BlindMode blindMode = QtIfVehicleFunctions::BlindOpen, const QString &zone = QString())
void blindStateChanged(QtIfVehicleFunctions::WindowState blindState = QtIfVehicleFunctions::FullyOpen, const QString &zone = QString())
void heaterChanged(bool heater = bool(false), const QString &zone = QString())
void heaterModeChanged(QtIfVehicleFunctions::HeaterMode heaterMode = QtIfVehicleFunctions::HeaterOn, const QString &zone = QString())
void stateChanged(QtIfVehicleFunctions::WindowState state = QtIfVehicleFunctions::FullyOpen, const QString &zone = QString())

Detailed Description

The QIfWindowControlBackendInterface is the interface used by QIfWindowControl.

The interface is discovered by a QIfWindowControl object, which connects to it and sets up the connections to it.

See also QIfWindowControl.

Member Function Documentation

[signal] void QIfWindowControlBackendInterface::blindModeChanged(QtIfVehicleFunctions::BlindMode blindMode = QtIfVehicleFunctions::BlindOpen, const QString &zone = QString())

The signal is emitted when the blindMode property changed to blindMode.

The value of zone indicates the zone this property should be changed in.

See also setBlindMode and QIfWindowControl::blindMode.

[signal] void QIfWindowControlBackendInterface::blindStateChanged(QtIfVehicleFunctions::WindowState blindState = QtIfVehicleFunctions::FullyOpen, const QString &zone = QString())

The signal is emitted when the blindState property changed to blindState.

The value of zone indicates the zone this property should be changed in.

See also QIfWindowControl::blindState.

[signal] void QIfWindowControlBackendInterface::heaterChanged(bool heater = bool(false), const QString &zone = QString())

The signal is emitted when the heater property changed to heater.

The value of zone indicates the zone this property should be changed in.

See also QIfWindowControl::heater.

[signal] void QIfWindowControlBackendInterface::heaterModeChanged(QtIfVehicleFunctions::HeaterMode heaterMode = QtIfVehicleFunctions::HeaterOn, const QString &zone = QString())

The signal is emitted when the heaterMode property changed to heaterMode.

The value of zone indicates the zone this property should be changed in.

See also setHeaterMode and QIfWindowControl::heaterMode.

[signal] void QIfWindowControlBackendInterface::stateChanged(QtIfVehicleFunctions::WindowState state = QtIfVehicleFunctions::FullyOpen, const QString &zone = QString())

The signal is emitted when the state property changed to state.

The value of zone indicates the zone this property should be changed in.

See also QIfWindowControl::state.

[pure virtual] QIfPendingReply<void> QIfWindowControlBackendInterface::close(const QString &zone)

Closes the window, if not already in the QIfWindowControl::Closed state.

The value of zone indicates the zone this operation should be done in.

[pure virtual] QIfPendingReply<void> QIfWindowControlBackendInterface::open(const QString &zone)

Opens the window, if not already in the QIfWindowControl::FullyOpen state.

The value of zone indicates the zone this operation should be done in.

[pure virtual] void QIfWindowControlBackendInterface::setBlindMode(QtIfVehicleFunctions::BlindMode blindMode, const QString &zone)

Setter for QIfWindowControl::blindMode. Sets the property blindMode to the new value passed by blindMode.

The value of zone indicates the zone this property should be changed in.

This method is expected to emit a blindModeChanged() signal when the internal state changes due to this function call. The signal is even expected to be emitted if the given blindMode is out of range and no actual change takes place.

See also blindModeChanged().

[pure virtual] void QIfWindowControlBackendInterface::setHeaterMode(QtIfVehicleFunctions::HeaterMode heaterMode, const QString &zone)

Setter for QIfWindowControl::heaterMode. Sets the property heaterMode to the new value passed by heaterMode.

The value of zone indicates the zone this property should be changed in.

This method is expected to emit a heaterModeChanged() signal when the internal state changes due to this function call. The signal is even expected to be emitted if the given heaterMode is out of range and no actual change takes place.

See also heaterModeChanged().

© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.