Nokia N97 SDK
Example Applications Guide

CAknExPopListAppUi Class Reference

#include <aknexpoplistappui.h>

Inheritance diagram for CAknExPopListAppUi:

List of all members.

Detailed Description

Application UI class. Provides support for the following features:

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)


Constructor & Destructor Documentation

CAknExPopListAppUi::~CAknExPopListAppUi (   )  [virtual]
 

~CAknExNoteAppUi Virtual Destructor.

Definition at line 63 of file aknexpoplistappui.cpp.

00064     {
00065     }


Member Function Documentation

void CAknExPopListAppUi::ConstructL (   ) 
 

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     }

void CAknExPopListAppUi::HandleCommandL (  TInt  aCommand  )  [private]
 

HandleCommandL. Handles the commands.

Parameters:
aCommand  command to be handled

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     }

void CAknExPopListAppUi::HandleResourceChangeL (  TInt  aType  )  [private]
 

From CEikAppUi, HandleResourceChangeL. Handles resource changes.

Parameters:
aType  Resource change type to be handled

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     }


The documentation for this class was generated from the following files:

© Nokia 2009

Back to top