CEikDialog Class Reference

class CEikDialog : public CEikBorderedControl

The CEikDialog class provides an instantiable base class for dialogs. Controls can be added directly to this class but it is normal to create a subclass to handle the controls appearing on the dialog dynamically.

Public Member Functions
CEikDialog ()
~CEikDialog ()
IMPORT_C void ActivateFirstPageL ()
IMPORT_C TInt ActivePageId ()
IMPORT_C void AddAutoDateEditorL (const TDesC &, TInt , const TTime &, const TTime &, TBool , TTime *)
IMPORT_C void AddAutoDurationEditorL (const TDesC &, TInt , const TTimeIntervalSeconds &, const TTimeIntervalSeconds &, TBool , TTimeIntervalSeconds *)
IMPORT_C void AddAutoFixedPointEditorL (const TDesC &, TInt , TInt , TInt , TInt *, TInt )
IMPORT_C void AddAutoFloatEditorL (const TDesC &, TInt , const TReal &, const TReal &, TReal *)
IMPORT_C void AddAutoGlobalTextEditorL (const TDesC &, TInt , TInt , TInt , TInt , TInt , CGlobalText *, TInt , TInt )
IMPORT_C void AddAutoNumberEditorL (const TDesC &, TInt , TInt , TInt , TInt *)
IMPORT_C void AddAutoRangeEditorL (const TDesC &, TInt , TInt , TInt , HBufC *, SEikRange *)
IMPORT_C void AddAutoRichTextEditorL (const TDesC &, TInt , TInt , TInt , TInt , TInt , CGlobalText *, TInt , TInt )
IMPORT_C void AddAutoSecretEditorL (const TDesC &, TInt , TDes *)
IMPORT_C void AddAutoTextEditorL (const TDesC &, TInt , TInt , TInt , TInt , TDes *)
IMPORT_C void AddAutoTimeAndDateEditorL (const TDesC &, TInt , const TTime &, const TTime &, TBool , TBool , HBufC *, TTime *)
IMPORT_C void AddAutoTimeEditorL (const TDesC &, TInt , const TTime &, const TTime &, TBool , TTime *)
IMPORT_C void AddAutoTimeOffsetEditorL (const TDesC &, TInt , const TTimeIntervalSeconds &, const TTimeIntervalSeconds &, TBool , TTimeIntervalSeconds *)
IMPORT_C CEikButtonGroupContainer & ButtonGroupContainer ()
IMPORT_C void ConstructAutoDialogLC ( TInt , TInt )
IMPORT_C CCoeControl * Control ( TInt )
IMPORT_C CEikLabel * ControlCaption ( TInt )
IMPORT_C CCoeControl * ControlOrNull ( TInt )
IMPORT_C MEikDialogPageObserver::TFormControlTypes ConvertCustomControlTypeToBaseControlType ( TInt )
IMPORT_C SEikControlInfo CreateCustomControlL ( TInt )
IMPORT_C CCoeControl * CreateLineByTypeL (const TDesC &, TInt , TInt , TAny *)
IMPORT_C CCoeControl * CreateLineByTypeL (const TDesC &, TInt , TInt , TInt , TAny *)
IMPORT_C void DeclareAutoDateEditor ( TInt , TTime *)
IMPORT_C void DeclareAutoDurationEditor ( TInt , TTimeIntervalSeconds *)
IMPORT_C void DeclareAutoFixedPointEditor ( TInt , TInt *)
IMPORT_C void DeclareAutoNumberEditor ( TInt , TInt *)
IMPORT_C void DeclareAutoRangeEditor ( TInt , SEikRange *)
IMPORT_C void DeclareAutoSecretEditor ( TInt , TDes *)
IMPORT_C void DeclareAutoTextEditorL ( TInt , TDes *)
IMPORT_C void DeclareAutoTimeAndDateEditor ( TInt , TTime *)
IMPORT_C void DeclareAutoTimeEditor ( TInt , TTime *)
IMPORT_C void DeclareAutoTimeOffsetEditor ( TInt , TTimeIntervalSeconds *)
IMPORT_C void DeclareItemAuto ( TInt , TInt , TAny *)
IMPORT_C void DeleteLine ( TInt , TBool )
IMPORT_C TInt DialogFlags ()
IMPORT_C TInt ExecuteLD ( TInt )
IMPORT_C CEikDialogExtension * Extension ()
IMPORT_C void FocusChanged ( TDrawNow )
IMPORT_C void GetColorUseListL ( CArrayFix < TCoeColorUse > &)
IMPORT_C void GetCustomAutoValue ( TAny *, TInt , const CCoeControl *)
IMPORT_C void HandleDialogPageEventL ( TInt )
IMPORT_C void HandlePointerEventL (const TPointerEvent &)
IMPORT_C void HandleResourceChange ( TInt )
IMPORT_C TCoeInputCapabilities InputCapabilities ()
IMPORT_C void InsertLineL ( TInt , TInt , TInt )
IMPORT_C TBool IsEditable ()
IMPORT_C void Layout ()
IMPORT_C void MakeLineVisible ( TInt , TBool )
IMPORT_C void MakePanelButtonVisible ( TInt , TBool )
IMPORT_C void MakeVisible ( TBool )
IMPORT_C void MakeWholeLineVisible ( TInt , TBool )
IMPORT_C TKeyResponse OfferKeyEventL (const TKeyEvent &, TEventCode )
IMPORT_C TSize PreferredSize (const TSize &)
IMPORT_C void PrepareLC ( TInt )
IMPORT_C void PublishDialogL ( TInt , TUid )
IMPORT_C void ReadResourceLC ( TInt )
IMPORT_C TInt RunLD ()
IMPORT_C void SetControlCaptionL ( TInt , const TDesC &)
IMPORT_C void SetControlCaptionL ( TInt , TInt )
IMPORT_C void SetEditableL ( TBool )
IMPORT_C void SetLineDimmedNow ( TInt , TBool )
IMPORT_C void SetLineNonFocusing ( TInt )
IMPORT_C void SetMediatorObserver ( MAknDialogMediatorObserver *)
IMPORT_C void SetMultilineQuery ( TBool )
IMPORT_C void SetPageDensePacking ( TInt , TBool )
IMPORT_C void SetPageDimmedNow ( TInt , TBool )
IMPORT_C void SetTitleL (const TDesC &)
IMPORT_C void SetTitleL ( TInt )
IMPORT_C void SlideDialog ()
IMPORT_C void SwitchLineLatency ( TInt , TInt )
IMPORT_C CEikMover & Title ()
IMPORT_C void TryChangeFocusToL ( TInt )
Protected Member Functions
IMPORT_C TInt ActivePageIndex ()
IMPORT_C void AdjustAllIdsOnPage ( TInt , TInt )
IMPORT_C TInt BorderStyle ()
IMPORT_C MEikCommandObserver * ButtonCommandObserver ()
IMPORT_C CCoeControl * ComponentControl ( TInt )
IMPORT_C void ConstructSleepingAlertDialogL ( TInt )
IMPORT_C void ConstructSleepingDialogL ( TInt )
IMPORT_C void ControlsOnPage ( RArray < CEikCaptionedControl * > &, TInt )
IMPORT_C TInt CountComponentControls ()
IMPORT_C CEikCaptionedControl * CurrentLine ()
IMPORT_C TTimeIntervalSeconds DurationEditorValue ( TInt )
IMPORT_C void ExitSleepingDialog ()
IMPORT_C TInt FindLineIndex (const CCoeControl &)
IMPORT_C TInt FixedPointEditorDecimal ( TInt )
IMPORT_C TInt FixedPointEditorValue ( TInt )
IMPORT_C TReal FloatEditorValue ( TInt )
IMPORT_C TReal FloatingPointEditorValue ( TInt )
IMPORT_C TInt FormFlagsFromActivePage ()
IMPORT_C void GetAutoValuesFromPage ( CEikCapCArray *)
IMPORT_C void GetEdwinText ( TDes &, TInt )
IMPORT_C void GetFileName ( TFileName *, TInt )
IMPORT_C CEikCaptionedControl * GetFirstLineOnFirstPageOrNull ()
IMPORT_C void GetLabelText ( TDes &, TInt )
IMPORT_C CEikCaptionedControl * GetLineByLineAndPageIndex ( TInt , TInt )
IMPORT_C TInt GetNumberOfLinesOnPage ( TInt )
IMPORT_C TInt GetNumberOfPages ()
IMPORT_C void GetSecretEditorText ( TDes &, TInt )
IMPORT_C void GetTextEditorText (CGlobalText *&, TInt )
IMPORT_C void HandleControlEventL ( CCoeControl *, TCoeEvent)
IMPORT_C void HandleControlStateChangeL ( TInt )
IMPORT_C void HandleInteractionRefused ( TInt )
IMPORT_C TInt IdOfFocusControl ()
IMPORT_C CEikCaptionedControl * Line ( TInt )
IMPORT_C void LineChangedL ( TInt )
IMPORT_C TInt ListBoxCurrentItem ( TInt )
IMPORT_C TInt MappedCommandId ( TInt )
IMPORT_C TTypeUid::Ptr MopSupplyObject ( TTypeUid )
IMPORT_C TInt NumberEditorValue ( TInt )
IMPORT_C TBool OkToExitL ( TInt )
IMPORT_C void PageChangedL ( TInt )
IMPORT_C void PostLayoutDynInitL ()
IMPORT_C void PreLayoutDynInitL ()
IMPORT_C void PrepareContext ( CWindowGc &)
IMPORT_C void PrepareForFocusTransitionL ()
IMPORT_C SEikRange RangeEditorValue ( TInt )
void RegisterDialgWithPageSelector ()
IMPORT_C void ResetLineMinimumSizes ()
IMPORT_C void ResetSecretEditor ( TInt )
IMPORT_C TBool RotateFocusByL ( TInt )
IMPORT_C TInt RouseSleepingDialog ()
IMPORT_C void SetDurationEditorMinAndMax ( TInt , const TTimeIntervalSeconds &, const TTimeIntervalSeconds &)
IMPORT_C void SetDurationEditorValue ( TInt , const TTimeIntervalSeconds &)
IMPORT_C void SetEdwinTextL ( TInt , const TDesC *)
IMPORT_C void SetFileNameL ( TInt , const TDesC *)
IMPORT_C void SetFixedPointEditorDecimal ( TInt , TInt )
IMPORT_C void SetFixedPointEditorValueL ( TInt , TInt )
IMPORT_C void SetFloatEditorMinAndMax ( TInt , TInt , TInt )
IMPORT_C void SetFloatEditorValueL ( TInt , TReal )
IMPORT_C void SetFloatingPointEditorValueL ( TInt , const TReal *)
IMPORT_C void SetInitialCurrentLine ()
IMPORT_C void SetLabelL ( TInt , const TDesC &)
IMPORT_C void SetLabelL ( TInt , TInt )
IMPORT_C void SetLabelReserveLengthL ( TInt , TInt )
IMPORT_C void SetListBoxCurrentItem ( TInt , TInt )
IMPORT_C void SetNumberEditorMinAndMax ( TInt , TInt , TInt )
IMPORT_C void SetNumberEditorValue ( TInt , TInt )
IMPORT_C void SetRangeEditorMinAndMax ( TInt , TInt , TInt )
IMPORT_C void SetRangeEditorValue ( TInt , const SEikRange &)
IMPORT_C void SetSizeAndPosition (const TSize &)
IMPORT_C void SetTTimeEditorMinAndMax ( TInt , const TTime &, const TTime &)
IMPORT_C void SetTTimeEditorValue ( TInt , const TTime &)
IMPORT_C void SetTextEditorTextL ( TInt , const CGlobalText *)
IMPORT_C void SetTimeOffsetEditorMinAndMax ( TInt , const TTimeIntervalSeconds &, const TTimeIntervalSeconds &)
IMPORT_C void SetTimeOffsetEditorValue ( TInt , const TTimeIntervalSeconds &)
IMPORT_C CEikButtonGroupContainer * SwapButtonGroupContainer (CEikButtonGroupContainer *)
IMPORT_C TTime TTimeEditorValue ( TInt )
IMPORT_C TTimeIntervalSeconds TimeOffsetEditorValue ( TInt )
IMPORT_C void TryExitL ( TInt )
IMPORT_C void UpdatePageL ( TBool )
IMPORT_C void WriteInternalStateL ( RWriteStream &)
Private Member Functions
void BaseConstructL ()
IMPORT_C void CEikDialog_Reserved_1 ()
IMPORT_C void CEikDialog_Reserved_2 ()
void CommonConstructSleepingDialogL ( TInt )
IMPORT_C void ConstructFromResourceL ( TResourceReader &)
IMPORT_C TInt CountFadedComponents ()
void CreateButtonGroupContainerL ( TInt )
void CreatePageSelectorL ()
void CreatePageSelectorL ( TInt )
void CreateTitleBarL ()
void DoFadeBehindPopup ( TBool )
void DoResourceChangeLayout ()
IMPORT_C void Draw (const TRect &)
void DynamicConstructL ()
void EnableContentObserver ( TBool )
IMPORT_C void * ExtensionInterface ( TUid )
void FadeBehindPopup ( TBool )
IMPORT_C CCoeControl * FadedComponent ( TInt )
void GetAutoValues ()
void HandleEmbeddedSofkeyStateChange ()
TInt HandleEmbeddedSoftkeyStateChangeCallBack ( TAny *)
IMPORT_C TSize MinimumSize ()
IMPORT_C void Reserved_2 ()
void SetBorderStyle ()
IMPORT_C void SizeChanged ()
void StaticConstructL ( TInt )
void StopWaitingAsRequired ()
TKeyResponse TryAnimateButtonAndExitL ( TInt )
TInt WaitAsRequired ()
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
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::GetHelpContext(TCoeHelpContext &)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)
Inherited Enumerations
CCoeControl:TZoomType
Private Attributes
CEikDialogButtonCommandObserver * iButtonCommandObserver
CEikButtonGroupContainer * iButtonGroupContainer
TInt iDialogFlags
TInt * iExitConfirmed
CEikDialogExtension * iExtension
TBool iIsEditable
CEikDialogPageSelector * iPageSelector
TAknPopupFader iPopupFader
CEikMover * iTitleBar
CActiveSchedulerWait iWait
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

