CLmkSelectorDialog Class Reference

class CLmkSelectorDialog : public CAknSelectionListDialog
Public Member Functions
~CLmkSelectorDialog ()
TInt CurrentItemIndex ()
void EnableLeftSoftKey ( TBool )
CAknSearchField * FindBox ()
void HandleListProviderError ( TInt )
void HandleListProviderEvent ( TLmkListProviderEventType )
void HandleResourceChange ( TInt )
TBool HasFindBox ()
CEikListBox * ListBox ()
void MakeEmptyTextListBoxL ( TInt , TInt , TBool )
CLmkSelectorDialog * NewL ( TInt &, MDesCArray *, TInt , MEikCommandObserver *, MLmkListMemento *, CLmkListProviderBase *)
TInt NumberOfItems ()
void PrepareLC ( TInt )
const CArrayFix < TInt > * SelectionIndexes ()
void SetDlgEmptyResource ( TInt , TInt )
void SetHelpContext ( TCoeHelpContext )
void SetNavigationObserver ( MLmkNavigationObserver &)
void ShowFindBox ( TBool )
void UpdateMskL ()
Protected Member Functions
CLmkSelectorDialog ( TInt &, MDesCArray *, MEikCommandObserver *, MLmkListMemento *, CLmkListProviderBase *)
void GetHelpContext ( TCoeHelpContext &)
TKeyResponse KeyEventForNavigationL (const TKeyEvent &, TEventCode )
TKeyResponse OfferKeyEventL (const TKeyEvent &, TEventCode )
TBool OkToExitL ( TInt )
void PostLayoutDynInitL ()
void PreLayoutDynInitL ()
Private Member Functions
void ConstructL ( TInt )
void SetCbaResourceAndCommandId ( TInt )
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknDialog::CAknDialog()
CAknDialog::CreateMenuBarL(TInt)
CAknDialog::DisplayMenuL()
CAknDialog::DynInitMenuPaneL(TInt,CEikMenuPane *)
CAknDialog::ExecuteLD(TInt)
CAknDialog::FocusChanged(TDrawNow)
CAknDialog::HideMenu()
CAknDialog::MenuShowing()const
CAknDialog::MopSupplyObject(TTypeUid)
CAknDialog::RunLD()
CAknDialog::SetEmphasis(CCoeControl *,TBool)
CAknDialog::SizeChanged()
CAknDialog::~CAknDialog()
CAknSelectionListDialog::CAknSelectionListDialog(TInt &,MDesCArray *,MEikCommandObserver *)
CAknSelectionListDialog::ComponentControl(TInt)const
CAknSelectionListDialog::CountComponentControls()const
CAknSelectionListDialog::CreateCustomControlL(TInt)
CAknSelectionListDialog::Draw(const TRect &)const
CAknSelectionListDialog::ExitViaIdle(TAny *)
CAknSelectionListDialog::HandleListBoxEventL(CEikListBox *,TListBoxEvent)
CAknSelectionListDialog::HandlePointerEventL(const TPointerEvent &)
CAknSelectionListDialog::IconArray()const
CAknSelectionListDialog::IsAcceptableListBoxType(TInt,TBool &)const
CAknSelectionListDialog::IsFormattedCellListBox()const
CAknSelectionListDialog::NewL(TInt &,MDesCArray *,TInt,MEikCommandObserver *)
CAknSelectionListDialog::NewLC(TInt &,MDesCArray *,TInt,MEikCommandObserver *)
CAknSelectionListDialog::ProcessCommandL(TInt)
CAknSelectionListDialog::SelectionListProcessCommandL(TInt)
CAknSelectionListDialog::SetIconArrayL(CArrayPtr< CGulIcon > *)
CAknSelectionListDialog::SetSizeAndPosition(const TSize &)
CAknSelectionListDialog::SetupFind(TFindType)
CAknSelectionListDialog::~CAknSelectionListDialog()
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()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikDialog::ActivateFirstPageL()const
CEikDialog::ActivePageId()const
CEikDialog::ActivePageIndex()const
CEikDialog::AddAutoDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoDurationEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AddAutoFixedPointEditorL(const TDesC &,TInt,TInt,TInt,TInt *,TInt)
CEikDialog::AddAutoFloatEditorL(const TDesC &,TInt,const TReal &,const TReal &,TReal *)
CEikDialog::AddAutoGlobalTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoNumberEditorL(const TDesC &,TInt,TInt,TInt,TInt *)
CEikDialog::AddAutoRangeEditorL(const TDesC &,TInt,TInt,TInt,HBufC *,SEikRange *)
CEikDialog::AddAutoRichTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoSecretEditorL(const TDesC &,TInt,TDes *)
CEikDialog::AddAutoTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TDes *)
CEikDialog::AddAutoTimeAndDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TBool,HBufC *,TTime *)
CEikDialog::AddAutoTimeEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoTimeOffsetEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AdjustAllIdsOnPage(TInt,TInt)
CEikDialog::BorderStyle()
CEikDialog::ButtonCommandObserver()const
CEikDialog::ButtonGroupContainer()const
CEikDialog::ConstructAutoDialogLC(TInt,TInt)
CEikDialog::ConstructSleepingAlertDialogL(TInt)
CEikDialog::ConstructSleepingDialogL(TInt)
CEikDialog::Control(TInt)const
CEikDialog::ControlCaption(TInt)const
CEikDialog::ControlOrNull(TInt)const
CEikDialog::ControlsOnPage(RArray< CEikCaptionedControl * > &,TInt)const
CEikDialog::ConvertCustomControlTypeToBaseControlType(TInt)const
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TAny *)
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TInt,TAny *)
CEikDialog::CurrentLine()const
CEikDialog::DECLARE_TYPE_ID(0x10282EA8)
CEikDialog::DeclareAutoDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoDurationEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareAutoFixedPointEditor(TInt,TInt *)
CEikDialog::DeclareAutoNumberEditor(TInt,TInt *)
CEikDialog::DeclareAutoRangeEditor(TInt,SEikRange *)
CEikDialog::DeclareAutoSecretEditor(TInt,TDes *)
CEikDialog::DeclareAutoTextEditorL(TInt,TDes *)
CEikDialog::DeclareAutoTimeAndDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeOffsetEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareItemAuto(TInt,TInt,TAny *)
CEikDialog::DeleteLine(TInt,TBool)
CEikDialog::DialogFlags()
CEikDialog::DurationEditorValue(TInt)const
CEikDialog::ExitSleepingDialog()
CEikDialog::Extension()const
CEikDialog::FindLineIndex(const CCoeControl &)const
CEikDialog::FixedPointEditorDecimal(TInt)const
CEikDialog::FixedPointEditorValue(TInt)const
CEikDialog::FloatEditorValue(TInt)const
CEikDialog::FloatingPointEditorValue(TInt)const
CEikDialog::FormFlagsFromActivePage()
CEikDialog::GetAutoValuesFromPage(CEikCapCArray *)
CEikDialog::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CEikDialog::GetCustomAutoValue(TAny *,TInt,const CCoeControl *)
CEikDialog::GetEdwinText(TDes &,TInt)const
CEikDialog::GetFileName(TFileName *,TInt)const
CEikDialog::GetFirstLineOnFirstPageOrNull()
CEikDialog::GetLabelText(TDes &,TInt)const
CEikDialog::GetLineByLineAndPageIndex(TInt,TInt)const
CEikDialog::GetNumberOfLinesOnPage(TInt)const
CEikDialog::GetNumberOfPages()const
CEikDialog::GetSecretEditorText(TDes &,TInt)const
CEikDialog::GetTextEditorText(CGlobalText *&,TInt)
CEikDialog::HandleControlEventL(CCoeControl *,TCoeEvent)
CEikDialog::HandleControlStateChangeL(TInt)
CEikDialog::HandleDialogPageEventL(TInt)
CEikDialog::HandleInteractionRefused(TInt)
CEikDialog::IdOfFocusControl()const
CEikDialog::InputCapabilities()const
CEikDialog::InsertLineL(TInt,TInt,TInt)
CEikDialog::IsEditable()const
CEikDialog::Layout()
CEikDialog::Line(TInt)const
CEikDialog::LineChangedL(TInt)
CEikDialog::ListBoxCurrentItem(TInt)const
CEikDialog::MakeLineVisible(TInt,TBool)
CEikDialog::MakePanelButtonVisible(TInt,TBool)
CEikDialog::MakeVisible(TBool)
CEikDialog::MakeWholeLineVisible(TInt,TBool)
CEikDialog::MappedCommandId(TInt)
CEikDialog::NumberEditorValue(TInt)const
CEikDialog::PageChangedL(TInt)
CEikDialog::PreferredSize(const TSize &)const
CEikDialog::PrepareContext(CWindowGc &)const
CEikDialog::PrepareForFocusTransitionL()
CEikDialog::PublishDialogL(TInt,TUid)
CEikDialog::RangeEditorValue(TInt)const
CEikDialog::ReadResourceLC(TInt)
CEikDialog::RegisterDialgWithPageSelector()
CEikDialog::ResetLineMinimumSizes()
CEikDialog::ResetSecretEditor(TInt)
CEikDialog::RotateFocusByL(TInt)
CEikDialog::RouseSleepingDialog()
CEikDialog::SetControlCaptionL(TInt,TInt)
CEikDialog::SetControlCaptionL(TInt,const TDesC &)
CEikDialog::SetDurationEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetDurationEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetEditableL(TBool)
CEikDialog::SetEdwinTextL(TInt,const TDesC *)
CEikDialog::SetFileNameL(TInt,const TDesC *)
CEikDialog::SetFixedPointEditorDecimal(TInt,TInt)
CEikDialog::SetFixedPointEditorValueL(TInt,TInt)
CEikDialog::SetFloatEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetFloatEditorValueL(TInt,TReal)
CEikDialog::SetFloatingPointEditorValueL(TInt,const TReal *)
CEikDialog::SetInitialCurrentLine()
CEikDialog::SetLabelL(TInt,TInt)
CEikDialog::SetLabelL(TInt,const TDesC &)
CEikDialog::SetLabelReserveLengthL(TInt,TInt)
CEikDialog::SetLineDimmedNow(TInt,TBool)
CEikDialog::SetLineNonFocusing(TInt)
CEikDialog::SetListBoxCurrentItem(TInt,TInt)
CEikDialog::SetMediatorObserver(MAknDialogMediatorObserver *)
CEikDialog::SetMultilineQuery(TBool)
CEikDialog::SetNumberEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetNumberEditorValue(TInt,TInt)
CEikDialog::SetPageDensePacking(TInt,TBool)
CEikDialog::SetPageDimmedNow(TInt,TBool)
CEikDialog::SetRangeEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetRangeEditorValue(TInt,const SEikRange &)
CEikDialog::SetTTimeEditorMinAndMax(TInt,const TTime &,const TTime &)
CEikDialog::SetTTimeEditorValue(TInt,const TTime &)
CEikDialog::SetTextEditorTextL(TInt,const CGlobalText *)
CEikDialog::SetTimeOffsetEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetTimeOffsetEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetTitleL(TInt)
CEikDialog::SetTitleL(const TDesC &)
CEikDialog::SlideDialog()
CEikDialog::SwapButtonGroupContainer(CEikButtonGroupContainer *)
CEikDialog::SwitchLineLatency(TInt,TInt)
CEikDialog::TTimeEditorValue(TInt)const
CEikDialog::TimeOffsetEditorValue(TInt)const
CEikDialog::Title()const
CEikDialog::TryChangeFocusToL(TInt)
CEikDialog::TryExitL(TInt)
CEikDialog::UpdatePageL(TBool)
CEikDialog::WriteInternalStateL(RWriteStream &)const
CEikDialog::~CEikDialog()
Inherited Enumerations
CAknSelectionListDialog:TFindType
CCoeControl:TZoomType
Protected Attributes
TInt iCbaResourceId
TInt iDlgEmptyLabelPrimResource
TInt iDlgEmptyLabelSecResource
TBool iExited
TCoeHelpContext iHelpContext
CLmkListProviderBase * iListProvider
MLmkListMemento * iMemento
TInt iMskCmdId
MLmkNavigationObserver * iNavigationObserver
Inherited Attributes
CAknDialog::iMenuBar
CAknSelectionListDialog::iEnterKeyPressed
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

