CAknTimeQueryDialog 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 time or date.

Public Member Functions

IMPORT_C  CAknTimeQueryDialog (TTime &aTime, const TTone &aTone=ENoTone)
  C++ Constructor.
virtual IMPORT_C  ~CAknTimeQueryDialog ()
  C++ Destructor.
IMPORT_C void  SetMinimumAndMaximum (const TTime &aMinimum, const TTime &aMaximum)
  Set maximum and minimum times to editor.
IMPORT_C void  HandlePointerEventL (const TPointerEvent &aPointerEvent)
  Handles pointer events.
IMPORT_C  CAknTimeQueryDialog (TTime &aTime, TDesC &aPrompt, const TTone &aTone=ENoTone)
  deprecated - do not use

Static Public Member Functions

static IMPORT_C CAknTimeQueryDialog NewL (TTime &aTime, const TTone &aTone=ENoTone)
  Second phase construction required to align API with multiline queries and because in future MAknQueryData will be used.

Protected Member Functions

IMPORT_C void  PreLayoutDynInitL ()
  From CEikdialog.
virtual IMPORT_C TBool  OkToExitL (TInt aButtonId)
  From CEikdialog.
TTime &  Time ()
const TTime &  Time () const

Protected Attributes

TTime &  iTime

Constructor & Destructor Documentation

IMPORT_C CAknTimeQueryDialog::CAknTimeQueryDialog TTime &  aTime,
const TTone aTone = ENoTone
 

C++ Constructor.

virtual IMPORT_C CAknTimeQueryDialog::~CAknTimeQueryDialog  )  [virtual]
 

C++ Destructor.

IMPORT_C CAknTimeQueryDialog::CAknTimeQueryDialog TTime &  aTime,
TDesC &  aPrompt,
const TTone aTone = ENoTone
 

deprecated - do not use


Member Function Documentation

IMPORT_C void CAknTimeQueryDialog::HandlePointerEventL const TPointerEvent &  aPointerEvent  ) 
 

Handles pointer events.

Reimplemented from CAknQueryDialog.

static IMPORT_C CAknTimeQueryDialog* CAknTimeQueryDialog::NewL TTime &  aTime,
const TTone aTone = ENoTone
[static]
 

Second phase construction required to align API with multiline queries and because in future MAknQueryData will be used.

virtual IMPORT_C TBool CAknTimeQueryDialog::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 CAknTimeQueryDialog::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.

Reimplemented from CAknQueryDialog.

IMPORT_C void CAknTimeQueryDialog::SetMinimumAndMaximum const TTime &  aMinimum,
const TTime &  aMaximum
 

Set maximum and minimum times to editor.

This override values given in resource. Only values inside the initial minimum and maximum are permitted

Parameters:
aMinimum  Minimumm time
aMaximum  Maximum time.
const TTime& CAknTimeQueryDialog::Time  )  const [inline, protected]
 
Returns:
data
TTime& CAknTimeQueryDialog::Time  )  [inline, protected]
 
Returns:
data

Field Documentation

TTime& CAknTimeQueryDialog::iTime [protected]
 
Deprecated:
  • will become private - use Time() instead

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

Copyright © Nokia Corporation 2001-2008
Back to top