CLmkCategorySelectorDlg Class Reference
class CLmkCategorySelectorDlg : public CBase
|
This is a dialog class, which is used to launch category selector dialog and to get the selected category ids.It displays the categories present in landmarks database,as a list.The dialog can be a single selector or multiple selector dialog, depending upon argument passed by the client (in ExecuteLD function) at the time when it is launched.Based on whether it is a single selector or multiple selector dialog, user can select single category or multiple categories.
Constructor & Destructor Documentation
CLmkCategorySelectorDlg()
CLmkCategorySelectorDlg
|
(
|
)
|
[private]
|
~CLmkCategorySelectorDlg()
IMPORT_C
|
~CLmkCategorySelectorDlg
|
(
|
)
|
|
Member Functions Documentation
ConstructL(TBool)
void
|
ConstructL
|
(
|
TBool
|
aShowEmptyCategories
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
Parameters
TBool
aShowEmptyCategories
|
|
ExecuteLD(TLmkItemIdDbCombiInfo &)
This function launches the category selector dialog.Client use this function to launch single category selector dialog. This object is destroyed when this function returns or leaves.
-
leave
-
Leaves with system-wide leave codes.
-
panic
-
Panics with KLmkPanicNullMember, if the selector is not constructed properly.
ExecuteLD(RArray< TLmkItemIdDbCombiInfo > &)
This function launches the category selector dialog.Client use this function to launch multiple category selector dialog. This object is destroyed when this function returns or leaves. If the array(aSelectedItems) is passed with already filled cateogry ids, then such categories will be shown as selected when the dialog is launched,but if any of these ids do not exist in landmarks database,will be ignored.
-
leave
-
Leaves with system-wide leave codes.
-
panic
-
Panics with KLmkPanicNullMember, if the selector is not constructed properly.
NewL(TBool)
This is a static function, which create and return an instance of this class. Categories present in the landmark database, are shown in selector.
-
leave
-
Leaves with KErrNotSupported if framework functionality is not available.
-
panic
-
Panics with system-wide panic codes.
Parameters
TBool
aShowEmptyCategories = EFalse
|
specifies whether categories without landmarks are shown or not
|
SetMopParent(MObjectProvider *)
IMPORT_C void
|
SetMopParent
|
(
|
MObjectProvider *
|
aParent
|
)
|
|
This function sets the context - that is, the enclosing parent control - for this control.
-
panic
-
Panics with KLmkPanicNullMember, if the selector is not constructed properly.
Parameters
MObjectProvider * aParent
|
The parent object which is the context for the control.
|
Member Data Documentation
RPointerArray< CPosLandmarkDatabase > iDbs
TBool * iDestroyedPtr
TBool
*
|
iDestroyedPtr
|
[private]
|
TBool
iIsMultiSelector
TBool
|
iIsMultiSelector
|
[private]
|
CLmkDlgSelectorImplBase * iSelector
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.