CLmkDlgSelectorImplBase Class Reference
class CLmkDlgSelectorImplBase : public CLmkSelectorImplBase |
Base class for common ui selectors (dialog-based). During implementation it was noticed that pre-selection indexes cause difficulties and some refactoring could be done to make the code easier to read and maintain.
Inherited Functions |
---|
| 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() |
| CLmkSelectorImplBase::CLmkSelectorImplBase(CPosLandmarkDatabase &) |
| CLmkSelectorImplBase::ListProvider()const |
| CLmkSelectorImplBase::Restore(const CEikListBox &,const CLmkListProviderBase &,TBool) |
| CLmkSelectorImplBase::SetMemento(MLmkListMemento &) |
| CLmkSelectorImplBase::SetupIconMgrLC() |
| CLmkSelectorImplBase::SetupListProviderL() |
| CLmkSelectorImplBase::Store(const CEikListBox &,const CLmkListProviderBase &,TBool) |
| CLmkSelectorImplBase::~CLmkSelectorImplBase() |
Constructor & Destructor Documentation
CLmkDlgSelectorImplBase(CPosLandmarkDatabase &)
~CLmkDlgSelectorImplBase()
~CLmkDlgSelectorImplBase | ( | ) | |
Member Functions Documentation
BaseConstructL()
void | BaseConstructL | ( | ) | [protected] |
By default Symbian 2nd phase constructor is private.
CheckHideCoordinateL()
void | CheckHideCoordinateL | ( | ) | [protected] |
Check whether Coordinates has to be hidden.
DynInitDlgMenuPaneL(TInt, CEikMenuPane *)
ExecuteL(TPosLmItemId &, TBool)
Runs single item selection dialog.
Parameters
TPosLmItemId & aOpenedItem | contains output selection id |
TBool aAlwaysModifyOpened = EFalse | if ETrue then highlighted item is set to aOpenedItem even if dialog was cancelled |
ExecuteL(RArray< TPosLmItemId > &, TBool)
Runs multiple item selection dialog. aSelectedItems is used as both input and output parameter (i.e. if a non-empty array is given then those items are marked selected by default.
Parameters
RArray< TPosLmItemId > & aSelectedItems | contains input/output selection id(s) |
TBool aAlwaysModifySelected = EFalse | if ETrue then selected items are set to aSelectedItems even if dialog was cancelled |
ExecuteL(TInt &)
TInt
| ExecuteL | ( | TInt & | aOpenedItem | ) | [virtual] |
Runs single item selection dialog. This method is mainly targeted for internal use within LmkUi component.
Parameters
TInt & aOpenedItem | contains output selection index |
ExecuteL(CArrayFix< TInt > &)
Runs multiple item selection dialog. This method is mainly targeted for internal use within LmkUi component. aSelectedItems is used as both input and output parameter (i.e. if a non-empty array is given then those items are marked selected by default.
Parameters
CArrayFix< TInt > & aSelectedItems | contains input/output selection indexes |
ExecuteL(CArrayFix< TInt > &, TPtrC)
GetDlgResources(TBool, TInt &, TInt &, TInt &)
void | GetDlgResources | ( | TBool | aIsSingleSelector, |
| TInt & | aTitlePaneResource, |
| TInt & | aMenuBarResource, |
| TInt & | aDialogResource |
| ) | const [pure virtual] |
Template method implemented by the subclass and called by the base class.
Parameters
TBool aIsSingleSelector | |
TInt & aTitlePaneResource | |
TInt & aMenuBarResource | |
TInt & aDialogResource | |
HandleClosingEventL()
void | HandleClosingEventL | ( | ) | [protected] |
HandleLaunchingEventL()
void | HandleLaunchingEventL | ( | ) | [protected] |
HandleListProviderError(TInt)
void | HandleListProviderError | ( | TInt | aError | ) | [protected] |
HandleListProviderEvent(TLmkListProviderEventType)
HandleNavigationEventL(const TKeyEvent &)
HelpContext()
Template method called by the base class, implemented by the subclass if dialog has a help. Base class implementation returns null help context.
ListMarkedItemCountL()
TInt
| ListMarkedItemCountL | ( | ) | [virtual] |
Return number of marked items
ListVisibleItemCount()
TInt
| ListVisibleItemCount | ( | ) | [virtual] |
Return number of visible items
ProcessCommandL(TInt)
void | ProcessCommandL | ( | TInt | aCommandId | ) | [protected] |
RetrySetPreSelectedL()
void | RetrySetPreSelectedL | ( | ) | [private] |
Internal helper function which attempts to read indexes corresponding to stored lm item ids and to set them as selected in the listbox.
SetDialogTitleL(const TDesC &)
void | SetDialogTitleL | ( | const TDesC & | aTitle | ) | [virtual] |
SetEmptyDlgLabel(TInt, TInt)
void | SetEmptyDlgLabel | ( | TInt | aLabelPrimRes, |
| TInt | aLabelSecRes |
| ) | [virtual] |
Stores the empty dialog label
SetMopParent(MObjectProvider *)
Object provider mechanism.
SetSelectorImplParent(CLmkDlgSelectorImplBase *)
Selector implementation parent receives observed events when any of the base class's observation methods is executed.
StopExecutionL()
void | StopExecutionL | ( | ) | [virtual] |
Member Data Documentation
TInt
iCurrentLabelPrimResource
TInt
| iCurrentLabelPrimResource | [protected] |
TInt
iCurrentLabelSecResource
TInt
| iCurrentLabelSecResource | [protected] |
CLmkSelectorDialog * iDialog
TLmkListProviderEventType
iDlgSelectorImplBaseLatestListEvent
const RArray< TPosLmItemId > * iInputSelectedItems
Ref: items to be set marked when provider gets ready if it wasn't ready when ExecuteL() was called
TBool
iIsHideHelp
TBool
| iIsHideHelp | [protected] |
MObjectProvider * iMopParent
CLmkDlgSelectorImplBase * iSelectorImplParent
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.