Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QVibrateAccessoryProvider class provides an interface for vibrate devices to integrate into Qtopia. More...
#include <QVibrateAccessoryProvider>
Inherits QVibrateAccessory.
Inherited by QModemVibrateAccessory.
The QVibrateAccessoryProvider class provides an interface for vibrate devices to integrate into Qtopia.
Vibrate devices inherit from this class and override setVibrateOnRing() and setVibrateNow() to implement the required functionality. Subclasses should also call setSupportsVibrateOnRing() and setSupportsVibrateNow() to indicate the level of functionality that is supported.
See also QVibrateAccessory.
Create a vibrate device provider called id and attaches it to parent.
Destroys the vibrate device provider.
Indicate whether this vibrate provider supports vibrateNow() with value. This is typically called from the constructor of subclass implementations.
Indicate whether this vibrate accessory supports vibrateOnRing() with value. This is typically called from the constructor of subclass implementations.
Turns on the vibration device if value is true; otherwise it is turned off. The default implementation updates the vibrateNow state as seen by vibrateNow() on the client. Vibrate provider implementations should override this function to provide device-specific functionality and then call this implementation to update the client's view of the vibrateNow state.
Reimplemented from QVibrateAccessory.
Sets the vibrateOnRing attribute to value. The default implementation updates the vibrateOnRing attribute as seen by vibrateOnRing() on the client. Vibrate provider implementations should override this function to provide device-specific functionality and then call this implementation to update the client's view of the vibrateOnRing value.
Reimplemented from QVibrateAccessory.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |