CSearchContainer Class Reference

Inherits MWikiCountObserver.

List of all members.

Public Member Functions

void ConstructL (const TRect &aRect)
 ~CSearchContainer ()
TInt CountComponentControls () const
CCoeControl * ComponentControl (TInt aIndex) const
void SizeChanged ()
void HandleResourceChange (TInt aType)
TKeyResponse OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType)
void HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType)
void CountUpdatedL (TInt aError)
void RefreshL (TBool aResetNaviPane=EFalse)
TBool ZeroItemsInList ()
void HandleSelectCommandL ()

Static Public Member Functions

static CSearchContainerNewL (const TRect &aRect, CSearchView &aView, CRecCountContainer &aRecContainer)
static CSearchContainerNewLC (const TRect &aRect, CSearchView &aView, CRecCountContainer &aRecContainer)

Detailed Description

CSearchContainer container control class. An instance of CSearchContainer contains the view drawn to the screen for CSearchView

Definition at line 45 of file SearchContainer.h.


Constructor & Destructor Documentation

CSearchContainer::~CSearchContainer (  ) 

~CSearchContainer Destructor.

Definition at line 89 of file SearchContainer.cpp.


Member Function Documentation

CSearchContainer * CSearchContainer::NewL ( const TRect &  aRect,
CSearchView aView,
CRecCountContainer aRecContainer 
) [static]

NewL. Two-phased constructor. Create a CSearchContainer object, which will draw itself to aRect

Parameters:
aRect The rectangle this view will be drawn to.
Returns:
a pointer to the created instance of CSearchContainer.

Definition at line 50 of file SearchContainer.cpp.

CSearchContainer * CSearchContainer::NewLC ( const TRect &  aRect,
CSearchView aView,
CRecCountContainer aRecContainer 
) [static]

NewLC. Two-phased constructor. Create a CSearchContainer object, which will draw itself to aRect

Parameters:
aRect The rectangle this view will be drawn to.
Returns:
a pointer to the created instance of CSearchContainer.

Definition at line 62 of file SearchContainer.cpp.

void CSearchContainer::ConstructL ( const TRect &  aRect  ) 

ConstructL 2nd phase constructor.

Parameters:
aRect Frame rectangle for container.

Definition at line 75 of file SearchContainer.cpp.

TInt CSearchContainer::CountComponentControls (  )  const

CountComponentControls

Returns:
number of controls inside this container.

Definition at line 109 of file SearchContainer.cpp.

CCoeControl * CSearchContainer::ComponentControl ( TInt  aIndex  )  const

ComponentControl

Parameters:
Index number of the control.
Returns:
Pointer of controls inside this container.

Definition at line 129 of file SearchContainer.cpp.

void CSearchContainer::SizeChanged (  ) 

Called by framework when the view size is changed.

Definition at line 148 of file SearchContainer.cpp.

void CSearchContainer::HandleResourceChange ( TInt  aType  ) 

Reacts to screen size change

Definition at line 163 of file SearchContainer.cpp.

TKeyResponse CSearchContainer::OfferKeyEventL ( const TKeyEvent &  aKeyEvent,
TEventCode  aType 
)

OfferKeyEventL handles key events.

Parameters:
aKeyEvent the key event
aType the type of key event
Returns:
EKeyWasConsumed if keyevent was handled, EKeyWasNotConsumed otherwise

Definition at line 178 of file SearchContainer.cpp.

void CSearchContainer::HandleControlEventL ( CCoeControl *  aControl,
TCoeEvent  aEventType 
)

HandleControlEventL handles an event from an observed control.

Parameters:
aControl the control that reported the event
aEventType contains info about the event

Definition at line 222 of file SearchContainer.cpp.


Generated by  doxygen 1.6.2