diff -r 63339781d179 -r 09b1ac925e3f secsrv_plat/security_code_ui_api/inc/SecUiCodeQueryDialog.h --- a/secsrv_plat/security_code_ui_api/inc/SecUiCodeQueryDialog.h Thu Aug 19 10:45:23 2010 +0300 +++ b/secsrv_plat/security_code_ui_api/inc/SecUiCodeQueryDialog.h Tue Aug 31 16:04:40 2010 +0300 @@ -17,15 +17,12 @@ * */ - #ifndef __SECUICODEQUERYDIALOG__ #define __SECUICODEQUERYDIALOG__ -#include -#include #include -class CCodeQueryDialog : public CAknTextQueryDialog +class CCodeQueryDialog : public CBase { public://construction and destruction /** @@ -40,73 +37,7 @@ * Destructor. */ ~CCodeQueryDialog(); - public: - /** - * Allows dismissing of code queries. Only mandatory requirement is that PIN - * queries are dismissed by the # - * - * @param aKeyEvent TKeyEvent& - * @return ETrue query is dismissed - * EFalse not dismissed - */ - TBool NeedToDismissQueryL(const TKeyEvent& aKeyEvent); - /** - * Calls the dialog's TryExitL and passes the reason given as a parameter. - * - * @param TInt aReason (The reason for the cancel request) - */ - void TryCancelQueryL(TInt aReason); - protected://from CAknTextQueryDialog - /** - * From CAknTextQueryDialog This function is called by the UIKON dialog framework - * just before the dialog is activated, after it has called - * PreLayoutDynInitL() and the dialog has been sized. - */ - void PreLayoutDynInitL(); - /** - * From CAknTextQueryDialog This function is called by the UIKON 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. - * @param aButtonId The ID of the button that was activated - * @return Should return ETrue if the dialog should exit, and EFalse if it should not. - */ - TBool OkToExitL(TInt aButtonId); - /** - * From CAknTextQueryDialog This function is called by the UIKON dialog framework - * just after a key is pressed - * @param aKeyEvent TKeyEvent& - * @param aType TEventCode - */ - TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType); - /** - * From MAknQueryControlObeserver; overrides the default implementation in CAknQueryDialog. - * Gets called by framework when editor sends state event - */ - TBool HandleQueryEditorStateEventL(CAknQueryControl* aQueryControl, TQueryControlEvent aEventType, TQueryValidationStatus aStatus); - - TBool CheckIfEntryTextOk() const; - - void UpdateLeftSoftKeyL(); - private: - void ShowWarningNoteL(); - - /* - * SetIncallBubbleAllowedInUsualL - */ - void SetIncallBubbleAllowedInUsualL(TBool aAllowed); - - private: // DATA - TInt iMinLength; - TInt iMaxLength; - TInt iMode; - TBool iFront; - TInt iAppKey; - TInt iVoiceKey1; - TInt iVoiceKey2; - TInt iEndKey; - TBool iIsRemoteLockQuery; }; #endif