The QFeedbackInterface class is the base class for plugins providing feedback. More...
#include <QFeedbackInterface>
Inherited by: QFeedbackFileInterface, QFeedbackHapticsInterface, and QFeedbackThemeInterface.
This class was introduced in Qt Mobility 1.1.
enum | PluginPriority { PluginLowPriority, PluginNormalPriority, PluginHighPriority } |
void | reportError ( const QFeedbackEffect * effect, QFeedbackEffect::ErrorType error ) |
The QFeedbackInterface class is the base class for plugins providing feedback.
This interface gives the possibility to report errors from within a backend plugin.
This enum describes the priority that the plugin should have in case more than one of the same type (Haptics or Theme) is found. If more than one plugin has the same priority, the first one that has been loaded will be used. However, multiple file effect plugins can be loaded at the same time.
Constant | Value | Description |
---|---|---|
QFeedbackInterface::PluginLowPriority | 0 | The plugin will have a low priority. This is usually the case for platform specific-APIs. |
QFeedbackInterface::PluginNormalPriority | 1 | The plugin will have a normal priority. This is usually the case for advanced technologies. |
QFeedbackInterface::PluginHighPriority | 2 | The plugin will have higher priority. Use this priority if you want your own plugin to be used. |
Allows a plugin to report the specified error whenever necessary. Errors most likely can happen trying to play or pause an effect, which should be supplied as the parameter effect.
This function was introduced in Qt Mobility 1.1.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.