Home · All Classes · Main Classes · Deprecated |
Used to give non-graphical input feedback. More...
Inherits QObject.
Public Member Functions | |
void | play (const QString &feedbackName) |
Static Public Attributes | |
static const QString | Press = "press" |
static const QString | Release = "release" |
static const QString | Cancel = "cancel" |
static const QString | Error = "error" |
Used to give non-graphical input feedback.
MFeedbackPlayer is used to give non-graphical instantaneous feedback to user actions. Non-graphical feedback can mean auditive, tactile, vibrational, etc.
You use it as way to add supporting instantaneous feedback for your graphical user interface (such as a "button pressing" tactile feedback when the user pokes your custom widget on a touchscreen)
MFeedbackPlayer also ensures that the instantaneous feedback given is going to comply with the system's current "look and feel" (more especifically, to the "feel" part) and will also be in harmony with the context/situation at hand.
void MFeedbackPlayer::play | ( | const QString & | feedbackName | ) |
Plays a feedback, given its name.
feedbackName | Name of the desired feedback. |
const QString MFeedbackPlayer::Cancel = "cancel" [static] |
Cancel feedback. Used when finger slides off the object, onto an inactive area.
Also used in cases where a Tap turns into another stroke.
const QString MFeedbackPlayer::Error = "error" [static] |
Error feedback.
const QString MFeedbackPlayer::Press = "press" [static] |
Press feedback. Used when the user presses on an object. It is also used when the user presses off an object, but slides the finger onto one.
const QString MFeedbackPlayer::Release = "release" [static] |
Release feedback. Used when finger is released on the object. Indicates that an action was done.
Copyright © 2010 Nokia Corporation | MeeGo Touch |