Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QKeypadLightAccessory class provides access to the keypad light on a phone. More...
#include <QKeypadLightAccessory>
Inherits QHardwareInterface.
Inherited by QKeypadLightAccessoryProvider.
The QKeypadLightAccessory class provides access to the keypad light on a phone.
QKeypadLightAccessory can be used to turn the keypad light on and off using setOn(). For example the following code can be used to turn on the keypad light from within a client application:
QKeypadLightAccessory light; light.setOn( true );
Keypad light implementations should inherit from QKeypadLightAccessoryProvider.
See also QKeypadLightAccessoryProvider and QHardwareInterface.
Construct a new keypad light bstraction for id and attaches it to parent. The object will be created in client mode if mode is Client, or server mode otherwise.
If id is empty, this class will use the first available provider that supports the keypad light interface. If there is more than one service that supports the keypad light interface, the caller should enumerate them with QHardwareManager::providers() and create separate QKeypadLightAccessory objects for each.
See also QHardwareManager::providers().
Destroys the keypad light accessory object.
Returns true if the keypad light is currently on; otherwise returns false.
See also setOn().
Signal that is emitted when the state of the keypad light changes.
Turns the keypad light on if value is true; otherwise it is turned off.
See also on().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |