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 CListboxView * | NewL (CSmsEngine *aEngine, CLogView *aView1) |
static CListboxView * | NewLC (CSmsEngine *aEngine, CLogView *aView1) |
ListBox view.
Improvement would be to get a rid of reference to engine and implement MVC.
Definition at line 24 of file SMSExampleListBoxView.h.
CListboxView::~CListboxView | ( | ) |
Destroy the object
Definition at line 68 of file SMSExampleListBoxView.cpp.
CListboxView * CListboxView::NewL | ( | CSmsEngine * | aEngine, | |
CLogView * | aView1 | |||
) | [static] |
Create a CListboxView object.
aEngine | Pointer to CSmsEngine. | |
aView1 | Pointer to CLogView. |
Definition at line 30 of file SMSExampleListBoxView.cpp.
CListboxView * CListboxView::NewLC | ( | CSmsEngine * | aEngine, | |
CLogView * | aView1 | |||
) | [static] |
Create a CListboxView object.
aEngine | Pointer to CSmsEngine. | |
aView1 | Pointer to CLogView. |
Definition at line 43 of file SMSExampleListBoxView.cpp.
void CListboxView::SetListBoxMode | ( | TInt | aMode | ) |
Set ListBoxMode (delete, copy, move).
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.
Definition at line 92 of file SMSExampleListBoxView.cpp.
void CListboxView::HandleCommandL | ( | TInt | aCommand | ) |
Handle a user command.
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.
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.