CAknFixedPointQueryDialog Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknquerydialog.h>

Inherits CAknQueryDialog.


Detailed Description

This class should be used when user is reguest to enter IP address.

Public Member Functions

virtual IMPORT_C  ~CAknFixedPointQueryDialog ()
  C++ Destructor.
IMPORT_C void  SetMinimumAndMaximum (TInt aMinimumValue, TInt aMaximumValue)
  Set maximum and minimum addresses to editor.
virtual IMPORT_C TBool  NeedToDismissQueryL (const TKeyEvent &aKeyEvent)
  Called by OfferkeyEventL(), gives a change to dismiss the query even with keys different than Enter of Ok.

Static Public Member Functions

static IMPORT_C CAknFixedPointQueryDialog NewL (TInt &aNumber, const TTone &aTone)
  Second phase construction.

Protected Member Functions

virtual IMPORT_C CAknQueryControl QueryControl () const
  Usage: CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl());.
IMPORT_C void  SetSizeAndPosition (const TSize &aSize)
  From CEikdialog EIKON provides an implementation of this function, which positions the dialog in the centre of the screen.
IMPORT_C void  PreLayoutDynInitL ()
  From CEikdialog.
IMPORT_C void  PostLayoutDynInitL ()
  From CEikdialog.
virtual IMPORT_C void  DoSetPromptL ()
  Set the prompt inside the query control.
virtual IMPORT_C TBool  OkToExitL (TInt aButtonId)
  From CEikdialog.
IMPORT_C void  UpdateLeftSoftKeyL ()
  If the query text is ok (retrieved form query control) then display the left soft key, otherwise hide it.
TInt &  Number ()
const TInt &  Number () const

Constructor & Destructor Documentation

virtual IMPORT_C CAknFixedPointQueryDialog::~CAknFixedPointQueryDialog  )  [virtual]
 

C++ Destructor.


Member Function Documentation

virtual IMPORT_C void CAknFixedPointQueryDialog::DoSetPromptL  )  [protected, virtual]
 

Set the prompt inside the query control.

If dialog is active redo layout and draw.

Reimplemented from CAknQueryDialog.

virtual IMPORT_C TBool CAknFixedPointQueryDialog::NeedToDismissQueryL const TKeyEvent &  aKeyEvent  )  [virtual]
 

Called by OfferkeyEventL(), gives a change to dismiss the query even with keys different than Enter of Ok.

Reimplemented from CAknQueryDialog.

static IMPORT_C CAknFixedPointQueryDialog* CAknFixedPointQueryDialog::NewL TInt &  aNumber,
const TTone aTone
[static]
 

Second phase construction.

const TInt& CAknFixedPointQueryDialog::Number  )  const [inline, protected]
 
Returns:
data
TInt& CAknFixedPointQueryDialog::Number  )  [inline, protected]
 
Returns:
data
virtual IMPORT_C TBool CAknFixedPointQueryDialog::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.

Parameters:
aButtonId  The ID of the button that was activated
Returns:
Should return ETrue if the dialog should exit, and EFalse if it should not.

Reimplemented from CAknQueryDialog.

IMPORT_C void CAknFixedPointQueryDialog::PostLayoutDynInitL  )  [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.

Reimplemented from CAknQueryDialog.

IMPORT_C void CAknFixedPointQueryDialog::PreLayoutDynInitL  )  [protected, virtual]
 

From CEikdialog.

This function is called by the EIKON dialog framework just before the dialog is activated, but before it is sized, and before PostLayoutDynInitL() is called.

Reimplemented from CAknQueryDialog.

virtual IMPORT_C CAknQueryControl* CAknFixedPointQueryDialog::QueryControl  )  const [protected, virtual]
 

Usage: CAknExtQueryControl* control = STATIC_CAST(CAknExtQueryControl*,QueryControl());.

Reimplemented from CAknQueryDialog.

IMPORT_C void CAknFixedPointQueryDialog::SetMinimumAndMaximum TInt  aMinimumValue,
TInt  aMaximumValue
 

Set maximum and minimum addresses to editor.

This override values given in resource.

Parameters:
aMinimumValue  Minimumm value
aMaximumValue  Maximum value.
IMPORT_C void CAknFixedPointQueryDialog::SetSizeAndPosition const TSize &  aSize  )  [protected, virtual]
 

From CEikdialog EIKON provides an implementation of this function, which positions the dialog in the centre of the screen.

However, it can be overridden by derived classes..

Parameters:
aSize  The size for the dialog.

Reimplemented from CAknQueryDialog.

IMPORT_C void CAknFixedPointQueryDialog::UpdateLeftSoftKeyL  )  [protected, virtual]
 

If the query text is ok (retrieved form query control) then display the left soft key, otherwise hide it.

Reimplemented from CAknQueryDialog.


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

Copyright © Nokia Corporation 2001-2008
Back to top