|
Nokia N97 SDK Example Applications Guide |
#include <aknexquerytimeanddurationlisteventhandler.h>
Inheritance diagram for CAknExQueryTimeAndDurationListEventHandler:

Definition at line 30 of file aknexquerytimeanddurationlisteventhandler.h.
Public Member Functions |
|
| CAknExQueryTimeAndDurationListEventHandler (CAknExQueryContainer *aContainer) | |
| virtual | ~CAknExQueryTimeAndDurationListEventHandler () |
| void | HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType) |
Protected Attributes |
|
| CAknExQueryContainer * | iContainer |
Private Member Functions |
|
| void | HandleSelectedListItemL (TInt aCommand) |
|
|
CAknExQueryTimeAndDurationListEventHandler Constructor.
Definition at line 31 of file aknexquerytimeanddurationlisteventhandler.cpp. 00033 : CAknExQueryBaseListEventHandler( aContainer ) 00034 { 00035 }
|
|
|
~CAknExQueryTimeAndDurationListEventHandler Destructor. Definition at line 44 of file aknexquerytimeanddurationlisteventhandler.cpp.
|
|
|
HandleSelectedListItemL From CAknExQueryBaseListEventHandler, HandlerSelectedListItem. Handles the event which list item selected.
Reimplemented from CAknExQueryBaseListEventHandler. Definition at line 52 of file aknexquerytimeanddurationlisteventhandler.cpp. References CAknExQueryBaseListEventHandler::iContainer, and CAknExQueryContainer::ShowMultiLineTimeAndDurationLayoutL(). 00054 { 00055 switch ( aCommand ) 00056 { 00057 case EAknExQueryListBoxCmdData1: 00058 iContainer->ShowMultiLineTimeAndDurationLayoutL( 00059 R_AKNEXQUERY_MULTI_LINE_DATE_AND_DURATION_LAYOUT, 00060 R_AKNEXQUERY_DATE_INITIAL_VALUE ); 00061 break; 00062 case EAknExQueryListBoxCmdData2: 00063 iContainer->ShowMultiLineTimeAndDurationLayoutL( 00064 R_AKNEXQUERY_MULTI_LINE_TIME_AND_DURATION_LAYOUT, 00065 R_AKNEXQUERY_TIME_INITIAL_VALUE ); 00066 break; 00067 default: 00068 break; 00069 } 00070 }
|
|
||||||||||||
|
HandleListBoxEventL From MEikListBoxObserver, Handle listbox event Handles the list box events. When list item is selected, HandleSelectedListItemL() is called.
Definition at line 48 of file aknexquerybaselisteventhandler.cpp. References CAknExQueryBaseListEventHandler::HandleSelectedListItemL(). Referenced by CAknExQueryContainer::PopoutListBoxL(). 00051 { 00052 if ( ( aEventType == MEikListBoxObserver::EEventEnterKeyPressed ) || 00053 ( aEventType == MEikListBoxObserver::EEventItemClicked ) ) 00054 { 00055 HandleSelectedListItemL( aListBox->CurrentItemIndex() ); 00056 } 00057 }
|
|
|
iContainer Does not own Definition at line 79 of file aknexquerybaselisteventhandler.h. Referenced by HandleSelectedListItemL(). |
|
© Nokia 2009 |