UIQ Technology
Symbian OS Library

UIQ 3.1 SDK        UIQ developer portal

[Index] [Spacer] [Previous] [Next]



Location: CntuiAddFieldDlg.h
Link against: qcontacui.lib

Class CContactUiAddFieldDialog

class CContactUiAddFieldDialog : public CEikDialog, public MContactsAppModelObserver;

Description

This dialog provides possibilities to add data to a new contact or an existing contact. If the data should be saved to an already existing contact, a new dialog is launched where to select which contact the data should be added to.

Derivation

  • MEikBorderedControl - Interface for bordered controls
  • MObjectProvider - An interface that allows an object to be part of a network of object providers
  • CBase - Base class for all classes to be instantiated on the heap
  • Members

    Defined in CContactUiAddFieldDialog:
    EEmail, EPhone, HandleContactsAppModelChangeL(), HandleContactsAppModelChangeL(), RunLD(), TDataType

    Inherited from CBase:
    Delete(), Extension_(), operator new()

    Inherited from CCoeControl:
    AccumulatedZoom(), ActivateGc(), BackedUpWindow(), Background(), CapturesPointer(), ClaimPointerGrab(), CloseWindow(), ComponentArrayExists(), Components(), ControlContext(), ControlEnv(), CopyControlContextFrom(), CreateBackedUpWindowL(), CreateWindowL(), DeactivateGc(), DrawBackground(), DrawDeferred(), DrawForeground(), DrawNow(), DrawableWindow(), EAbsoluteZoom, ERelativeZoom, EnableDragEvents(), FindBackground(), FindFontProvider(), GetColor(), GetGc(), GetTextDrawer(), GrabbingComponent(), HandleComponentControlsResourceChange(), HandleRedrawEvent(), HitTest(), IgnoreEventsUntilNextPointerUp(), Index(), InitComponentArrayL(), IsActivated(), IsBackedUp(), IsBeingDestroyed(), IsBlank(), IsDimmed(), IsFocused(), IsNonFocusing(), IsReadyToDraw(), IsVisible(), LayoutManager(), MaximumWidth(), MopNext(), Observer(), OverrideColorL(), OwnsWindow(), Parent(), Position(), PositionRelativeToScreen(), Rect(), RecursivelyMergedInputCapabilities(), ReportEventL(), Reserved_2(), ResetGc(), ScreenFont(), SetAllowStrayPointers(), SetBackground(), SetBlank(), SetCanDrawOutsideRect(), SetComponentsToInheritVisibility(), SetControlContext(), SetCornerAndSize(), SetExtent(), SetExtentToWholeScreen(), SetFocus(), SetFocusing(), SetFontProviderL(), SetGc(), SetGloballyCapturing(), SetHitTest(), SetMaximumWidth(), SetMopParent(), SetNonFocusing(), SetObserver(), SetPointerCapture(), SetPosition(), SetRect(), SetSize(), SetSizeWithoutNotification(), SetUniqueHandle(), SetZoomFactorL(), Size(), SystemGc(), TZoomType, TextDrawer(), UniqueHandle(), Window(), ZoomWithType(), iCoeEnv, iContext, iPosition, iSize

    Inherited from CEikBorderedControl:
    Draw(), PositionChanged(), WriteInternalStateL(), iBorder

    Inherited from CEikDialog:
    ActivateFirstPageL(), ActivateL(), ActivePageId(), ActivePageIndex(), AddCommandListL(), AddTabL(), AdjustAllIdsOnPage(), Border(), CEikDialog_Reserved_3(), CEikDialog_Reserved_4(), CEikDialog_Reserved_5(), CEikDialog_Reserved_6(), ComponentControl(), ConstructFromResourceL(), ConstructSleepingAlertDialogL(), ConstructSleepingDialogL(), Control(), ControlCaption(), ControlOrNull(), CountComponentControls(), CreateCustomControlL(), CreateLineByTypeL(), CurrentLine(), DeleteCommandListL(), DeleteLine(), DisableTitlePointerEvents(), DynInitOrDeleteCommandL(), EAllPersistence, ELandscapePersistence, ENoPersistence, EPortraitPersistence, ESoftkeyStyleSmallPersistence, ExecuteLD(), ExitSleepingDialog(), FindCompatibleUiConfig(), FindLineIndex(), FocusChanged(), GetColorUseListL(), GetHelpContext(), HandleAttemptDimmedSelectionL(), HandleCommandL(), HandleControlArrayEventL(), HandleControlEventL(), HandleControlStateChangeL(), HandleInteractionRefused(), HandlePointerBufferReadyL(), HandlePointerEventL(), HandleResourceChange(), HandleUiConfigChangedL(), HasBorder(), IdOfFocusControl(), InputCapabilities(), InsertLineL(), IsCommandListActive(), Layout(), Line(), LineChangedL(), MakeLineVisible(), MakeVisible(), MakeWholeLineVisible(), MapCommandHandler(), MinimumSize(), MopSupplyObject(), OfferKeyEventL(), OkToExitL(), PageChangedL(), Persistence(), PostLayoutDynInitL(), PreLayoutDynInitL(), PreferredSize(), PrepareForFocusGainL(), PrepareForFocusLossL(), PrepareForFocusTransitionL(), PrepareForcedExitL(), PrepareLC(), RequestRelayout(), ResetLineMinimumSizes(), RotateFocusByL(), RouseSleepingDialog(), SetActivePageL(), SetAdjacent(), SetBorder(), SetCategoryModelAsCommandsL(), SetContainerWindowL(), SetControlCaptionL(), SetDimmed(), SetHelpContext(), SetInitialCurrentLine(), SetLayoutManagerL(), SetLineDimmedNow(), SetLineNonFocusing(), SetNeighbor(), SetPageDensePacking(), SetPageDimmedNow(), SetParent(), SetPersistence(), SetSizeAndPosition(), SetTextBaselineSpacing(), SetTitleL(), SetTitleLeftImageL(), SizeChanged(), SwapCommandListL(), SwitchLineLatency(), TPersistenceFlag, TextBaselineOffset(), Title(), TryChangeFocusToL(), TryExitL(), operator class MQikCommandListOwner &(), operator class MQikCommandListOwner *(), operator const class MQikCommandListOwner &(), operator const class MQikCommandListOwner *()

    Inherited from MCoeControlObserver:
    EEventInteractionRefused, EEventPrepareFocusTransition, EEventRequestCancel, EEventRequestExit, EEventRequestFocus, EEventStateChanged, MCoeControlObserver_Reserved1(), MCoeControlObserver_Reserved2(), TCoeEvent

    Inherited from MEikBorderedControl:
    ETypeId, anonymous

    Inherited from MObjectProvider:
    MObjectProvider_Reserved1(), MObjectProvider_Reserved2(), MopGetObject(), MopGetObjectNoChaining()


    Member functions


    RunLD()

    static IMPORT_C TBool RunLD(TDataType aType, const TDesC &aValue);

    Description

    Launch the dialog and return only when the dialog has closed The dialog will be automatically deleted when this function returns This is termed a waiting, one-shot dialog.

    Parameters

    TDataType aType

    To separate phone fields from email fields (TDataType)

    const TDesC &aValue

    The data to save in the field

    Return value

    TBool

    the Id of the command that closed the dialog


    HandleContactsAppModelChangeL()

    virtual void HandleContactsAppModelChangeL(TContactsEventTypeMultiple aType, const RArray< TInt > &aAffectedIndices);

    Description

    From MContactsAppModelObserver, takes care of changes in the model and updates the listbox.

    Parameters

    TContactsEventTypeMultiple aType

    const RArray< TInt > &aAffectedIndices


    HandleContactsAppModelChangeL()

    virtual void HandleContactsAppModelChangeL(TContactsEventTypeSingle aType, TInt aAffectedIndex);

    Description

    Parameters

    TContactsEventTypeSingle aType

    TInt aAffectedIndex

    [Top]


    Member enumerations


    Enum TDataType

    TDataType

    Description

    Enum used to separate the phone fields from the email fields

    EPhone

    Phone field type

    EEmail

    Email field type