Nokia N97 SDK
Example Applications Guide

CAknExPopFieldAppUi Class Reference

#include <aknexpopfieldappui.h>

Inheritance diagram for CAknExPopFieldAppUi:

List of all members.

Detailed Description

Application UI class. Provides support for the following features:

Definition at line 33 of file aknexpopfieldappui.h.


Public Member Functions

  CAknExPopFieldAppUi ()
void  ConstructL ()
virtual  ~CAknExPopFieldAppUi ()

Private Member Functions

void  HandleCommandL (TInt aCommand)
void  HandleResourceChangeL (TInt aType)

Private Attributes

CAknExPopFieldView *  iView


Constructor & Destructor Documentation

CAknExPopFieldAppUi::CAknExPopFieldAppUi (   ) 
 

Default constructor.

Definition at line 28 of file aknexpopfieldappui.cpp.

00029     {
00030     // No implementation required
00031     }

CAknExPopFieldAppUi::~CAknExPopFieldAppUi (   )  [virtual]
 

Destructor.

Definition at line 57 of file aknexpopfieldappui.cpp.

00058     {
00059     // No implementation required
00060     }


Member Function Documentation

void CAknExPopFieldAppUi::ConstructL (   ) 
 

ConstructL. 2nd phase constructor.

Definition at line 38 of file aknexpopfieldappui.cpp.

References CAknExPopFieldView::ConstructL(), and iView.

00039     {
00040     BaseConstructL(EAknEnableSkin);
00041 
00042     // Creates CAknExPopFieldView class object.
00043     iView = new ( ELeave ) CAknExPopFieldView;
00044     CleanupStack::PushL( iView );
00045     iView->ConstructL();
00046     AddViewL( iView ); // transfer ownership to CAknViewAppUi.
00047     CleanupStack::Pop(); // view
00048 
00049     ActivateLocalViewL( iView->Id() );
00050     }

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

From CEikAppUi, HandleCommandL. Handles the commands.

Parameters:
aCommand  Command to be handled

Definition at line 67 of file aknexpopfieldappui.cpp.

00068     {
00069     switch ( aCommand )
00070         {
00071         case EEikCmdExit:
00072             Exit();
00073             break;
00074         default:
00075             break;
00076         }
00077     }

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

From CEikAppUi, HandleResourceChangeL. Handles resource changes.

Parameters:
aType  Resource change type to be handled

Definition at line 84 of file aknexpopfieldappui.cpp.

00085     {
00086     CAknAppUi::HandleResourceChangeL( aType );
00087     if  ( aType == KEikDynamicLayoutVariantSwitch )
00088         {
00089         iView->HandleSizeChange();
00090         }
00091     }


Member Data Documentation

CAknExPopFieldView* CAknExPopFieldAppUi::iView [private]
 

iView Owned by CAknExPopFieldAppUi object.

Definition at line 75 of file aknexpopfieldappui.h.

Referenced by ConstructL().


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

© Nokia 2009

Back to top