UIQ Technology
 Developer Library

UIQ 3 SDK

UIQ developer portal

FEEDBACK 

[Index] [Spacer] [Previous] [Next]



Location: QikKeyboardControl.h

Class MQikKeyboardObserver

class MQikKeyboardObserver;

Description

Keyboard observer interface.

Objects implementing this interface may be set as the keyboard control observer using CQikKeyboardControl::SetObserver() . The functions handle key events from the keyboard control and handles size changes when the active keytop is changed.

Members

Defined in MQikKeyboardObserver:
HandleKeyboardEventL(), HandleKeyboardSizeChanged()

See also:


Member functions


HandleKeyboardEventL()

virtual void HandleKeyboardEventL(const TKeyEvent &aKeyEvent)=0;

Description

Handles keyboard events.

The keyboard observer’s implementation of this function is called whenever one of the keytop buttons is pressed.

The way the event is handled is application dependent.

This function will be called in the Keyboard Observer, as soon as a bottom on one of the Keytops is pressed. It has to be implemented by the Keyboard Observer.

Parameters

const TKeyEvent &aKeyEvent

The key event to be handled. This is created by the keyboard control, and is passed to this function in the observer.

See also:


HandleKeyboardSizeChanged()

virtual void HandleKeyboardSizeChanged()=0;

Description

Handle keyboard size changes.

This function is called by the framework whenever the active keytop changes. Keyboard observer classes should provide an implementation to correctly handle the change in size.

Terms and conditions of use of the material