Qt Mobility Reference Documentation

QFeedbackThemeInterface Class Reference

The QFeedbackThemeInterface class is the base class for objects providing themed effects. More...

 #include <QFeedbackThemeInterface>

Inherits QFeedbackInterface.


Public Functions

virtual ~QFeedbackThemeInterface ()
virtual bool play ( QFeedbackEffect::ThemeEffect effect ) = 0
virtual PluginPriority pluginPriority () = 0

Static Public Members

QFeedbackThemeInterface * instance ()

Additional Inherited Members


Detailed Description

The QFeedbackThemeInterface class is the base class for objects providing themed effects.

They can be of any nature (tactile, audio...). This simple interface will be used to play those themed effects by a simple call to the play method.


Member Function Documentation

QFeedbackThemeInterface::~QFeedbackThemeInterface () [virtual]

QFeedbackThemeInterface * QFeedbackThemeInterface::instance () [static]

returns the instance of the object managing theme effects. If no backend has been loaded, this will return a null pointer.

bool QFeedbackThemeInterface::play ( QFeedbackEffect::ThemeEffect effect ) [pure virtual]

Plays the theme effect effect. Returns false in case of an error.

PluginPriority QFeedbackThemeInterface::pluginPriority () [pure virtual]

returns the priority for the plugin.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.