class CAknTextQueryDialog : public CAknQueryDialog |
This class should be used when user is reguest to enter plain text, secret text, phonenumber or PIN-code
Public Member Functions | |
---|---|
CAknTextQueryDialog(TDes &, const TTone &) | |
CAknTextQueryDialog(TDes &, TDesC &, const TTone &) | |
~CAknTextQueryDialog() | |
IMPORT_C TBool | CheckIfEntryTextOk() |
IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
IMPORT_C TBool | HandleQueryEditorSizeEventL(CAknQueryControl *, TQueryControlEvent) |
IMPORT_C CAknTextQueryDialog * | NewL(TDes &, const TTone &) |
IMPORT_C void | SetDefaultInputMode(TInt) |
IMPORT_C void | SetMaxLength(TInt) |
Protected Member Functions | |
---|---|
IMPORT_C TBool | OkToExitL(TInt) |
IMPORT_C void | PreLayoutDynInitL() |
void | SetControlTextL() |
TDes & | Text() |
const TDesC & | Text() |
Private Member Functions | |
---|---|
IMPORT_C void | CAknDialog_Reserved() |
IMPORT_C void | CAknQueryDialog_Reserved() |
IMPORT_C void | CEikDialog_Reserved_1() |
IMPORT_C void | CEikDialog_Reserved_2() |
IMPORT_C void * | ExtensionInterface(TUid) |
Inherited Enumerations | |
---|---|
CAknQueryDialog:TTone | |
CCoeControl:TZoomType | |
CEikDialog:@145 |
Protected Attributes | |
---|---|
TDes & | iDataText |
TBool | iEditorTextOk |
TInt | iTextMaxLength |
Private Attributes | |
---|---|
TInt | iSpare |
IMPORT_C | CAknTextQueryDialog | ( | TDes & | aDataText, |
const TTone & | aTone = ENoTone | |||
) |
C++ Constructor.
IMPORT_C | CAknTextQueryDialog | ( | TDes & | aDataText, |
TDesC & | aPrompt, | |||
const TTone & | aTone = ENoTone | |||
) |
deprecated do not use
IMPORT_C TBool | CheckIfEntryTextOk | ( | ) | const [virtual] |
Return true if the length of the text is bigger than zero and if there is at least a character which is not a space
IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl
TUid aInterface |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Handles pointer events
const TPointerEvent & aPointerEvent |
IMPORT_C TBool | HandleQueryEditorSizeEventL | ( | CAknQueryControl * | aQueryControl, |
TQueryControlEvent | aEventType | |||
) |
Gets called when editor sends size event
CAknQueryControl * aQueryControl | Pointer to query control which sent the event |
TQueryControlEvent aEventType | Type of the event |
IMPORT_C CAknTextQueryDialog * | NewL | ( | TDes & | aDataText, |
const TTone & | aTone = ENoTone | |||
) | [static] |
Second phase construction required to align API with multiline queries and because in future MAknQueryData will be used.
IMPORT_C TBool | OkToExitL | ( | TInt | aButtonId | ) | [protected, virtual] |
From CEikdialog
This function is called by the EIKON framework if the user activates a button in the button panel. It is not called if the Cancel button is activated, unless the EEikDialogFlagNotifyEsc flag is set. Should return ETrue if the dialog should exit, and EFalse if it should not.
TInt aButtonId | The ID of the button that was activated |
IMPORT_C void | PreLayoutDynInitL | ( | ) | [protected, virtual] |
From CEikdialog
This function is called by the EIKON dialog framework just before the dialog is activated, after it has called PreLayoutDynInitL() and the dialog has been sized.
void | SetControlTextL | ( | ) | [protected] |
Called by PreLayoutDynInit(), set the control observer, the text and the maximum length of the text
IMPORT_C void | SetDefaultInputMode | ( | TInt | aInputMode | ) |
Changes default input mode of a secret editor. By default input mode in secret editor is alpha input mode (EAknEditorSecretAlphaInputMode from uikon.hrh). By using this method the default input mode can be changed to numeric input mode (EAknEditorNumericInputMode).
2.1
TInt aInputMode | Default input mode in the secret editor. Only EAknEditorNumericInputMode and EAknEditorSecretAlphaInputMode are supported. |
IMPORT_C void | SetMaxLength | ( | TInt | aLength | ) |
Set max lenght for editor. This overrides the max lenght given in resource.
TInt aLength | Max lenght. |
TDes & | iDataText | [protected] |
Text for editor. When query is approved text from editor is stored here
TInt | iTextMaxLength | [protected] |
Max length for text
This data will become private Use Text() and MaxTextLength() instead