CPhoneDialerController Class Reference

class CPhoneDialerController : public CBase

Dialer controller, provides toolbar button data for the normal mode dialer

PhoneUIView.lib
Since
S60 v5.0

Inherits from

  • CPhoneDialerController

Nested Classes and Structures

Constructor & Destructor Documentation

CPhoneDialerController(CPhoneBubbleWrapper *, CCoeEnv &)

IMPORT_CCPhoneDialerController(CPhoneBubbleWrapper *aBubbleWrapper,
CCoeEnv &aCoeEnv
)[protected]

Constructor.

Parameters

CPhoneBubbleWrapper * aBubbleWrapper
CCoeEnv & aCoeEnv

~CPhoneDialerController()

IMPORT_C~CPhoneDialerController()[virtual]

Destructor.

Member Functions Documentation

ButtonDimmed(TButtonIndex)

IMPORT_C TBoolButtonDimmed(TButtonIndexaIndex)const

Parameters

TButtonIndex aIndex

ButtonState(TButtonIndex)

IMPORT_C TIntButtonState(TButtonIndexaIndex)const

Parameters

TButtonIndex aIndex

CbaResourceId()

IMPORT_C TIntCbaResourceId()const

ConstructL()

IMPORT_C voidConstructL()[protected]

Symbian 2nd phase constructor.

CreateButtonDataL(const TLocalButtonData &, MAknsSkinInstance *, const TDesC &)

CButtonData *CreateButtonDataL(const TLocalButtonData &aSourceData,
MAknsSkinInstance *aSkin,
const TDesC &aMifFile
)const [protected]

Create button data object from given source data.

Parameters

const TLocalButtonData & aSourceDataDefines, where the data should be loaded.
MAknsSkinInstance * aSkinSkin instance. Ownership not transferred.
const TDesC & aMifFileFull path to the MIF file holding the fallback graphics.

EasyDialingAllowed()

IMPORT_C TBoolEasyDialingAllowed()const

EasyDialingFocused()

TBool EasyDialingFocused()const [protected]

Check if Easy Dialing contact listbox is in focus.

EmergencyCallActive()

TBool EmergencyCallActive()const [protected]

Check is there an emergency call ongoing.

GetButtonData(TButtonIndex, RPointerArray< CButtonData > &)

IMPORT_C TIntGetButtonData(TButtonIndexaIndex,
RPointerArray< CButtonData > &aData
)const

Parameters

TButtonIndex aIndex
RPointerArray< CButtonData > & aData

MenuResourceId()

IMPORT_C TIntMenuResourceId()const

NewL(CPhoneBubbleWrapper *, CCoeEnv &)

CPhoneDialerController *NewL(CPhoneBubbleWrapper *aBubbleWrapper,
CCoeEnv &aCoeEnv
)[static]

Two-phased constructor.

Parameters

CPhoneBubbleWrapper * aBubbleWrapperHandle to bubble wrapper. Ownership not transferred. May be NULL, but then emergency call state can't be identified
CCoeEnv & aCoeEnvHandle to coeenv. Ownership not transferred.

NumberEntryPromptTextL()

IMPORT_C const TDesC &NumberEntryPromptTextL()

SetEasyDialingController(CPhoneEasyDialingController *)

voidSetEasyDialingController(CPhoneEasyDialingController *aController)

Sets handle to the Easy Dialing controller.

Since
S60 v5.2

Parameters

CPhoneEasyDialingController * aControllerEasy Dialing controller. Ownership not transferred.

SetNumberEntryIsEmpty(TBool)

IMPORT_C voidSetNumberEntryIsEmpty(TBoolaEmpty)

Parameters

TBool aEmpty

SetRestrictedDialer(TBool)

voidSetRestrictedDialer(TBoolaRestricted)

Sets state of restricted dialer.

Since
S60 v5.0

Parameters

TBool aRestricted

SetServiceCodeFlag(TPhoneCommandParam *)

voidSetServiceCodeFlag(TPhoneCommandParam *aCommandParam)

Sets state of service code flag.

Since
S60 v5.0

Parameters

TPhoneCommandParam * aCommandParam

Member Data Documentation

CPhoneBubbleWrapper * iBubbleWrapper

CPhoneBubbleWrapper *iBubbleWrapper[protected]

Handle to the Bubblewrapper. May be NULL. Not owned.

CCoeEnv & iCoeEnv

CCoeEnv &iCoeEnv[protected]

CoeEnv

CPhoneEasyDialingController * iEasyDialingController

CPhoneEasyDialingController *iEasyDialingController[protected]

Handle to Easy Dialing controller. May be NULL. Not owned.

TBool iNumberAvailable

TBool iNumberAvailable[protected]

Store availability of phone number (etc) in the number entry.

TBool iRestrictedDialer

TBool iRestrictedDialer[protected]

Used to check is the Dialer in the restricted mode.

TBool iServiceCodeFlag

TBool iServiceCodeFlag[protected]

Used to check is the service code flag set, meaning that number entry contains a service code rather than phone number.