Nokia N97 SDK
Example Applications Guide

CAknExQueryAppUi Class Reference

#include <aknexqueryappui.h>

Inheritance diagram for CAknExQueryAppUi:

List of all members.

Detailed Description

Application UI class. Provides support for the following features:

Definition at line 31 of file aknexqueryappui.h.


Public Member Functions

  CAknExQueryAppUi ()
void  ConstructL ()
virtual  ~CAknExQueryAppUi ()

Private Member Functions

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


Constructor & Destructor Documentation

CAknExQueryAppUi::CAknExQueryAppUi (   ) 
 

CAknExQueryAppUi Default constructor.

Definition at line 28 of file aknexqueryappui.cpp.

00029     {
00030     }

CAknExQueryAppUi::~CAknExQueryAppUi (   )  [virtual]
 

~CAknExQueryAppUi Destructor.

Definition at line 56 of file aknexqueryappui.cpp.

00057     {
00058     }


Member Function Documentation

void CAknExQueryAppUi::ConstructL (   ) 
 

ConstructL Symbian constructor.

Definition at line 37 of file aknexqueryappui.cpp.

00038     {
00039     BaseConstructL( EAknEnableSkin );
00040 
00041     CAknExQueryView* view = new ( ELeave ) CAknExQueryView;
00042     CleanupStack::PushL( view );
00043     view->ConstructL();
00044     AddViewL( view ); // transfer ownership to CAknViewAppUi
00045     CleanupStack::Pop();
00046 
00047     ActivateLocalViewL( view->Id() );
00048     }

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

HandleCommandL From CEikAppUi, takes care of command handling.

Parameters:
aCommand  command to be handled

Definition at line 65 of file aknexqueryappui.cpp.

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

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

From CEikAppUi, HandleResourceChangeL. Handles resource changes.

Parameters:
aType  Resource change type to be handled

Definition at line 83 of file aknexqueryappui.cpp.

00084     {
00085     CAknAppUi::HandleResourceChangeL( aType );
00086     if  ( aType == KEikDynamicLayoutVariantSwitch )
00087         {
00088         CAknView* view = View( KViewId );
00089         view->HandleViewRectChange();
00090         }
00091     }


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

© Nokia 2009

Back to top