CAknListQueryControl Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknlistquerycontrol.h>

Inherits CAknControl.


Detailed Description

List query control class.

Public Member Functions

IMPORT_C  CAknListQueryControl ()
  Constructor.
IMPORT_C void  ConstructFromResourceL (TResourceReader &aRes)
  Constructs control from resources.
virtual IMPORT_C  ~CAknListQueryControl ()
  Destructor.
IMPORT_C TSize  MinimumSize ()
  From CCoeControl.
IMPORT_C TInt  CountComponentControls () const
  From CCoeControl Returns number of controls inside the query control.
IMPORT_C CCoeControl *  ComponentControl (TInt anIndex) const
  From CCoeControl Returns a control determined by control id.
IMPORT_C TKeyResponse  OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType)
  From CCoeControl Handles key events - Gets called by CONE.
IMPORT_C void  Draw (const TRect &aRect) const
  From CCoeControl Draws the control.
IMPORT_C void  SetLayout (TAknPopupWindowLayoutDef *aLayout)
  Sets layout for list query control.
IMPORT_C void  FocusChanged (TDrawNow aDrawNow)
CEikFormattedCellListBox Listbox () const
  Returns pointer to listbox.
CAknPopupHeadingPane Heading () const
  Returns pointer to heading.
TInt  Listtype () const
  Return type of the list.
IMPORT_C void  HandlePointerEventL (const TPointerEvent &aPointerEvent)
  From CCoeControl.
CAknMessageQueryControl MessageBox () const
  Get pointer to messageControl if such exists.
CEikFormattedCellListBox listbox () const
  Deprecated - do not use.

Constructor & Destructor Documentation

IMPORT_C CAknListQueryControl::CAknListQueryControl  ) 
 

Constructor.

virtual IMPORT_C CAknListQueryControl::~CAknListQueryControl  )  [virtual]
 

Destructor.


Member Function Documentation

IMPORT_C CCoeControl* CAknListQueryControl::ComponentControl TInt  anIndex  )  const
 

From CCoeControl Returns a control determined by control id.

Parameters:
anIndex  Index of a control to be returned
Returns:
CCoeControl Pointer to control
IMPORT_C void CAknListQueryControl::ConstructFromResourceL TResourceReader &  aRes  ) 
 

Constructs control from resources.

IMPORT_C TInt CAknListQueryControl::CountComponentControls  )  const
 

From CCoeControl Returns number of controls inside the query control.

Returns:
Number of component controls
IMPORT_C void CAknListQueryControl::Draw const TRect &  aRect  )  const
 

From CCoeControl Draws the control.

Parameters:
aRect  The region of the control to be redrawn
IMPORT_C void CAknListQueryControl::FocusChanged TDrawNow  aDrawNow  ) 
 
IMPORT_C void CAknListQueryControl::HandlePointerEventL const TPointerEvent &  aPointerEvent  ) 
 

From CCoeControl.

Handles pointer events

CAknPopupHeadingPane * CAknListQueryControl::Heading  )  const [inline]
 

Returns pointer to heading.

Returns:
Pointer to CAknPopupHeadingPane
CEikFormattedCellListBox * CAknListQueryControl::listbox  )  const [inline]
 

Deprecated - do not use.

CEikFormattedCellListBox * CAknListQueryControl::Listbox  )  const [inline]
 

Returns pointer to listbox.

Returns:
Pointer to CEikFormattedCellListBox
TInt CAknListQueryControl::Listtype  )  const [inline]
 

Return type of the list.

Returns:
Type of the list
CAknMessageQueryControl* CAknListQueryControl::MessageBox  )  const
 

Get pointer to messageControl if such exists.

IMPORT_C TSize CAknListQueryControl::MinimumSize  ) 
 

From CCoeControl.

Returns:
Minimum size of the control
IMPORT_C TKeyResponse CAknListQueryControl::OfferKeyEventL const TKeyEvent &  aKeyEvent,
TEventCode  aType
 

From CCoeControl Handles key events - Gets called by CONE.

Parameters:
aKeyEvent  The key event
aType  The type of the event
Returns:
Indicates whether or not the key event was used by this control
IMPORT_C void CAknListQueryControl::SetLayout TAknPopupWindowLayoutDef aLayout  ) 
 

Sets layout for list query control.

Parameters:
aLayout  Layout to be set

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

Copyright © Nokia Corporation 2001-2008
Back to top