Maliit Plugins  0.92.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Private Member Functions
MaliitKeyboard::NullFeedback Class Reference

#include <nullfeedback.h>

Inheritance diagram for MaliitKeyboard::NullFeedback:
MaliitKeyboard::AbstractFeedback

List of all members.

Public Member Functions

 NullFeedback (QObject *parent=0)
virtual ~NullFeedback ()
virtual void setStyle (const SharedStyle &style)
 Sets the shared Style instance.
- Public Member Functions inherited from MaliitKeyboard::AbstractFeedback
 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.

Detailed Description

Provides a null backend for AbstractFeedback which does nothing. Used as default backend if no better one is found.


Constructor & Destructor Documentation

MaliitKeyboard::NullFeedback::NullFeedback ( QObject *  parent = 0)
explicit
Parameters:
parentThe owner of this instance. Can be 0, in case QObject ownership is not required.
MaliitKeyboard::NullFeedback::~NullFeedback ( )
virtual

Member Function Documentation

void MaliitKeyboard::NullFeedback::playKeyboardHideFeedback ( )
privatevirtual

Plays feedback when hiding the keyboard.

Implements MaliitKeyboard::AbstractFeedback.

void MaliitKeyboard::NullFeedback::playLayoutChangeFeedback ( )
privatevirtual

Plays feedback when changing a keyboard layout.

Implements MaliitKeyboard::AbstractFeedback.

void MaliitKeyboard::NullFeedback::playPressFeedback ( )
privatevirtual

Plays feedback when pressing a key.

Implements MaliitKeyboard::AbstractFeedback.

void MaliitKeyboard::NullFeedback::playReleaseFeedback ( )
privatevirtual

Plays feedback when releasing a key.

Implements MaliitKeyboard::AbstractFeedback.

void MaliitKeyboard::NullFeedback::setStyle ( const SharedStyle style)
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.


The documentation for this class was generated from the following files: