CAknExtMultilineQueryControl Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <
aknmultilinequerycontrol.h>

Inherits CAknExtQueryControl.


Detailed Description

Derived Multiline query control class.

Public Member Functions

IMPORT_C CAknExtMultilineQueryControl ()
 C++ Constructor.
virtual IMPORT_C ~CAknExtMultilineQueryControl ()
 C++ Destructor.
IMPORT_C void SetNbrOfPromptLines (TInt aNbrOfPromptLinesFirstLine, TInt aNbrOfPromptLinesSecondLine)
 Set number of prompt lines to controls.
IMPORT_C TBool IsFirst () const
 Return true if control is the first query in the dialog.
IMPORT_C TBool IsSecond () const
 Return true if control is the second query in the dialog.
virtual IMPORT_C CCoeControl * ControlByLayoutOrNull (TInt aLayout)
 Get pointer to query controls control (editor).
IMPORT_C TSize MinimumSize ()
 From CCoeControl Give the control a mimimum size.
IMPORT_C void HandlePointerEventL (const TPointerEvent &aPointerEvent)
 From CCoeControl.
IMPORT_C void HandleResourceChange (TInt aType)

Protected Member Functions

void SetLineWidthsL ()
 Set line widths for query prompt.
void ConstructQueryL (TResourceReader &aRes)
 Read the query data from resource file.
TRect LayoutRect ()
 Layout rectangle (shift up and left by margins).

Data Structures

class  TIndex
 LAF indexing. More...

Constructor & Destructor Documentation

IMPORT_C CAknExtMultilineQueryControl::CAknExtMultilineQueryControl  ) 
 

C++ Constructor.

virtual IMPORT_C CAknExtMultilineQueryControl::~CAknExtMultilineQueryControl  )  [virtual]
 

C++ Destructor.


Member Function Documentation

void CAknExtMultilineQueryControl::ConstructQueryL TResourceReader &  aRes  )  [protected, virtual]
 

Read the query data from resource file.

Reimplemented from CAknExtQueryControl.

virtual IMPORT_C CCoeControl* CAknExtMultilineQueryControl::ControlByLayoutOrNull TInt  aLayout  )  [virtual]
 

Get pointer to query controls control (editor).

Parameters:
aLayout Controls layout (for multiline queries use EMultiDataFirstIpEd, EMultiDataSecondIpEd...)
Returns:
Pointer to control, NULL if not found

Reimplemented from CAknExtQueryControl.

IMPORT_C void CAknExtMultilineQueryControl::HandlePointerEventL const TPointerEvent &  aPointerEvent  ) 
 

From CCoeControl.

Handles pointer events

Parameters:
aPointerEvent The pointer event.

Reimplemented from CAknExtQueryControl.

IMPORT_C void CAknExtMultilineQueryControl::HandleResourceChange TInt  aType  ) 
 

Reimplemented from CAknQueryControl.

IMPORT_C TBool CAknExtMultilineQueryControl::IsFirst  )  const
 

Return true if control is the first query in the dialog.

IMPORT_C TBool CAknExtMultilineQueryControl::IsSecond  )  const
 

Return true if control is the second query in the dialog.

TRect CAknExtMultilineQueryControl::LayoutRect  )  [protected, virtual]
 

Layout rectangle (shift up and left by margins).

Reimplemented from CAknQueryControl.

IMPORT_C TSize CAknExtMultilineQueryControl::MinimumSize  ) 
 

From CCoeControl Give the control a mimimum size.

Returns:
The minimum size required by the control.

Reimplemented from CAknQueryControl.

void CAknExtMultilineQueryControl::SetLineWidthsL  )  [protected, virtual]
 

Set line widths for query prompt.

Reimplemented from CAknQueryControl.

IMPORT_C void CAknExtMultilineQueryControl::SetNbrOfPromptLines TInt  aNbrOfPromptLinesFirstLine,
TInt  aNbrOfPromptLinesSecondLine
 

Set number of prompt lines to controls.

This have to call before setting sizs of the components

Parameters:
aNbrOfPromptLinesFirstLine Numbers of lines in first prompt text
aNbrOfPromptLinesSecondLine Numbers of lines in Second prompt text

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

Copyright © Nokia Corporation 2001-2008
Back to top