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

Definition at line 39 of file aknexpoplistappui.h.
Public Member Functions |
|
| void | ConstructL () |
| virtual | ~CAknExPopListAppUi () |
Private Member Functions |
|
| void | HandleCommandL (TInt aCommand) |
| void | HandleResourceChangeL (TInt aType) |
|
|
~CAknExNoteAppUi Virtual Destructor. Definition at line 63 of file aknexpoplistappui.cpp.
|
|
|
ConstructL 2nd phase constructor. Definition at line 35 of file aknexpoplistappui.cpp. 00036 { 00037 // Initialise app UI with standard value. 00038 BaseConstructL( EAknEnableSkin ); 00039 00040 // Create CAknExPopListView instance and name it view1 00041 CAknExPopListView* view = new( ELeave ) CAknExPopListView; 00042 00043 // Push view1's pointer to CleanupStack 00044 CleanupStack::PushL( view ); 00045 00046 // Construct View1 00047 view->ConstructL(); 00048 00049 // Contruct of View1 ok: Pop view1's pointer from CleanUpStack. 00050 CleanupStack::Pop(); 00051 00052 // Transfer view1's ownership to CAknViewAppUi 00053 AddViewL( view ); 00054 00055 ActivateLocalViewL( view->Id() ); 00056 }
|
|
|
HandleCommandL. Handles the commands.
Definition at line 72 of file aknexpoplistappui.cpp. 00073 { 00074 switch ( aCommand ) 00075 { 00076 case EEikCmdExit: 00077 case EAknCmdExit: 00078 Exit(); 00079 break; 00080 00081 default: 00082 break; 00083 } 00084 }
|
|
|
From CEikAppUi, HandleResourceChangeL. Handles resource changes.
Definition at line 91 of file aknexpoplistappui.cpp. 00092 { 00093 CAknAppUi::HandleResourceChangeL( aType ); 00094 if ( aType == KEikDynamicLayoutVariantSwitch ) 00095 { 00096 CAknView* view = View( KViewId ); 00097 view->HandleViewRectChange(); 00098 } 00099 }
|
|
© Nokia 2009 |