Home · All Classes · Main Classes · Deprecated
Public Member Functions | Static Public Attributes

MFeedbackPlayer Class Reference

Used to give non-graphical input feedback. More...

Inherits QObject.

List of all members.

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"

Detailed Description

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.

Deprecated:
Please use class MFeedback to play input feedbacks. Since 0.20.43

Member Function Documentation

void MFeedbackPlayer::play ( const QString feedbackName  ) 

Plays a feedback, given its name.

Parameters:
feedbackName Name of the desired feedback.
Deprecated:
Please use MFeedback::play(const QString&) instead. Since 0.20.43

Member Data Documentation

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.

Deprecated:
Please use MFeedback::Cancel instead. Since 0.20.43
const QString MFeedbackPlayer::Error = "error" [static]

Error feedback.

Deprecated:
Since 0.20.43
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.

Deprecated:
Please use MFeedback::Press instead. Since 0.20.43
const QString MFeedbackPlayer::Release = "release" [static]

Release feedback. Used when finger is released on the object. Indicates that an action was done.

Deprecated:
Please use MFeedback::Release instead. Since 0.20.43

Copyright © 2010 Nokia Corporation
MeeGo Touch