CEikDialog()

IMPORT_C CEikDialog ( )

C++ default constructor.

~CEikDialog()

IMPORT_C ~CEikDialog ( )

Destructor.

Member Functions Documentation

ActivateFirstPageL()

IMPORT_C void ActivateFirstPageL ( ) const

Activates the first page on the dialog. At least one page must be active before this method can be used.

Activates the first page on the dialog. At least one page must be activated before the dialog can be used.

Since
ER5U

ActivePageId()

IMPORT_C TInt ActivePageId ( ) const

Gets a page id for the current page.

Returns the id of the dialog's active page.

Since
ER5U

ActivePageIndex()

IMPORT_C TInt ActivePageIndex ( ) const [protected]

Gets the index of the dialog's active page.

Pages are indexed from 0 in the order they are added.

Returns the index of the dialog's active page. Pages are indexed from 0 in the order that they are added.

Since
ER5U

AddAutoDateEditorL(const TDesC &, TInt, const TTime &, const TTime &, TBool, TTime *)

IMPORT_C void AddAutoDateEditorL ( const TDesC & aPrompt,
TInt aId,
const TTime & aMin,
const TTime & aMax,
TBool aNoPopout,
TTime * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
const TTime & aMin
const TTime & aMax
TBool aNoPopout
TTime * aReturn

AddAutoDurationEditorL(const TDesC &, TInt, const TTimeIntervalSeconds &, const TTimeIntervalSeconds &, TBool, TTimeIntervalSeconds *)

IMPORT_C void AddAutoDurationEditorL ( const TDesC & aPrompt,
TInt aId,
const TTimeIntervalSeconds & aMin,
const TTimeIntervalSeconds & aMax,
TBool aNoSeconds,
TTimeIntervalSeconds * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
const TTimeIntervalSeconds & aMin
const TTimeIntervalSeconds & aMax
TBool aNoSeconds
TTimeIntervalSeconds * aReturn

AddAutoFixedPointEditorL(const TDesC &, TInt, TInt, TInt, TInt *, TInt)

IMPORT_C void AddAutoFixedPointEditorL ( const TDesC & aPrompt,
TInt aId,
TInt aMin,
TInt aMax,
TInt * aRetValue,
TInt aDecimalPlaces
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
TInt aMin
TInt aMax
TInt * aRetValue
TInt aDecimalPlaces

AddAutoFloatEditorL(const TDesC &, TInt, const TReal &, const TReal &, TReal *)

IMPORT_C void AddAutoFloatEditorL ( const TDesC & aPrompt,
TInt aId,
const TReal & aMin,
const TReal & aMax,
TReal * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
const TReal & aMin
const TReal & aMax
TReal * aReturn

AddAutoGlobalTextEditorL(const TDesC &, TInt, TInt, TInt, TInt, TInt, CGlobalText *, TInt, TInt)

IMPORT_C void AddAutoGlobalTextEditorL ( const TDesC & aPrompt,
TInt aId,
TInt aFlags,
TInt aWidthInChars,
TInt aNoOfLines,
TInt aTextLimit,
CGlobalText * aReturn,
TInt aFontControlFlags = EGulFontControlAll,
TInt aFontNameFlags = EGulNoSymbolFonts
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
TInt aFlags
TInt aWidthInChars
TInt aNoOfLines
TInt aTextLimit
CGlobalText * aReturn
TInt aFontControlFlags = EGulFontControlAll
TInt aFontNameFlags = EGulNoSymbolFonts

AddAutoNumberEditorL(const TDesC &, TInt, TInt, TInt, TInt *)

IMPORT_C void AddAutoNumberEditorL ( const TDesC & aPrompt,
TInt aId,
TInt aMin,
TInt aMax,
TInt * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
TInt aMin
TInt aMax
TInt * aReturn

AddAutoRangeEditorL(const TDesC &, TInt, TInt, TInt, HBufC *, SEikRange *)

IMPORT_C void AddAutoRangeEditorL ( const TDesC & aPrompt,
TInt aId,
TInt aMin,
TInt aMax,
HBufC * aSeparatorText,
SEikRange * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
TInt aMin
TInt aMax
HBufC * aSeparatorText
SEikRange * aReturn

AddAutoRichTextEditorL(const TDesC &, TInt, TInt, TInt, TInt, TInt, CGlobalText *, TInt, TInt)

IMPORT_C void AddAutoRichTextEditorL ( const TDesC & aPrompt,
TInt aId,
TInt aFlags,
TInt aWidthInChars,
TInt aNoOfLines,
TInt aTextLimit,
CGlobalText * aReturn,
TInt aFontControlFlags = EGulFontControlAll,
TInt aFontNameFlags = EGulNoSymbolFonts
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
TInt aFlags
TInt aWidthInChars
TInt aNoOfLines
TInt aTextLimit
CGlobalText * aReturn
TInt aFontControlFlags = EGulFontControlAll
TInt aFontNameFlags = EGulNoSymbolFonts

AddAutoSecretEditorL(const TDesC &, TInt, TDes *)

IMPORT_C void AddAutoSecretEditorL ( const TDesC & aPrompt,
TInt aId,
TDes * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
TDes * aReturn

AddAutoTextEditorL(const TDesC &, TInt, TInt, TInt, TInt, TDes *)

IMPORT_C void AddAutoTextEditorL ( const TDesC & aPrompt,
TInt aId,
TInt aFlags,
TInt aWidthInChars,
TInt aNoOfLines,
TDes * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
TInt aFlags
TInt aWidthInChars
TInt aNoOfLines
TDes * aReturn

AddAutoTimeAndDateEditorL(const TDesC &, TInt, const TTime &, const TTime &, TBool, TBool, HBufC *, TTime *)

IMPORT_C void AddAutoTimeAndDateEditorL ( const TDesC & aPrompt,
TInt aId,
const TTime & aMin,
const TTime & aMax,
TBool aNoSeconds,
TBool aNoPopout,
HBufC * aInterveningText,
TTime * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
const TTime & aMin
const TTime & aMax
TBool aNoSeconds
TBool aNoPopout
HBufC * aInterveningText
TTime * aReturn

AddAutoTimeEditorL(const TDesC &, TInt, const TTime &, const TTime &, TBool, TTime *)

IMPORT_C void AddAutoTimeEditorL ( const TDesC & aPrompt,
TInt aId,
const TTime & aMin,
const TTime & aMax,
TBool aNoSeconds,
TTime * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
const TTime & aMin
const TTime & aMax
TBool aNoSeconds
TTime * aReturn

AddAutoTimeOffsetEditorL(const TDesC &, TInt, const TTimeIntervalSeconds &, const TTimeIntervalSeconds &, TBool, TTimeIntervalSeconds *)

IMPORT_C void AddAutoTimeOffsetEditorL ( const TDesC & aPrompt,
TInt aId,
const TTimeIntervalSeconds & aMin,
const TTimeIntervalSeconds & aMax,
TBool aNoSeconds,
TTimeIntervalSeconds * aReturn
)

Not supported.

Parameters

const TDesC & aPrompt
TInt aId
const TTimeIntervalSeconds & aMin
const TTimeIntervalSeconds & aMax
TBool aNoSeconds
TTimeIntervalSeconds * aReturn

AdjustAllIdsOnPage(TInt, TInt)

IMPORT_C void AdjustAllIdsOnPage ( TInt aPageId,
TInt aControlIdDelta
) [protected]

Adjusts the IDs of all controls on a specified page.

The adjustment consists of incrementing all the control IDs by aControlIdDelta .

Adjusts all the ids of controls on the page identified by aPageId by incrementing their id values by aControlIdDelta.

Parameters

TInt aPageId The page on which the control IDs are to be adjusted.
TInt aControlIdDelta The amount to increment the IDs.

BaseConstructL()

void BaseConstructL ( ) [private]

BorderStyle()

IMPORT_C TInt BorderStyle ( ) [protected, virtual]

Returns the border style for this dialog.

Returns the border style for this dialog.

ButtonCommandObserver()

IMPORT_C MEikCommandObserver * ButtonCommandObserver ( ) const [protected]

Gets a pointer to the dialog's internal button command observer.

This is required when creating a new button group container for the dialog.

A dialog uses a proxy to observe button commands. This means dialog subclasses can directly observe commands, either issued by controls added to the dialog pages, or by menus launched by the dialog.

Since
5.1
Returns a pointer to the dialog's internal button command observer. This is required when creating a new button group container for the dialog.

A dialog uses a proxy to observe button commands. This means dialog subclasses can directly observe commands issued by controls added to the dialog pages or by menus launched by the dialog.

Since
ER5U

ButtonGroupContainer()

IMPORT_C CEikButtonGroupContainer & ButtonGroupContainer ( ) const

Gets a reference to the dialog's command button container.

Returns a reference to the button group container supplying the command buttons for the dialog.

Since
ER5U

CEikDialog_Reserved_1()

IMPORT_C void CEikDialog_Reserved_1 ( ) [private, virtual]

CEikDialog_Reserved_2()

IMPORT_C void CEikDialog_Reserved_2 ( ) [private, virtual]

CommonConstructSleepingDialogL(TInt)

void CommonConstructSleepingDialogL ( TInt aResourceId ) [private]

Parameters

TInt aResourceId

ComponentControl(TInt)

IMPORT_C CCoeControl * ComponentControl ( TInt aIndex ) const [protected, virtual]

Returns a pointer to the component control at the specified index in the component control list.

Does not imply transfer of ownership.

Returns a pointer to the component control at index aIndex in the component control list. Returns the title bar at index 0, then the page selector Does not imply transfer of ownership.

Parameters

TInt aIndex The index of the required component control.

ConstructAutoDialogLC(TInt, TInt)

IMPORT_C void ConstructAutoDialogLC ( TInt aFlags,
TInt aButtonsId
)

Dynamically constructs a dialog with the specified flags and buttons and with a single activated empty page with ID 0. The dialog is therefore ready to dynamically add lines to.

Dynamically constructs a dialog with flags aFlags, buttons constructed from the resource aButtonsId, and with a single activated empty page with id 0. The dialog is therefore ready to dynamically add lines to.

Parameters

TInt aFlags Dialog flags.
TInt aButtonsId Dialog buttons.

ConstructFromResourceL(TResourceReader &)

IMPORT_C void ConstructFromResourceL ( TResourceReader & aReader ) [private, virtual]

Constructs the dialog from resources using the resource reader aReader.

Parameters

TResourceReader & aReader

ConstructSleepingAlertDialogL(TInt)

IMPORT_C void ConstructSleepingAlertDialogL ( TInt aResourceId ) [protected]

Protected construction of a high priority sleeping dialog from a resource.

A sleeping dialog is one which can be displayed at any time since its memory resources are pre-allocated.

Constructs a sleeping dialog from the resources identified by aResourceId at a high priority on the control stack.

Parameters

TInt aResourceId The resource ID of the dialog to be constructed.

ConstructSleepingDialogL(TInt)

IMPORT_C void ConstructSleepingDialogL ( TInt aResourceId ) [protected]

Protected constructor creates a sleeping dialog from a resource.

A sleeping dialog is one which can be displayed at any time since its memory resources are pre-allocated.

Constructs a sleeping dialog from the resources identified by aResourceId. A sleeping dialog is one which can be displayed at any time since its memorey resources are pre-allocated.

Parameters

TInt aResourceId The resource ID of the dialog to be constructed.

Control(TInt)

IMPORT_C CCoeControl * Control ( TInt aControlId ) const

Returns a pointer to the specified control.

Panics if the control ID is invalid. Does not imply transfer of ownership.

Returns a pointer to the first control found to be identified by aControlId. Panics if the control id is invalid. Does not imply transfer of ownership.

Parameters

TInt aControlId The ID of the control for which a pointer is required.

ControlCaption(TInt)

IMPORT_C CEikLabel * ControlCaption ( TInt aControlId ) const

Gets a pointer to the specified control's caption.

Returns a pointer to the caption of the control identified by aControlId. Does not imply transfer of ownership.

Parameters

TInt aControlId The ID of the control for which the label is required.

ControlOrNull(TInt)

IMPORT_C CCoeControl * ControlOrNull ( TInt aControlId ) const

Gets a pointer to the specified control.

Returns a pointer to the control identified by aControlId or NULL if the control id is invalid. Does not imply transfer of ownership.

Parameters

TInt aControlId The ID of the control for which a pointer is required.

ControlsOnPage(RArray< CEikCaptionedControl * > &, TInt)

IMPORT_C void ControlsOnPage ( RArray < CEikCaptionedControl * > & aControls,
TInt aPageId
) const [protected]

Gets all lines in the given page.

Parameters

RArray < CEikCaptionedControl * > & aControls After execution holds all captions in the page.
TInt aPageId ID of the target page.

ConvertCustomControlTypeToBaseControlType(TInt)

IMPORT_C MEikDialogPageObserver::TFormControlTypes ConvertCustomControlTypeToBaseControlType ( TInt aControlType ) const

From MEikDialogPageObserver .

For forms only: Ths should be overriden with mappings between the base control types that form knows how to layout.

Always returns MEikDialogPageObserver::EUnknownType .

Parameters

TInt aControlType Not used.

CountComponentControls()

IMPORT_C TInt CountComponentControls ( ) const [protected, virtual]

Returns the number of the control components.

In Avkon returns 2 as the button group container is not internal.

* Returns the number of control components. In Avkon returns 2 as the button group container is not internal

CountFadedComponents()

IMPORT_C TInt CountFadedComponents ( ) [private, virtual]

CreateButtonGroupContainerL(TInt)

void CreateButtonGroupContainerL ( TInt aResourceId ) [private]

Parameters

TInt aResourceId

CreateCustomControlL(TInt)

IMPORT_C SEikControlInfo CreateCustomControlL ( TInt aControlType ) [virtual]

From MEikDialogPageObserver .

Creates a control line in the dialog.on the active page with caption text aCaption . The line can thereafter be accessed through the identifier aControlId . A control of type aControlType is created by the Eikon control factory and the return value of the line set to aReturnValue . If the value of aControlType is not known to the Eikon control factory then the construction of the control must be handled by CreateCustomControlL .

Creates a custom control of type aControlType. Returns the control information for the custom control which is created. Called when creating a line on the dialog page if the Eikon control factory does not recognise the type aControlType.

This method panics by default. It must be reimplemented if it is to be called.

The parent of a custom control should be the line which contains it - not the dialog itself - but the line is not accessible at this stage. If necessary, the line should be set as the parent in PreLayoutDynInitL

Parameters

TInt aControlType The type of the custom control.

CreateLineByTypeL(const TDesC &, TInt, TInt, TAny *)

IMPORT_C CCoeControl * CreateLineByTypeL ( const TDesC & aCaption,
TInt aControlId,
TInt aControlType,
TAny * aReturnValue
)

Creates a control line on the page ID specified active page in the dialog. The line can thereafter be accessed through the identifier aControlId . A control of type aControlType is created by the control factory and the return value of the line set to aReturnValue . If the value of aControlType is not known to the control factory then the construction of the control must be handled by CreateCustomControlL() .

Creates a control line in the dialog.on the active page with caption text aCaption. The line can thereafter be accessed through the identifier aControlId. A control of type aControlType is created by the Eikon control factory and the return value of the line set to aReturnValue. If the value of aControlType is not known to the Eikon control factory then the construction of the control must be handled by CreateCustomControlL.

Parameters

const TDesC & aCaption The caption to appear in the dialog line.
TInt aControlId The ID of the active page on which the control line is to be created.
TInt aControlType The type of control to create.
TAny * aReturnValue Deprecated. A random pointer.

CreateLineByTypeL(const TDesC &, TInt, TInt, TInt, TAny *)

IMPORT_C CCoeControl * CreateLineByTypeL ( const TDesC & aCaption,
TInt aPageId,
TInt aControlId,
TInt aControlType,
TAny * aReturnValue
)

Creates a control line on the caption specified active page in the dialog. The line can thereafter be accessed through the identifier aControlId . A control of type aControlType is created by the control factory and the return value of the line set to aReturnValue . If the value of aControlType is not known to the control factory then the construction of the control must be handled by CreateCustomControlL() .

Overloaded member which creates a control line in the dialog on the page specified by aPageId.

Since
ER5U

Parameters

const TDesC & aCaption The active page on which the control line is to be created.
TInt aPageId The ID of the active page on which the control line is to be created.
TInt aControlId The ID of the control. After the line is created this can be used to access it.
TInt aControlType The type of control to create.
TAny * aReturnValue Deprecated. A random pointer.

CreatePageSelectorL()

void CreatePageSelectorL ( ) [private]

CreatePageSelectorL(TInt)

void CreatePageSelectorL ( TInt aResourceId ) [private]

Parameters

TInt aResourceId

CreateTitleBarL()

void CreateTitleBarL ( ) [private]

CurrentLine()

IMPORT_C CEikCaptionedControl * CurrentLine ( ) const [protected]

Gets a pointer to the current line.

This does not imply transfer of ownership from the dialog.

Returns a pointer to the current line. Does not imply transfer of ownership.

DeclareAutoDateEditor(TInt, TTime *)

IMPORT_C void DeclareAutoDateEditor ( TInt aId,
TTime * aDate
)

Not supported.

Parameters

TInt aId
TTime * aDate

DeclareAutoDurationEditor(TInt, TTimeIntervalSeconds *)

IMPORT_C void DeclareAutoDurationEditor ( TInt aId,
TTimeIntervalSeconds * aDuration
)

Not supported.

Parameters

TInt aId
TTimeIntervalSeconds * aDuration

DeclareAutoFixedPointEditor(TInt, TInt *)

IMPORT_C void DeclareAutoFixedPointEditor ( TInt aId,
TInt * aValue
)

Not supported.

Parameters

TInt aId
TInt * aValue

DeclareAutoNumberEditor(TInt, TInt *)

IMPORT_C void DeclareAutoNumberEditor ( TInt aId,
TInt * aNumber
)

Not supported.

Parameters

TInt aId
TInt * aNumber

DeclareAutoRangeEditor(TInt, SEikRange *)

IMPORT_C void DeclareAutoRangeEditor ( TInt aId,
SEikRange * aRange
)

Not supported.

Parameters

TInt aId
SEikRange * aRange

DeclareAutoSecretEditor(TInt, TDes *)

IMPORT_C void DeclareAutoSecretEditor ( TInt aId,
TDes * aText
)

Not supported.

Parameters

TInt aId
TDes * aText

DeclareAutoTextEditorL(TInt, TDes *)

IMPORT_C void DeclareAutoTextEditorL ( TInt aId,
TDes * aText
)

Not supported.

Parameters

TInt aId
TDes * aText

DeclareAutoTimeAndDateEditor(TInt, TTime *)

IMPORT_C void DeclareAutoTimeAndDateEditor ( TInt aId,
TTime * aTimeAndDate
)

Not supported.

Parameters

TInt aId
TTime * aTimeAndDate

DeclareAutoTimeEditor(TInt, TTime *)

IMPORT_C void DeclareAutoTimeEditor ( TInt aId,
TTime * aTime
)

Not supported.

Parameters

TInt aId
TTime * aTime

DeclareAutoTimeOffsetEditor(TInt, TTimeIntervalSeconds *)

IMPORT_C void DeclareAutoTimeOffsetEditor ( TInt aId,
TTimeIntervalSeconds * aTimeOffset
)

Not supported.

Parameters

TInt aId
TTimeIntervalSeconds * aTimeOffset

DeclareItemAuto(TInt, TInt, TAny *)

IMPORT_C void DeclareItemAuto ( TInt aControlId,
TInt aControlType,
TAny * aReturnValue
)

Sets controllers return value.

Parameters

TInt aControlId Control identifier for wanted caption controller.
TInt aControlType Type of control.
TAny * aReturnValue Controllers return value.

DeleteLine(TInt, TBool)

IMPORT_C void DeleteLine ( TInt aControlId,
TBool aRedraw = ETrue
)

Deletes the specified dialog line.

Deletes the dialog line with the control identified by aControlId.

Parameters

TInt aControlId The dialog line to delete.
TBool aRedraw = ETrue Whether to redraw the page. Default value is ETrue.

DialogFlags()

IMPORT_C TInt DialogFlags ( )

Gets flags of the dialog.

DoFadeBehindPopup(TBool)

void DoFadeBehindPopup ( TBool aFade ) [private]

Parameters

TBool aFade

DoResourceChangeLayout()

void DoResourceChangeLayout ( ) [private]

Draw(const TRect &)

IMPORT_C void Draw ( const TRect & aRect ) const [private, virtual]

From CCoeControl . Draws the border around the control. This function also clears the central area if the IsBlank() method returns ETrue .

From CCoeControl

CCoeControl::IsBlank() Border()

Parameters

const TRect & aRect Not used.

DurationEditorValue(TInt)

IMPORT_C TTimeIntervalSeconds DurationEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

DynamicConstructL()

void DynamicConstructL ( ) [private]

EnableContentObserver(TBool)

void EnableContentObserver ( TBool aEnabled ) [private]

Enables/disables content observer.

Parameters

TBool aEnabled

ExecuteLD(TInt)

IMPORT_C TInt ExecuteLD ( TInt aResourceId ) [virtual]

Loads, displays, and destroys the dialog.

This function loads the specified dialog from a resource and displays it. The method then destroys the dialog when it exits, therefore there is no need for the application program to destroy the dialog.

In the resource file, use the EEikBidOk dialog button ID for an OK/Done/Continue button and EEikBidCancel for a Cancel button.

The function returns immediately unless EEikDialogFlagWait has been specified in the DIALOG resource. If EEikDialogFlagWait is specified, it returns when the dialog exits.

Prepares and runs the dialog and returns the id of the button used to dismiss it. The dialog is constructed from the resource with id aResourceId and is destroyed on exit.

Parameters

TInt aResourceId The resource ID of the dialog to load.

ExitSleepingDialog()

IMPORT_C void ExitSleepingDialog ( ) [protected]

Exits sleeping dialog without deleting it.

Exits a sleeping dialog without deleteing it.

Extension()

IMPORT_C CEikDialogExtension * Extension ( ) const

Access to CEikDialog's extension object.

ExtensionInterface(TUid)

IMPORT_C void * ExtensionInterface ( TUid aInterface ) [private, virtual]

Parameters

TUid aInterface

FadeBehindPopup(TBool)

void FadeBehindPopup ( TBool aFade ) [private]

Parameters

TBool aFade

FadedComponent(TInt)

IMPORT_C CCoeControl * FadedComponent ( TInt aIndex ) [private, virtual]

Parameters

TInt aIndex

FindLineIndex(const CCoeControl &)

IMPORT_C TInt FindLineIndex ( const CCoeControl & aControl ) const [protected]

Gets the line index of the specified control.

The control must be on the active page.

Returns the line index of the control aControl or KErrNotFound if the control is not on the active page.

Parameters

const CCoeControl & aControl The control for which the line index is required.

FixedPointEditorDecimal(TInt)

IMPORT_C TInt FixedPointEditorDecimal ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

FixedPointEditorValue(TInt)

IMPORT_C TInt FixedPointEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

FloatEditorValue(TInt)

IMPORT_C TReal FloatEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

FloatingPointEditorValue(TInt)

IMPORT_C TReal FloatingPointEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

FocusChanged(TDrawNow)

IMPORT_C void FocusChanged ( TDrawNow aDrawNow ) [virtual]

From CCoeControl .

Responds to a change in focus.

This is called whenever the control gains or loses focus, as a result of a call to SetFocus() . A typical use of FocusChanged() is to change the appearance of the control, for example by drawing a focus rectangle around it.

The default implementation is empty, and should be overridden by the CCoeControl-derived class.

Hands focus to current dialog line.

Parameters

TDrawNow aDrawNow Contains the value that was passed to it by SetFocus().

FormFlagsFromActivePage()

IMPORT_C TInt FormFlagsFromActivePage ( ) [protected]

Get form flags of the active page

GetAutoValues()

void GetAutoValues ( ) [private]

GetAutoValuesFromPage(CEikCapCArray *)

IMPORT_C void GetAutoValuesFromPage ( CEikCapCArray * aLines ) [protected]

Not supported.

Parameters

CEikCapCArray * aLines

GetColorUseListL(CArrayFix< TCoeColorUse > &)

IMPORT_C void GetColorUseListL ( CArrayFix < TCoeColorUse > & aColorUseList ) const [virtual]

From CCoeControl .

Gets the list of logical colours used to draw the control.

The list includes an explanation of how each colour is used. The default implementation is empty.

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

Since
ER5U
Gets the list of logical colors employed in the drawing of the control, paired with an explanation of how they are used. Appends the list to aColorUseList.
Since
ER5U

Parameters

CArrayFix < TCoeColorUse > & aColorUseList

GetCustomAutoValue(TAny *, TInt, const CCoeControl *)

IMPORT_C void GetCustomAutoValue ( TAny * aReturnValue,
TInt aControlType,
const CCoeControl * aControl
) [virtual]

From MEikDialogPageObserver .

Should be implemented to get the custom auto value for the custom control aControl of type aControlType with return value aReturnValue .

This method is included in the interface to support deprecated legacy code only.

Not implemented.

Parameters

TAny * aReturnValue The custom controls return value.
TInt aControlType The type of the custom control.
const CCoeControl * aControl The control whose auto value is being retrieved.

GetEdwinText(TDes &, TInt)

IMPORT_C void GetEdwinText ( TDes & aDes,
TInt aControlId
) const [protected]

Not supported.

Parameters

TDes & aDes
TInt aControlId

GetFileName(TFileName *, TInt)

IMPORT_C void GetFileName ( TFileName * aFileName,
TInt aControlId
) const [protected]

Not supported.

Parameters

TFileName * aFileName
TInt aControlId

GetFirstLineOnFirstPageOrNull()

IMPORT_C CEikCaptionedControl * GetFirstLineOnFirstPageOrNull ( ) [protected, virtual]

Gets first line of the first page.

GetLabelText(TDes &, TInt)

IMPORT_C void GetLabelText ( TDes & aDes,
TInt aControlId
) const [protected]

Not supported.

Parameters

TDes & aDes
TInt aControlId

GetLineByLineAndPageIndex(TInt, TInt)

IMPORT_C CEikCaptionedControl * GetLineByLineAndPageIndex ( TInt aLineIndex,
TInt aPageIndex
) const [protected]

Gets specified line from specified page.

Parameters

TInt aLineIndex Index of the requested line.
TInt aPageIndex Index of the requested page.

GetNumberOfLinesOnPage(TInt)

IMPORT_C TInt GetNumberOfLinesOnPage ( TInt aPageIndex ) const [protected]

Gets number of lines in the specified page.

Parameters

TInt aPageIndex Index of the page container.

GetNumberOfPages()

IMPORT_C TInt GetNumberOfPages ( ) const [protected]

Gets number of pages in the page selector.

GetSecretEditorText(TDes &, TInt)

IMPORT_C void GetSecretEditorText ( TDes & aDes,
TInt aControlId
) const [protected]

Not supported.

Parameters

TDes & aDes
TInt aControlId

GetTextEditorText(CGlobalText *&, TInt)

IMPORT_C void GetTextEditorText ( CGlobalText *& aGlobalText,
TInt aControlId
) [protected]

Not supported.

Parameters

CGlobalText *& aGlobalText
TInt aControlId

HandleControlEventL(CCoeControl *, TCoeEvent)

IMPORT_C void HandleControlEventL ( CCoeControl * aControl,
TCoeEvent aEventType
) [protected]

From MCoeControlObserver .

Handles control events.

The default implementation handles events of type EEventStateChanged , EEventInteractionRefused , and EEventPrepareFocusTransition by calling HandleControlStateChangeL() , HandleInteractionRefused() , and PrepareForFocusTransitionL() respectively.

Overrides MCoeControlObserver::HandleControlEventL() .

Handles an event of type aEventType reported by the control aControl. By default, handles EEventStateChanged by calling HandleControlStateChangeL and EEventInteractionRefused by calling HandleInteractionRefused.

Parameters

CCoeControl * aControl The control reporting the event.
TCoeEvent aEventType The event type.

HandleControlStateChangeL(TInt)

IMPORT_C void HandleControlStateChangeL ( TInt aControlId ) [protected, virtual]

Handles a state change in the control with id aControlId. Empty by default.

Handles a state change in the control with id aControlId. Empty by default.

Parameters

TInt aControlId Not used.

HandleDialogPageEventL(TInt)

IMPORT_C void HandleDialogPageEventL ( TInt aEventID ) [virtual]

From CEikDialog ( MEikDialogPageObserver ).

The interface method which is called when dialog page is tapped with a stylus.

Parameters

TInt aEventID An event identification number.

HandleEmbeddedSofkeyStateChange()

void HandleEmbeddedSofkeyStateChange ( ) [private]

Handles embedded softkey state change.

HandleEmbeddedSoftkeyStateChangeCallBack(TAny *)

TInt HandleEmbeddedSoftkeyStateChangeCallBack ( TAny * aAny ) [private, static]

Call back method to handle CEikCba content changes.

Parameters

TAny * aAny

HandleInteractionRefused(TInt)

IMPORT_C void HandleInteractionRefused ( TInt aControlId ) [protected, virtual]

Should handle an attempt by the user to activate a dimmed button with id aControlId. Prints an info message by default.

Not implemented / Does nothing in Avkon.

Handles an attempt by the user to activate a dimmed button with id aControlId. Prints an info message by default.

Parameters

TInt aControlId Not used.

HandlePointerEventL(const TPointerEvent &)

IMPORT_C void HandlePointerEventL ( const TPointerEvent & aPointerEvent ) [virtual]

From CCoeControl .

Handles pointer events.

This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer. The control should implement this function to handle pointer events.

Note: events of type EButton1Down are processed before HandlePointerEventL() is called, in order to transfer keyboard focus to the control in which the EButton1Down event occurred.

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

Parameters

const TPointerEvent & aPointerEvent The pointer event.

HandleResourceChange(TInt)

IMPORT_C 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
Handles a change to the control's resources of type aType which are shared across the environment, e.g. colors or fonts.
Since
ER5U

Parameters

TInt aType A message UID value.

IdOfFocusControl()

IMPORT_C TInt IdOfFocusControl ( ) const [protected]

Gets the ID of the control in the focused line.

Returns the id of the control in the line with focus.

InputCapabilities()

IMPORT_C TCoeInputCapabilities InputCapabilities ( ) const [virtual]

From CCoeControl .

Gets the control's input capabilities.

Classes that override CCoeControl::OfferKeyEventL() should also override this function, returning a TCoeInputCapabilities object whose attributes correspond to the behaviour of the OfferKeyEventL() function. The default implementation returns TCoeInputCapabilities::ENone .

It is not necessary to call InputCapabilities() on any component controls from inside a class's InputCapabilities() function. This is done automatically by the UI Control Framework.

Since
ER5U
Returns the input capabilites of the dialog. By default, the dialog is capable of handling all text input.
Since
ER5U

InsertLineL(TInt, TInt, TInt)

IMPORT_C void InsertLineL ( TInt aIndex,
TInt aResourceId,
TInt aPageId = 0
)

Inserts a line in the dialog. The function takes as arguments the page and line index at which the line is to be inserted, and the resource used to construct it.

Inserts a line in the dialog on the page identified by aPageId at the line index aIndex and constructed from the resource specified by aResourceId.

Parameters

TInt aIndex The index at which the line is to be inserted.
TInt aResourceId The ID of the resource which defines the line.
TInt aPageId = 0 The page on which the line is to be added.

IsEditable()

IMPORT_C TBool IsEditable ( ) const

Checks if the dialog is editable.

Returns the Editable state. This exists to support forms

Since
ER5U

Layout()

IMPORT_C void Layout ( )

Lays out the dialog, setting it to take its preferred size and position for the screen.

Since
5.1
Lays out the dialog, setting it to take its preferred size and position for the screen.

TODO (RSD) I have noticed this routine and I suspect that it is responsible for one of the sizechanged cascades in Form. This should use best current information to layout the dialog, but I have not investigated too much

Since
ER5U

Line(TInt)

IMPORT_C CEikCaptionedControl * Line ( TInt aControlId ) const [protected]

Gets a pointer to the line containing the specified control.

This does not imply transfer of ownership from the dialog.

Returns a pointer to the line containing the control identified by aControlId. Does not imply transfer of ownership.

Parameters

TInt aControlId The ID of the control.

LineChangedL(TInt)

IMPORT_C void LineChangedL ( TInt aControlId ) [protected, virtual]

From MEikDialogPageObserver

Should be implemented to take any action required when the current line is changed to aControlId .

Not implemented.

Takes any action required when the current line is changed to aControlId. Empty by default.

Since
ER5U

Parameters

TInt aControlId The ID of the control being switched to.

ListBoxCurrentItem(TInt)

IMPORT_C TInt ListBoxCurrentItem ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

MakeLineVisible(TInt, TBool)

IMPORT_C void MakeLineVisible ( TInt aControlId,
TBool aVisible
)

Makes the specified control visible or invisible. This function affects the specified control, the visibility of the caption is not affected.

Makes the dialog line containing the control identified by aControlId visible, i.e. sets it to draw itself, if aVisible is ETrue.

Parameters

TInt aControlId The ID of the control to make visible or invisible.
TBool aVisible ETrue to make the control visible. EFalse to make the control invisible.

MakePanelButtonVisible(TInt, TBool)

IMPORT_C void MakePanelButtonVisible ( TInt aButtonId,
TBool aVisible
)

Makes the specified panel button visible or invisible.

Makes the panel button identified by aButtonId visible if aVisible is ETrue.

Parameters

TInt aButtonId The ID of the panel button to make visible or invisible.
TBool aVisible ETrue to make the panel visible. EFalse to make it invisible.

MakeVisible(TBool)

IMPORT_C void MakeVisible ( TBool aVisible ) [virtual]

From CCoeControl .

Sets the dialog visibility

Parameters

TBool aVisible ETrue control is visible. EFalse control is invisible.

MakeWholeLineVisible(TInt, TBool)

IMPORT_C void MakeWholeLineVisible ( TInt aControlId,
TBool aVisible
)

Makes the whole specified line visible and active or invisible and inactive. This function affects both the specified control and the caption.

Makes the whole dialog line containing the control identified by aControlId visible, i.e. sets it to draw itself, if aVisible is ETrue.

Parameters

TInt aControlId The ID of the control on the line to make visible or invisible.
TBool aVisible ETrue to make the line visible. EFalse to make the line invisible.

MappedCommandId(TInt)

IMPORT_C TInt MappedCommandId ( TInt aButtonId ) [protected, virtual]

Routine to map the button id ( Avkon softkey command id) to CEikBidCancel if it is a "cancel" type command type.

The following cases are mapped to a give an ExecuteLD return value of 0:

EAknSoftkeyCancel: EAknSoftkeyBack: EAknSoftkeyNo:

Other cases are left unchanged.

This operation is performed at the last minute and does not affect other processing in CEik/AknDialog .

It is a framework method; It can be overridded to obtain customized behaviour.

Routine to map the button id ( Avkon softkey command id) to CEikBidCancel if it is a "cancel" type command type and to CEikBidOk if it is an "accept" type command Other cases left unchanged

Since
Avkon

Parameters

TInt aButtonId input id to map.

MinimumSize()

IMPORT_C TSize MinimumSize ( ) [private, virtual]

Returns the minimum size of the area that the contents of the dialog should occupy.

MopSupplyObject(TTypeUid)

IMPORT_C TTypeUid::Ptr MopSupplyObject ( TTypeUid aId ) [protected]

From MObjectProvider .

Retrieves an object of the same type as that encapsulated in aId.

This function is used to allow controls to ask their owners for access to other objects that they own.

Other than in the case where NULL is returned, the object returned must be of the same object type - that is, the ETypeId member of the object pointed to by the pointer returned by this function must be equal to the iUid member of aId.

Parameters

TTypeUid aId An encapsulated object type ID.

NumberEditorValue(TInt)

IMPORT_C TInt NumberEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

OfferKeyEventL(const TKeyEvent &, TEventCode)

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

From CCoeControl .

Handles a key event. Overrides CCoeControl::OfferKeyEventL() .

Handles the key event aKeyEvent with code aType. Returns EKeyWasConsumed if the control takes action on the key event or EKeyWasNotConsumed otherwise.

Parameters

const TKeyEvent & aKeyEvent The key event.
TEventCode aType The type of key event: EEventKey, EEventKeyUp or EEventKeyDown.

OkToExitL(TInt)

IMPORT_C TBool OkToExitL ( TInt aButtonId ) [protected, virtual]

Not implemented.

Handles a dialog button press for the button with id aButtonId. The cancel button press is not passed to the handler unless EEikDialogFlagNotifyEsc is set. Returns ETrue if the dialog is ready to exit. Returns ETrue by default.

Parameters

TInt aButtonId Not used.

PageChangedL(TInt)

IMPORT_C void PageChangedL ( TInt aPageId ) [protected, virtual]

From MEikDialogPageObserver .

Should be implemented to take any action required when the active dialog page is changed.

Not implemented.

Takes any action required when the active dialog page is changed to aPageId. Empty by default.

Parameters

TInt aPageId The ID of the page being switched to.

PostLayoutDynInitL()

IMPORT_C void PostLayoutDynInitL ( ) [protected, virtual]

Initializes the dialog's controls after the dialog has been sized but before it has been activated. Empty by default.

PreLayoutDynInitL()

IMPORT_C void PreLayoutDynInitL ( ) [protected, virtual]

Initializes the dialog's controls before the dialog is sized and layed out. Empty by default.

PreferredSize(const TSize &)

IMPORT_C TSize PreferredSize ( const TSize & aMaxSize ) const

Gets the preferred size of a dialog. The maximum size that the dialog must fit within must be specified, e.g. the size of the physical screen.

Returns the preferred size of the dialog given that it must fit in a maximum size of aMaxSize.

Since
ER5U

Parameters

const TSize & aMaxSize The maximum size of the area in which the dialog must fit.

PrepareContext(CWindowGc &)

IMPORT_C void PrepareContext ( CWindowGc & aGc ) const [protected]

From MCoeControlContext .

Initialises graphics context settings.

This function should be implemented by derived classes to initialise the graphics context, given by aGc , with the required settings.

Prepares the graphics context aGc for drawing the control in its normal state.

Parameters

CWindowGc & aGc The graphics context to be initialised.

PrepareForFocusTransitionL()

IMPORT_C void PrepareForFocusTransitionL ( ) [protected, virtual]

From MEikDialogPageObserver .

Should be implemented to prepare for focus transition from the current line.

For example to validate the contents of the current control.

Prepares for a transistion in focus in the dialog. By default, calls the currently focused control to prepare fo loss of focus.

PrepareLC(TInt)

IMPORT_C void PrepareLC ( TInt aResourceId ) [virtual]

Prepares the dialog, constructing it from the specified resource.

Prepares the dialog, constructing it from the resource with id aResourceId.

The dialog is added to the stack in here to avoid a possible reallocation of the stack in RunLD, the purpose is to be able to display note dialogs in OOM situations.

Parameters

TInt aResourceId The resource ID of the dialog.

PublishDialogL(TInt, TUid)

IMPORT_C void PublishDialogL ( TInt aDialogIndex,
TUid aCatUid = KNullUid
)

Instantiates mediator support and send a command with given parameters when a dialog is brought to display.

Since
3.1

Parameters

TInt aDialogIndex unique index to identify a dialog within the category.
TUid aCatUid = KNullUid gategory uid, if default paramter is passed, application uid is used as a category.

RangeEditorValue(TInt)

IMPORT_C SEikRange RangeEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

ReadResourceLC(TInt)

IMPORT_C void ReadResourceLC ( TInt aResourceId )
Reads the dialog resources into the dialog, constructing it from the specified resource. The function is only to help loading dialog resources and extracting dialog data, in other cases use ( PrepareLC() ). Unlike PrepareLC() , it does not add the dialog to control stack.
Since
3.2
Reads the dialog resources into the dialog, constructing it from the specified resource. The function is only to help loading dialog resources and extracting dialog data.

Code is same as in PrepareLC() but iEikonEnv->EikAppUi()->AddToStackL() is omitted

Parameters

TInt aResourceId The resource ID of the dialog.

RegisterDialgWithPageSelector()

void RegisterDialgWithPageSelector ( ) [protected]

Sets the current Dialog into the Page selector

Reserved_2()

IMPORT_C void Reserved_2 ( ) [private, virtual]

ResetLineMinimumSizes()

IMPORT_C void ResetLineMinimumSizes ( ) [protected]

Recalculates the minimum sizes of the lines on the active page.

Overrides CCoeControl::ResetLineMinimumSizes() .

Recalculates the minimum sizes of the lines on the active page.

ResetSecretEditor(TInt)

IMPORT_C void ResetSecretEditor ( TInt aControlId ) [protected]

Not supported.

Parameters

TInt aControlId

RotateFocusByL(TInt)

IMPORT_C TBool RotateFocusByL ( TInt aDelta ) [protected]

Rotates the focus by a specified number of steps.

Each line is a step, as are dialog tabs.

Rotates the focus by aDelta steps. Each line is a step, as are dialog tabs..

Parameters

TInt aDelta The number of steps.

RouseSleepingDialog()

IMPORT_C TInt RouseSleepingDialog ( ) [protected]

Rouses a sleeping dialog by dynamically constructing the dialog and then bringing it to the front.

Derived dialogs should pre-allocate any memory they need for initialisation during construction via ConstructFromResourceL() for each individual control. Derived versions of PreLayoutDynInitL() cannot rely on allocating any further memory.

Rouses a sleeping dialog by dynamically constructing it and then bringing it to the front.

RunLD()

IMPORT_C TInt RunLD ( ) [virtual]

Runs the dialog and returns the ID of the button used to dismiss it.

The dialog is destroyed on exit.

This function is called by the dialog framework ( ExecuteLD() ) to perform dynamic construction (layout) and to display/destroy the dialog. Static construction of the dialog must already be complete before this function is called, e.g. using PrepareLC() .

The function returns immediately unless EEikDialogFlagWait has been specified in the DIALOG resource. If EEikDialogFlagWait is specified it returns when the dialog exits.

Runs the dialog and returns the id of the button used to dismiss it. The dialog is destroyed on exit.

SetBorderStyle()

void SetBorderStyle ( ) [private]

SetControlCaptionL(TInt, const TDesC &)

IMPORT_C void SetControlCaptionL ( TInt aControlId,
const TDesC & aText
)

Sets the specified control's caption text from a descriptor.

Sets the caption of the control identified by aControlId to the descriptor aText.

Parameters

TInt aControlId The ID of the control for which the caption text is being set.
const TDesC & aText The text for the caption.

SetControlCaptionL(TInt, TInt)

IMPORT_C void SetControlCaptionL ( TInt aControlId,
TInt aResourceId
)

Sets the specified control's caption text from a resource.

Sets the caption of the control identified by aControlId by reading the caption text from the resource specified by aResourceId.

Parameters

TInt aControlId The ID of the control for which the caption text is being set.
TInt aResourceId The ID of the resource containing the text for the caption.

SetDurationEditorMinAndMax(TInt, const TTimeIntervalSeconds &, const TTimeIntervalSeconds &)

IMPORT_C void SetDurationEditorMinAndMax ( TInt aControlId,
const TTimeIntervalSeconds & aMinimumDuration,
const TTimeIntervalSeconds & aMaximumDuration
) [protected]

Not supported.

Parameters

TInt aControlId
const TTimeIntervalSeconds & aMinimumDuration
const TTimeIntervalSeconds & aMaximumDuration

SetDurationEditorValue(TInt, const TTimeIntervalSeconds &)

IMPORT_C void SetDurationEditorValue ( TInt aControlId,
const TTimeIntervalSeconds & aDuration
) [protected]

Not supported.

Parameters

TInt aControlId
const TTimeIntervalSeconds & aDuration

SetEditableL(TBool)

IMPORT_C void SetEditableL ( TBool aEditable )

Sets the dialog to either editable or uneditable

Sets the Editable state. This exists to support forms

Since
ER5U

Parameters

TBool aEditable ETrue if dialog is editable. EFalse if dialog is uneditable.

SetEdwinTextL(TInt, const TDesC *)

IMPORT_C void SetEdwinTextL ( TInt aControlId,
const TDesC * aDes
) [protected]

Not supported.

Parameters

TInt aControlId
const TDesC * aDes

SetFileNameL(TInt, const TDesC *)

IMPORT_C void SetFileNameL ( TInt aControlId,
const TDesC * aFileName
) [protected]

Not supported.

Parameters

TInt aControlId
const TDesC * aFileName

SetFixedPointEditorDecimal(TInt, TInt)

IMPORT_C void SetFixedPointEditorDecimal ( TInt aControlId,
TInt aDecimal
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aDecimal

SetFixedPointEditorValueL(TInt, TInt)

IMPORT_C void SetFixedPointEditorValueL ( TInt aControlId,
TInt aValue
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aValue

SetFloatEditorMinAndMax(TInt, TInt, TInt)

IMPORT_C void SetFloatEditorMinAndMax ( TInt aControlId,
TInt aMin,
TInt aMax
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aMin
TInt aMax

SetFloatEditorValueL(TInt, TReal)

IMPORT_C void SetFloatEditorValueL ( TInt aControlId,
TReal aFloat
) [protected]

Not supported.

Parameters

TInt aControlId
TReal aFloat

SetFloatingPointEditorValueL(TInt, const TReal *)

IMPORT_C void SetFloatingPointEditorValueL ( TInt aControlId,
const TReal * aValue
) [protected]

Not supported.

Parameters

TInt aControlId
const TReal * aValue

SetInitialCurrentLine()

IMPORT_C void SetInitialCurrentLine ( ) [protected, virtual]

Sets the line which initally receives focus. This is the first focusable line on the first page in the dialog by default. Reimplementations of this method must activate a page before doing anything else.

Set the line which initally receives focus. This is the first focusable line on the first page in the dialog by default. Reimplementations of this method must activate a page before doing anything else.

SetLabelL(TInt, const TDesC &)

IMPORT_C void SetLabelL ( TInt aControlId,
const TDesC & aDes
) [protected]

Not supported.

Parameters

TInt aControlId
const TDesC & aDes

SetLabelL(TInt, TInt)

IMPORT_C void SetLabelL ( TInt aControlId,
TInt aResourceId
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aResourceId

SetLabelReserveLengthL(TInt, TInt)

IMPORT_C void SetLabelReserveLengthL ( TInt aControlId,
TInt aLength
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aLength

SetLineDimmedNow(TInt, TBool)

IMPORT_C void SetLineDimmedNow ( TInt aControlId,
TBool aDimmed
)

Dims and deactivates, or un-dims and re-activates, the specified line.

Dims and inactivates the dialog line containing the control identified by aControlId if aDimmed is ETrue. Does not cause a redraw.

Parameters

TInt aControlId The ID of the line to dim or un-dim.
TBool aDimmed ETrue to dim the line, EFalse to un-dim it.

SetLineNonFocusing(TInt)

IMPORT_C void SetLineNonFocusing ( TInt aControlId )

Sets the specified dialog line to a non-focusing state. After this function is called, the line will never be given keyboard focus.

Sets the dialog line containing the control identified by aControlId to a non-focusing state so that it will never be given keyboard focus.

Parameters

TInt aControlId The ID of the control in the line which is to be set as non-focusing.

SetListBoxCurrentItem(TInt, TInt)

IMPORT_C void SetListBoxCurrentItem ( TInt aControlId,
TInt aItem
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aItem

SetMediatorObserver(MAknDialogMediatorObserver *)

IMPORT_C void SetMediatorObserver ( MAknDialogMediatorObserver * aObserver )

Instantiates mediator support and passes possible feedback to given intance. If no observer is set, dialog tries to handle feedback by it self. Please note that no commands will be instantiated unless command identifiers are are set using PublishDialogL .

Since
3.1

Parameters

MAknDialogMediatorObserver * aObserver Pointer to instance implementing MAknDialogMediatorObserver API. Can be NULL.

SetMultilineQuery(TBool)

IMPORT_C void SetMultilineQuery ( TBool aIsMultilineQuery )
Since
3.2 Sets dialog to be multilinequery.
This is called by multiline query only. Changes tab-key behaviour of the dialog page. Tab key works differently for forms and multiline queries.

Parameters

TBool aIsMultilineQuery Whether this dialog is multiline query

SetNumberEditorMinAndMax(TInt, TInt, TInt)

IMPORT_C void SetNumberEditorMinAndMax ( TInt aControlId,
TInt aMinimumValue,
TInt aMaximumValue
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aMinimumValue
TInt aMaximumValue

SetNumberEditorValue(TInt, TInt)

IMPORT_C void SetNumberEditorValue ( TInt aControlId,
TInt aNumber
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aNumber

SetPageDensePacking(TInt, TBool)

IMPORT_C void SetPageDensePacking ( TInt aPageId,
TBool aDensePacking
)

Sets the specified page to be densely packed, or normally packed. This reduces the spacing between the dialog's lines.

Sets the page identified by aPageId to be densely packed if aDensePacking is ETrue. The spacing between the dialog's lines is then reduced. TODO (RSD) This seems to be rather un-avkonlike. Perhaps should be stubbed out.

Parameters

TInt aPageId The ID of the page to be densely packed.
TBool aDensePacking ETrue for dense packing. EFalse for normal packing.

SetPageDimmedNow(TInt, TBool)

IMPORT_C void SetPageDimmedNow ( TInt aPageId,
TBool aDimmed
)

Sets the specified page to be dimmed or undimmed. The page is redrawn immediately.

Sets the page identified by aPageId to be dimmed if aDimmmed is ETrue.

Parameters

TInt aPageId The ID of the page to be dimmed.
TBool aDimmed ETrue to dim the page, EFalse to un-dim it.

SetRangeEditorMinAndMax(TInt, TInt, TInt)

IMPORT_C void SetRangeEditorMinAndMax ( TInt aControlId,
TInt aMinimumValue,
TInt aMaximumValue
) [protected]

Not supported.

Parameters

TInt aControlId
TInt aMinimumValue
TInt aMaximumValue

SetRangeEditorValue(TInt, const SEikRange &)

IMPORT_C void SetRangeEditorValue ( TInt aControlId,
const SEikRange & aRange
) [protected]

Not supported.

Parameters

TInt aControlId
const SEikRange & aRange

SetSizeAndPosition(const TSize &)

IMPORT_C void SetSizeAndPosition ( const TSize & aSize ) [protected, virtual]

Sets the size and position of the dialog given the specified size hint.

The parameter is ignored if the FlagFillAppClientRect is set. Otherwise it it centered and given the size that was asked for.

Sets the size and position of the dialog given the size hint aSize.

The parameter is ignored if the FlagFillAppClientRect is set. Otherwise it it centred and given the size asked for

Parameters

const TSize & aSize The new size.

SetTTimeEditorMinAndMax(TInt, const TTime &, const TTime &)

IMPORT_C void SetTTimeEditorMinAndMax ( TInt aControlId,
const TTime & aMinimumTime,
const TTime & aMaximumTime
) [protected]

Not supported.

Parameters

TInt aControlId
const TTime & aMinimumTime
const TTime & aMaximumTime

SetTTimeEditorValue(TInt, const TTime &)

IMPORT_C void SetTTimeEditorValue ( TInt aControlId,
const TTime & aTime
) [protected]

Not supported.

Parameters

TInt aControlId
const TTime & aTime

SetTextEditorTextL(TInt, const CGlobalText *)

IMPORT_C void SetTextEditorTextL ( TInt aControlId,
const CGlobalText * aGlobalText
) [protected]

Not supported.

Parameters

TInt aControlId
const CGlobalText * aGlobalText

SetTimeOffsetEditorMinAndMax(TInt, const TTimeIntervalSeconds &, const TTimeIntervalSeconds &)

IMPORT_C void SetTimeOffsetEditorMinAndMax ( TInt aControlId,
const TTimeIntervalSeconds & aMinimumTimeOffset,
const TTimeIntervalSeconds & aMaximumTimeOffset
) [protected]

Not supported.

Parameters

TInt aControlId
const TTimeIntervalSeconds & aMinimumTimeOffset
const TTimeIntervalSeconds & aMaximumTimeOffset

SetTimeOffsetEditorValue(TInt, const TTimeIntervalSeconds &)

IMPORT_C void SetTimeOffsetEditorValue ( TInt aControlId,
const TTimeIntervalSeconds & aTimeOffset
) [protected]

Not supported.

Parameters

TInt aControlId
const TTimeIntervalSeconds & aTimeOffset

SetTitleL(const TDesC &)

IMPORT_C void SetTitleL ( const TDesC & aText )

Sets the dialog title text from a descriptor.

Sets the title text for the dialog to aText.

Parameters

const TDesC & aText The descriptor containing the new title text.

SetTitleL(TInt)

IMPORT_C void SetTitleL ( TInt aResourceId )

Sets the dialog title text from a resource.

Sets the title text for the dialog by reading it from the resource with id aResourceId.

Parameters

TInt aResourceId The ID of the resource containing the title text.

SizeChanged()

IMPORT_C void SizeChanged ( ) [private, virtual]

Lays out the dialog's components when the size of the dialog is changed. Position of DpSel is always at (0,0) relative to dialog. For Avkon, the DPSEL always stays the same size as the CEikDialog minus an optional title bar.

SlideDialog()

IMPORT_C void SlideDialog ( )

StaticConstructL(TInt)

void StaticConstructL ( TInt aResourceId ) [private]

Parameters

TInt aResourceId

StopWaitingAsRequired()

void StopWaitingAsRequired ( ) [private]

SwapButtonGroupContainer(CEikButtonGroupContainer *)

IMPORT_C CEikButtonGroupContainer * SwapButtonGroupContainer ( CEikButtonGroupContainer * aContainer ) [protected]

Swaps the dialog's button group container with a new container.

The dialog takes ownership of the new container. A pointer to the old button group container is returned and ownership of this object is transferred to the calling object.

Swaps the the button group container with a new container aContainer. The dialog takes ownership of the new container. Returns a pointer to the old button group container and transfers ownership.

Since
ER5U

Parameters

CEikButtonGroupContainer * aContainer The new button group container.

SwitchLineLatency(TInt, TInt)

IMPORT_C void SwitchLineLatency ( TInt aBecomesLatent,
TInt aNoLongerLatent
)

Switches the latent line. The latent line is switched from aNoLongerLatent to aBecomesLatent . If dialog lines are latent they are not visible and are not taken into account when laying out the dialog. Latent lines can then be swapped around on the dialog later.

Switches the latent line from aNoLongerLatent to aBecomesLatent. If dialog lines are latent they are not visible and are not taken into account when laying out the dialog. Latent lines can then be swapped around on the dialog later.

Parameters

TInt aBecomesLatent The line ID of the line to become latent.
TInt aNoLongerLatent The line ID of the line to that is no longer latent.

TTimeEditorValue(TInt)

IMPORT_C TTime TTimeEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

TimeOffsetEditorValue(TInt)

IMPORT_C TTimeIntervalSeconds TimeOffsetEditorValue ( TInt aControlId ) const [protected]

Not supported.

Parameters

TInt aControlId

Title()

IMPORT_C CEikMover & Title ( ) const

Gets a reference to the dialog title bar.

Returns a reference to the dialog title bar.

Since
ER5U

TryAnimateButtonAndExitL(TInt)

TKeyResponse TryAnimateButtonAndExitL ( TInt aKeycode ) [private]

Parameters

TInt aKeycode

TryChangeFocusToL(TInt)

IMPORT_C void TryChangeFocusToL ( TInt aControlId )

Tries to change focus to the specified line. Fails if the line ID is not valid. Calls PrepareForFocusTransitionL() before focus is given to the line.

Tries to change focus to the line identified by aLineId. Fails if the line id is not valid. Calls PrepareForFocusTransitionL before focus is given to the line.

Parameters

TInt aControlId The ID of the line to focus.

TryExitL(TInt)

IMPORT_C void TryExitL ( TInt aButtonId ) [protected]

Tries to exit the dialog when the specified button is pressed, if this button should exit the dialog.

See OkToExitL() to determine which buttons can exit the dialog.

This will fail if user exit is prevented by the EEikDialogFlagNoUserExit flag. If the EEikDialogFlagNotifyEsc flag is not set and the dialog has been cancelled it immediately deletes itself.

Tries to initiate user exit of the dialog when the button identified by aButtonId is pressed, if this button should exit the dialog. See OkToExitL to determine which buttons can exit the dialog.

This will fail if user exit is prevented by the EEikDialogFlagNoUserExit flag. If the EEikDialogFlagNotifyEsc flag is not set and the dialog has been cancelled it immediately deletes itself.

Parameters

TInt aButtonId The id of the pressed button.

UpdatePageL(TBool)

IMPORT_C void UpdatePageL ( TBool aRedraw ) [protected]

Only has effect on forms, call this after adding or deleting lines.

Parameters

TBool aRedraw Whether to redraw the page. Usually expect this to be ETrue.

WaitAsRequired()

TInt WaitAsRequired ( ) [private]

WriteInternalStateL(RWriteStream &)

IMPORT_C void WriteInternalStateL ( RWriteStream & aWriteStream ) const [protected, virtual]

From CCoeControl .

Writes the internal state to the given stream.

Writes the internal state of the control and its components to aStream. Does nothing in release mode. Designed to be overidden and base called by subclasses.

Parameters

RWriteStream & aWriteStream Target stream.

Member Data Documentation

CEikDialogButtonCommandObserver * iButtonCommandObserver

CEikDialogButtonCommandObserver * iButtonCommandObserver [private]

CEikButtonGroupContainer * iButtonGroupContainer

CEikButtonGroupContainer * iButtonGroupContainer [private]

TInt iDialogFlags

TInt iDialogFlags [private]

TInt * iExitConfirmed

TInt * iExitConfirmed [private]

CEikDialogExtension * iExtension

CEikDialogExtension * iExtension [private]

TBool iIsEditable

TBool iIsEditable [private]

CEikDialogPageSelector * iPageSelector

CEikDialogPageSelector * iPageSelector [private]

TAknPopupFader iPopupFader

TAknPopupFader iPopupFader [private]

CEikMover * iTitleBar

CEikMover * iTitleBar [private]

CActiveSchedulerWait iWait

CActiveSchedulerWait iWait [private]