CListboxView Class Reference

List of all members.

Public Member Functions

 ~CListboxView ()
void SetListBoxMode (TInt aMode)
void InitializeListBoxL ()
void SetFolderID (TMsvId aFolderID)
void SetTargetFolderID (TMsvId aTargetFolderID)
TUid Id () const
void HandleCommandL (TInt aCommand)
void DoActivateL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage)
void DoDeactivate ()
void HandleClientRectChange ()
void HandleResourceChangeL (TInt aType)
void SizeChanged ()

Static Public Member Functions

static CListboxViewNewL (CSmsEngine *aEngine, CLogView *aView1)
static CListboxViewNewLC (CSmsEngine *aEngine, CLogView *aView1)

Detailed Description

ListBox view.

Improvement would be to get a rid of reference to engine and implement MVC.

Definition at line 24 of file SMSExampleListBoxView.h.


Constructor & Destructor Documentation

CListboxView::~CListboxView (  ) 

Destroy the object

Definition at line 68 of file SMSExampleListBoxView.cpp.


Member Function Documentation

CListboxView * CListboxView::NewL ( CSmsEngine aEngine,
CLogView aView1 
) [static]

Create a CListboxView object.

Parameters:
aEngine Pointer to CSmsEngine.
aView1 Pointer to CLogView.
Returns:
a pointer to the created instance of CListboxView.

Definition at line 30 of file SMSExampleListBoxView.cpp.

CListboxView * CListboxView::NewLC ( CSmsEngine aEngine,
CLogView aView1 
) [static]

Create a CListboxView object.

Parameters:
aEngine Pointer to CSmsEngine.
aView1 Pointer to CLogView.
Returns:
a pointer to the created instance of CListboxView.

Definition at line 43 of file SMSExampleListBoxView.cpp.

void CListboxView::SetListBoxMode ( TInt  aMode  ) 

Set ListBoxMode (delete, copy, move).

See also:
SMSExample.hrh.
Parameters:
aMode ListBox mode.

Definition at line 192 of file SMSExampleListBoxView.cpp.

void CListboxView::InitializeListBoxL (  ) 

Load source folder messages into ListBox.

Definition at line 136 of file SMSExampleListBoxView.cpp.

void CListboxView::SetFolderID ( TMsvId  aFolderID  ) 

Set source folder (from which copy or move is performed).

Definition at line 125 of file SMSExampleListBoxView.cpp.

void CListboxView::SetTargetFolderID ( TMsvId  aTargetFolderID  ) 

Set target folder (to which folder copy or move is targeted).

Definition at line 202 of file SMSExampleListBoxView.cpp.

TUid CListboxView::Id (  )  const

Identity of this view to the system.

Returns:
the ID of view.

Definition at line 92 of file SMSExampleListBoxView.cpp.

void CListboxView::HandleCommandL ( TInt  aCommand  ) 

Handle a user command.

Parameters:
aCommand Command to be handled.

Definition at line 301 of file SMSExampleListBoxView.cpp.

void CListboxView::DoActivateL ( const TVwsViewId &  aPrevViewId,
TUid  aCustomMessageId,
const TDesC8 &  aCustomMessage 
)

Create the Container class object.

Parameters:
aPrevViewId The id of the previous view.
aCustomMessageId message identifier.
aCustomMessage custom message provided when the view is changed.

Definition at line 106 of file SMSExampleListBoxView.cpp.

void CListboxView::DoDeactivate (  ) 

Remove the container class instance from the App UI's stack and deletes the instance.

Definition at line 177 of file SMSExampleListBoxView.cpp.

void CListboxView::HandleClientRectChange (  ) 

From CAknView reaction if size change.

Definition at line 212 of file SMSExampleListBoxView.cpp.


Generated by  doxygen 1.6.2