CLmkSelectorDialog(TInt &, MDesCArray *, MEikCommandObserver *, MLmkListMemento *, CLmkListProviderBase *)

CLmkSelectorDialog ( TInt & aOpenedItemIndex,
MDesCArray * aLbModel,
MEikCommandObserver * aCmdObserver,
MLmkListMemento * aMemento = NULL,
CLmkListProviderBase * aListProvider = NULL
) [protected]

C++ default constructor.

Parameters

TInt & aOpenedItemIndex
MDesCArray * aLbModel
MEikCommandObserver * aCmdObserver
MLmkListMemento * aMemento = NULL
CLmkListProviderBase * aListProvider = NULL

~CLmkSelectorDialog()

~CLmkSelectorDialog ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(TInt)

void ConstructL ( TInt aMenuBarResourceId ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

TInt aMenuBarResourceId

CurrentItemIndex()

TInt CurrentItemIndex ( ) const

Currently highlighted item's index.

EnableLeftSoftKey(TBool)

void EnableLeftSoftKey ( TBool aEnable )

Enables or Disables left softkey

Parameters

TBool aEnable ETrue for visible, EFalse for invisible

FindBox()

CAknSearchField * FindBox ( ) const

FindBox() accessor to findbox control

GetHelpContext(TCoeHelpContext &)

void GetHelpContext ( TCoeHelpContext & aContext ) const [protected, virtual]

Parameters

TCoeHelpContext & aContext

HandleListProviderError(TInt)

void HandleListProviderError ( TInt aError )

Parameters

TInt aError

HandleListProviderEvent(TLmkListProviderEventType)

void HandleListProviderEvent ( TLmkListProviderEventType aEvent )

Parameters

TLmkListProviderEventType aEvent

HandleResourceChange(TInt)

void HandleResourceChange ( TInt aType ) [virtual]

From CCoeControl .

Handles a change to the control's resources.

The types of resources handled are those which are shared across the environment, e.g. colours or fonts. For colour scheme changes, DrawDeferred() is called in order to redraw the control.

If overriding HandleResourceChange() , the implementation must include a base call to CCoeControl's HandleResourceChange() .

Since
ER5U

Parameters

TInt aType A message UID value.

HasFindBox()

TBool HasFindBox ( ) const

Tells whether this dialog has a find box or not.

KeyEventForNavigationL(const TKeyEvent &, TEventCode)

TKeyResponse KeyEventForNavigationL ( const TKeyEvent & aKeyEvent,
TEventCode aType
) [protected]

Internal method which notifies navigation observer if key event is navigation event.

Parameters

const TKeyEvent & aKeyEvent
TEventCode aType

ListBox()

CEikListBox * ListBox ( ) const [virtual]

ListBox() accessor to listbox control

MakeEmptyTextListBoxL(TInt, TInt, TBool)

void MakeEmptyTextListBoxL ( TInt aResourcePrimText,
TInt aResourceSecText,
TBool aRequestFromFindBox = EFalse
) const

Parameters

TInt aResourcePrimText
TInt aResourceSecText
TBool aRequestFromFindBox = EFalse

NewL(TInt &, MDesCArray *, TInt, MEikCommandObserver *, MLmkListMemento *, CLmkListProviderBase *)

CLmkSelectorDialog * NewL ( TInt & aOpenedItemIndex,
MDesCArray * aLbModel,
TInt aMenuBarResourceId,
MEikCommandObserver * aCmdObserver,
MLmkListMemento * aMemento = NULL,
CLmkListProviderBase * aListProvider = NULL
) [static]

Two-phased constructor.

Parameters

TInt & aOpenedItemIndex
MDesCArray * aLbModel listbox model, ownership is not transferred
TInt aMenuBarResourceId
MEikCommandObserver * aCmdObserver
MLmkListMemento * aMemento = NULL
CLmkListProviderBase * aListProvider = NULL

NumberOfItems()

TInt NumberOfItems ( ) const

Number of list items.

OfferKeyEventL(const TKeyEvent &, TEventCode)

TKeyResponse OfferKeyEventL ( const TKeyEvent & aKeyEvent,
TEventCode aType
) [protected, virtual]

Parameters

const TKeyEvent & aKeyEvent
TEventCode aType

OkToExitL(TInt)

TBool OkToExitL ( TInt aButtonId ) [protected, virtual]

OkToExitL() From CAknDialog . This is not called if the Cancel button is activated unless the EEikDialogFlagNotifyEsc flag has been set.

Parameters

TInt aButtonId The ID of the button that was activated.

PostLayoutDynInitL()

void PostLayoutDynInitL ( ) [protected, virtual]

PreLayoutDynInitL() From CAknDialog .

PreLayoutDynInitL()

void PreLayoutDynInitL ( ) [protected, virtual]

PreLayoutDynInitL() From CAknDialog .

PrepareLC(TInt)

void PrepareLC ( TInt aResourceId ) [virtual]

From CEikDialog .

Prepares the dialog, by constructing it from the specified resource.

Parameters

TInt aResourceId The resource ID of the dialog.

SelectionIndexes()

const CArrayFix < TInt > * SelectionIndexes ( ) const

Selection indexes. This class does not support multiselection, subclasses may support.

SetCbaResourceAndCommandId(TInt)

void SetCbaResourceAndCommandId ( TInt aaDlgResourceId ) [private]

Parameters

TInt aaDlgResourceId

SetDlgEmptyResource(TInt, TInt)

void SetDlgEmptyResource ( TInt aEmptyPrimLabel,
TInt aEmptySecLabel
)

Stores the empty dialog label

Parameters

TInt aEmptyPrimLabel
TInt aEmptySecLabel

SetHelpContext(TCoeHelpContext)

void SetHelpContext ( TCoeHelpContext aContext )

Set help context.

Parameters

TCoeHelpContext aContext

SetNavigationObserver(MLmkNavigationObserver &)

void SetNavigationObserver ( MLmkNavigationObserver & aObserver )

Set observer for navigation events.

Parameters

MLmkNavigationObserver & aObserver

ShowFindBox(TBool)

void ShowFindBox ( TBool aVisible )

Enable/Disable the find box in list dialog.

Parameters

TBool aVisible

UpdateMskL()

void UpdateMskL ( ) [virtual]

Updates the MSK for the dialog

Member Data Documentation

TInt iCbaResourceId

TInt iCbaResourceId [protected]

TInt iDlgEmptyLabelPrimResource

TInt iDlgEmptyLabelPrimResource [protected]

TInt iDlgEmptyLabelSecResource

TInt iDlgEmptyLabelSecResource [protected]

TBool iExited

TBool iExited [protected]

TCoeHelpContext iHelpContext

TCoeHelpContext iHelpContext [protected]

CLmkListProviderBase * iListProvider

CLmkListProviderBase * iListProvider [protected]

MLmkListMemento * iMemento

MLmkListMemento * iMemento [protected]

TInt iMskCmdId

TInt iMskCmdId [protected]

MLmkNavigationObserver * iNavigationObserver

MLmkNavigationObserver * iNavigationObserver [protected]