MAknQueryControlObserver Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknquerycontrol.h>

Inherited by CAknQueryDialog.


Detailed Description

MAknQueryControlObserver Callback class for CAknQueryDialog.

Public Types

enum   TQueryControlEvent { EQueryControltSizeChanging, EQueryControlEditorStateChanging, EEmergencyCallAttempted }
  Enumeration for query control events. More...
enum   TQueryValidationStatus {
  EEditorValueValid = KErrNone, EEditorValueTooSmall, EEditorValueTooLarge, EEditorValueNotParsed,
  EEditorEmpty
}
  Enumeration for editor validation status. More...

Public Member Functions

virtual TBool  HandleQueryEditorSizeEventL (CAknQueryControl *aQueryControl, TQueryControlEvent aEventType)=0
  Gets called when editor sends size event.
virtual TBool  HandleQueryEditorStateEventL (CAknQueryControl *aQueryControl, TQueryControlEvent aEventType, TQueryValidationStatus aStatus)=0
  Gets called when editor sends state event.

Member Enumeration Documentation

enum MAknQueryControlObserver::TQueryControlEvent
 

Enumeration for query control events.

Enumerator:
EQueryControltSizeChanging 
EQueryControlEditorStateChanging 
EEmergencyCallAttempted 
enum MAknQueryControlObserver::TQueryValidationStatus
 

Enumeration for editor validation status.

Enumerator:
EEditorValueValid 
EEditorValueTooSmall 
EEditorValueTooLarge 
EEditorValueNotParsed 
EEditorEmpty 

Member Function Documentation

virtual TBool MAknQueryControlObserver::HandleQueryEditorSizeEventL CAknQueryControl aQueryControl,
TQueryControlEvent  aEventType
[pure virtual]
 

Gets called when editor sends size event.

virtual TBool MAknQueryControlObserver::HandleQueryEditorStateEventL CAknQueryControl aQueryControl,
TQueryControlEvent  aEventType,
TQueryValidationStatus  aStatus
[pure virtual]
 

Gets called when editor sends state event.


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

Copyright © Nokia Corporation 2001-2008
Back to top