Maliit Plugins
0.92.5
|
#include <soundfeedback.h>
Public Member Functions | |
SoundFeedback (QObject *parent=0) | |
virtual | ~SoundFeedback () |
virtual void | setStyle (const SharedStyle &style) |
Sets the shared Style instance. | |
![]() | |
AbstractFeedback (QObject *parent=0) | |
virtual | ~AbstractFeedback ()=0 |
Q_SLOT void | onKeyPressed () |
Triggers feedback by calling playPressFeedback(). | |
Q_SLOT void | onKeyReleased () |
Triggers feedback by calling playReleaseFeedback(). | |
Q_SLOT void | onLayoutChanged () |
Triggers feedback by calling playLayoutChangeFeedback(). | |
Q_SLOT void | onKeyboardHidden () |
Triggers feedback by calling playKeyboardHideFeedback(). |
Private Member Functions | |
virtual void | playPressFeedback () |
Plays feedback when pressing a key. | |
virtual void | playReleaseFeedback () |
Plays feedback when releasing a key. | |
virtual void | playLayoutChangeFeedback () |
Plays feedback when changing a keyboard layout. | |
virtual void | playKeyboardHideFeedback () |
Plays feedback when hiding the keyboard. | |
Q_SLOT void | applyProfile () |
Private Attributes | |
const QScopedPointer < SoundFeedbackPrivate > | d_ptr |
Provides a sound-playing feedback backend. Used as default backend if QtMobility is configured and ready to use.
|
explicit |
parent | The owner of this instance. Can be 0, in case QObject ownership is not required. |
|
virtual |
|
private |
|
privatevirtual |
Plays feedback when hiding the keyboard.
Implements MaliitKeyboard::AbstractFeedback.
|
privatevirtual |
Plays feedback when changing a keyboard layout.
Implements MaliitKeyboard::AbstractFeedback.
|
privatevirtual |
Plays feedback when pressing a key.
Implements MaliitKeyboard::AbstractFeedback.
|
privatevirtual |
Plays feedback when releasing a key.
Implements MaliitKeyboard::AbstractFeedback.
|
virtual |
Sets the shared Style instance.
Feedback implementations that depend on style attributes should probably refresh all their feedback effects when this method is called. AbstractFeedback does not store the Style instance in any way.
Implements MaliitKeyboard::AbstractFeedback.
|
private |