IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QHolsterReading Class

The QHolsterReading class holds readings from the holster sensor.

This class was introduced in Qt 5.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QHolsterReading Class

  • Header: QHolsterReading

  • Since: Qt 5.1

  • qmake: QT += sensors

  • Inherits: QSensorReading

  • Group: QHolsterReading is part of sensors_reading

Detailed Description

 

QHolsterReading Units

The holster sensor can detect if a device is holstered or not. A holster is a pocket, similar to a gun holster, specifically made for the device. If the device is inside of this pocket, it is holstered. The holster supports the device in detecting whether the device is holstered or not.

Property Documentation

 

[read-only] holstered : const bool

This property holds a value indicating whether the device is holstered.

Access functions:

  • bool holstered() const

See Also

Member Function Documentation

 

void QHolsterReading::setHolstered(bool holstered)

Sets the holstered value to holstered.

See Also

See also holstered()

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+