CPbk2AppViewBase Class Reference
class CPbk2AppViewBase : public CAknView |
Phonebook 2 application view base. Provides some common application view functionality. All Phonebook 2's application views have to be derived from this class because CPbk2AppUi assumes it.
Inherited Functions |
---|
| CAknView::ActivateViewL(const TVwsViewId &) |
| CAknView::ActivateViewL(const TVwsViewId &,TUid,const TDesC8 &) |
| CAknView::AknViewActivatedL(const TVwsViewId &,TUid,const TDesC8 &) |
| CAknView::AknViewDeactivated() |
| CAknView::AppUi()const |
| CAknView::BaseConstructL(TInt) |
| CAknView::CAknView() |
| CAknView::Cba()const |
| CAknView::ClientRect()const |
| CAknView::ConstructMenuAndCbaEarlyL() |
| CAknView::CreateAndSetToolbarL(TInt) |
| CAknView::DoActivateL(const TVwsViewId &,TUid,const TDesC8 &) |
| CAknView::DoDeactivate() |
| CAknView::HandleCommandL(TInt) |
| CAknView::HandleForegroundEventL(TBool) |
| CAknView::HandleStatusPaneSizeChange() |
| CAknView::HandleViewRectChange() |
| CAknView::Id()const |
| CAknView::IsForeground()const |
| CAknView::MenuBar()const |
| CAknView::MopNext() |
| CAknView::MopSupplyObject(TTypeUid) |
| CAknView::ProcessForegroundEventL(TBool) |
| CAknView::Redraw()const |
| CAknView::SaveToolbarStatus(TBool,TBool) |
| CAknView::SetEmphasis(CCoeControl *,TBool) |
| CAknView::SetToolbar(CAknToolbar *) |
| CAknView::ShowToolbarOnViewActivation(TBool) |
| CAknView::StatusPane()const |
| CAknView::StopDisplayingMenuBar() |
| CAknView::StopDisplayingToolbar() |
| CAknView::Toolbar()const |
| CAknView::ToolbarShownOnViewActivation()const |
| CAknView::ViewActivatedL(const TVwsViewId &,TUid,const TDesC8 &) |
| CAknView::ViewDeactivated() |
| CAknView::ViewId()const |
| CAknView::ViewScreenDeviceChangedL() |
| CAknView::~CAknView() |
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
Constructor & Destructor Documentation
CPbk2AppViewBase()
IMPORT_C | CPbk2AppViewBase | ( | ) | |
~CPbk2AppViewBase()
IMPORT_C | ~CPbk2AppViewBase | ( | ) | |
Member Functions Documentation
AppViewBaseExtension(TUid)
TAny * | AppViewBaseExtension | ( | TUid | | ) | [protected, inline, virtual] |
Returns an extension point for this interface or NULL.
ApplicationUid()
IMPORT_C TUid | ApplicationUid | ( | ) | const |
Returns Phonebook 2's application uid.
ClosePopup()
IMPORT_C void | ClosePopup | ( | ) | |
CloseStylusPopup()
void | CloseStylusPopup | ( | ) | [private] |
CreatePopupMenuL(TInt)
void | CreatePopupMenuL | ( | TInt | aResourceId | ) | [private] |
DoLaunchPopupL(TInt)
void | DoLaunchPopupL | ( | TInt | aResourceId | ) | [private] |
DoLaunchStylusPopupL(TInt, const TPoint &)
void | DoLaunchStylusPopupL | ( | TInt | aResourceId, |
| const TPoint & | aPoint |
| ) | [private] |
GetMenuFilteringFlagsL()
IMPORT_C TInt | GetMenuFilteringFlagsL | ( | ) | const |
Returns the menu filtering flags for the view.
Pbk2MenuFilteringFlags.hrh for possible flags.
GetViewSpecificMenuFilteringFlagsL()
TInt
| GetViewSpecificMenuFilteringFlagsL | ( | ) | const [protected, pure virtual] |
Gets view specific menu filtering flags.
HandleCommandKeyL(const TKeyEvent &, TEventCode)
Parameters
const TKeyEvent & aKeyEvent | Key event as in CCoeControl::OfferKeyEventL. |
TEventCode aType | Key event type as in CCoeControl::OfferKeyEventL. |
HandleLongTapEventL(const TPoint &, const TPoint &)
IMPORT_C void | HandleLongTapEventL | ( | const TPoint & | aPenEventLocation, |
| const TPoint & | aPenEventScreenLocation |
| ) | [protected, virtual] |
Parameters
const TPoint & aPenEventLocation | Long tap event location relative to parent control. |
const TPoint & aPenEventScreenLocation | Long tap event location relative to screen. |
HandlePointerEventL(const TPointerEvent &)
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [protected, virtual] |
Handles pointer events application-side.
Parameters
const TPointerEvent & aPointerEvent | Pointer event. |
LaunchPopupMenuL(TInt)
IMPORT_C void | LaunchPopupMenuL | ( | TInt | aResourceId | ) | |
Creates a pop up menubar of aResourceId. Runs DoLaunchPopupL inside a TRAP.
Parameters
TInt aResourceId | Resource id of the popup. |
LaunchStylusPopupMenu2L(TInt, const TPoint &)
IMPORT_C CAknStylusPopUpMenu & | LaunchStylusPopupMenu2L | ( | TInt | aResourceId, |
| const TPoint & | aPoint |
| ) | |
Creates a given stylus pop up menu at the given screen coordinates. The only difference with LaunchStylusPopupMenuL is in return value.
Parameters
TInt aResourceId | Resource id of the popup. |
const TPoint & aPoint | The position where stylus was tapped. |
LaunchStylusPopupMenuL(TInt, const TPoint &)
IMPORT_C void | LaunchStylusPopupMenuL | ( | TInt | aResourceId, |
| const TPoint & | aPoint |
| ) | |
Creates a given stylus pop up menu at the given screen coordinates.
Parameters
TInt aResourceId | Resource id of the popup. |
const TPoint & aPoint | The position where stylus was tapped. |
Pbk2HandleLongTapEventL(const TPoint &, const TPoint &)
IMPORT_C void | Pbk2HandleLongTapEventL | ( | const TPoint & | aPenEventLocation, |
| const TPoint & | aPenEventScreenLocation |
| ) | [private] |
Parameters
const TPoint & aPenEventLocation | |
const TPoint & aPenEventScreenLocation | |
Pbk2ProcessKeyEventL(const TKeyEvent &, TEventCode)
Pbk2ProcessPointerEventL(const TPointerEvent &)
IMPORT_C void | Pbk2ProcessPointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [private] |
Parameters
const TPointerEvent & aPointerEvent | |
ProcessCommandL(TInt)
IMPORT_C void | ProcessCommandL | ( | TInt | aCommand | ) | [private, virtual] |
From MEikMenuObserver. This function processes user commands by handling aCommand values EAknSoftkeyOptions, EAknCmdExit, EEikCmdCanceled and passing the others to HandleCommandL() for sub class to decide the actions.
Parameters
TInt aCommand | ID of the command to respond to. |
ViewStateLC()
Creates and returns an object containing this view's current state, which is used in view switching.
Member Data Documentation
CAknStylusPopUpMenu * iStylusPopup
CAknStylusPopUpMenu * | iStylusPopup | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.