CSpdiaControl Class Reference

class CSpdiaControl : public CCoeControl

Inherits from

Public Member Functions
~CSpdiaControl()
IMPORT_C voidApplyCellSpdiaPaneStyleL(CAknGrid &, TSize &)
IMPORT_C TBoolAssignDialIndexL(TInt)
IMPORT_C TBoolAssignDialNumberL(TInt, CEikStatusPane *)
IMPORT_C TBoolAssignNumberL(TInt, CEikStatusPane *, CCoeControl *, TBool)
IMPORT_C voidCancel()
IMPORT_C TBoolCheckingIfPopUpNeeded()
IMPORT_C TContactItemIdContactId(TInt)
IMPORT_C HBufC *ContactTitleL(TContactItemId, TBool)
TBool CreateDataL(const CAknGrid &)
IMPORT_C TBoolCreateGridDataL(CAknGrid *, TBool)
IMPORT_C voidDeleteIconArray()
IMPORT_C TBoolDialNumberL(TInt, TDes &, CEikStatusPane *)
IMPORT_C voidDrawShadow(CWindowGc &, const TSize &)
voidDrawShadow(CWindowGc &)
IMPORT_C TIntExecuteLD(TContactItemId, TInt)
IMPORT_C TIntGetSpdCtrlLastError()
IMPORT_C CArrayPtr< CGulIcon > *IconArray()
IMPORT_C TIntIconIndex(TInt)
IMPORT_C TIntIndex(TInt)
IMPORT_C CSpdiaControl *NewL()
IMPORT_C CSpdiaControl *NewL(CPbkContactEngine &)
IMPORT_C TIntNumber(TInt)
IMPORT_C TIntNumberType(TInt)
IMPORT_C CPbkContactEngine *PbkEngine()
IMPORT_C const TDesC &PhoneDialNumber(TInt)
IMPORT_C const TDesC &PhoneNumber(TInt)
IMPORT_C voidReloadIconArray()
IMPORT_C TBoolRemoveDialIndexL(TInt, TBool)
IMPORT_C voidSetLayout(const TRect &)
IMPORT_C TIntSize()
IMPORT_C TIntSpdIconIndex(TInt)
IMPORT_C TIntThumbIndex(TInt)
IMPORT_C TIntVMBoxPosition()
IMPORT_C TBoolVoiceMailL(TDes &)
IMPORT_C TIntVoiceMailType()
Private Member Functions
CSpdiaControl()
CSpdiaControl(CPbkContactEngine *)
voidAppendTextL(const TSpdiaIndexData &, TPtr &)
voidAppendThumbnail(const TSpdiaIndexData &, TPtr &, TBool)
voidAssignDialL(TContactItemId, TInt, TInt)
voidChangeIndexDataL(TInt, const TSpdiaIndexData &)
TBool CheckSpaceBelowCriticalLevelL()
TBool CheckingIfPopUpNeededL()
voidConstructL()
TInt ConvThumbType(const TSize &)
TBool CreateIndexIconL(TInt, TSpdiaIndexData &, TBool)
HBufC *CreateItemDescriptorLC(const TSpdiaIndexData &)
voidDraw(const TRect &)
TPbkContactItemField *FindFieldL(CPbkContactItem &, TPbkFieldId)
TInt FindIconIndex(TInt)
TSize GetThumbnailSize()
voidHandleDatabaseEventL(TContactDbObserverEvent)
TInt HasOperation(const MPbkThumbnailOperation &)
TInt IconPositionL(const CPbkContactItem &, TInt, TInt &)
voidInitIndexDataL()
voidInitializeArray()
HBufC *ItemDescriptorLC(TInt, const TSpdiaIndexData &)
TTypeUid::Ptr MopSupplyObject(TTypeUid)
voidPbkThumbnailGetComplete(MPbkThumbnailOperation &, CFbsBitmap *)
voidPbkThumbnailGetCompleteL(MPbkThumbnailOperation &, CFbsBitmap *)
voidPbkThumbnailGetFailed(MPbkThumbnailOperation &, TInt)
voidReloadIconArrayL()
voidResetArray()
voidSetContactId(TInt, TContactItemId)
TInt SetIconArrayL(CArrayPtrFlat< CGulIcon > *)
voidSetIndexDataL(TInt, TSpdiaIndexData &)
voidSetItemDataL(CDesCArray &)
voidSetOperationsL()
voidSizeChanged()
TSize ThumbSize(TInt)
TInt ThumbType(TInt)
TBool UpdateIndexDataL(TInt)
Inherited Functions
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::ComponentControl(TInt)const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ConstructFromResourceL(TResourceReader &)
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CountComponentControls()const
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::FocusChanged(TDrawNow)
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)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::HandlePointerEventL(const TPointerEvent &)
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HandleResourceChange(TInt)
CCoeControl::HasBorder()const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::InputCapabilities()const
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::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::MinimumSize()
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
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::SetAdjacent(TInt)
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::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateL(RWriteStream &)const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
Private Member Enumerations
enumTGridUse { EGridUse, EGridUseAndUpdate, EGridNoUse }
Inherited Enumerations
CCoeControl:TZoomType
Private Attributes
CAknsBasicBackgroundControlContext *iBgContext
TBuf< 254 >iBmpPath
TBool iBooleanVarForAddingDialogVariation
RArray< TAknsItemID > *iDialSkinBmp
CPbkContactEngine *iEngine
TInt iError
TBool iExEngine
TInt iFileOffset
TInt iFocusedGrid
CAknGrid *iGrid
CSpdiaGridDlg *iGridDlg
TGridUse iGridUsed
CArrayPtrFlat< CGulIcon > *iIconArray
RArray< TInt > *iIcons
TInt iIconsCount
RArray< TInt > *iIconsId
TInt iIconsIdCount
RArray< TInt > *iIconsMask
TInt iIconsMaskCount
CPbkThumbnailManager *iManager
CPbkContactChangeNotifier *iPbkNotifier
RPbkViewResourceFile *iPbkResourceFile
CPbkSingleItemFetchDlg *iPbkSingleItem
TBool iPopupDialog
CAknQueryDialog *iQueryDialog
TBuf< 254 >iRscPath
CAknQueryDialog *iSaveChangesDialog
TBool iSaveDlg
CArrayFixFlat< TSpdiaIndexData > *iSdmArray
TInt iSdmCount
CArrayFixFlat< TAknLayoutRect > *iShadowLayout
RArray< TAknsItemID > *iSkinIcons
CPAlbImageFactory *iThumbFactory
TInt iType
TAknLayoutRect icellLayout
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize

Constructor & Destructor Documentation

CSpdiaControl()

CSpdiaControl()[private]

C++ default constructor.

CSpdiaControl(CPbkContactEngine *)

CSpdiaControl(CPbkContactEngine *aPbkEngine)[private]

C++ constructor.

Parameters

CPbkContactEngine * aPbkEngine

~CSpdiaControl()

IMPORT_C~CSpdiaControl()[virtual]

Destructor.

Member Functions Documentation

AppendTextL(const TSpdiaIndexData &, TPtr &)

voidAppendTextL(const TSpdiaIndexData &aSdmData,
TPtr &aText
)[private]

A descriptor is added to a text.

Parameters

const TSpdiaIndexData & aSdmDatareference to the data currently used.
TPtr & aTextthe text for storing

AppendThumbnail(const TSpdiaIndexData &, TPtr &, TBool)

voidAppendThumbnail(const TSpdiaIndexData &aSdmData,
TPtr &aText,
TBoolaFixedLocation
)[private]

The descriptor for thumbnail is added.

Parameters

const TSpdiaIndexData & aSdmDatareference to the data currently used.
TPtr & aText
TBool aFixedLocation

ApplyCellSpdiaPaneStyleL(CAknGrid &, TSize &)

IMPORT_C voidApplyCellSpdiaPaneStyleL(CAknGrid &aListBox,
TSize &aSize
)

Parameters

CAknGrid & aListBox
TSize & aSize

AssignDialIndexL(TInt)

IMPORT_C TBoolAssignDialIndexL(TIntaIndex)

Assigns the index data at the index in the phone book's contact entry.

Parameters

TInt aIndexa index of array.

AssignDialL(TContactItemId, TInt, TInt)

voidAssignDialL(TContactItemIdaId,
TIntaFieldIdx,
TIntaDial
)[private]

Assigns the index data at aDial in the phone book's contact entry

Parameters

TContactItemId aId
TInt aFieldIdx
TInt aDial

AssignDialNumberL(TInt, CEikStatusPane *)

IMPORT_C TBoolAssignDialNumberL(TIntaLocation,
CEikStatusPane *aStatusPane = NULL
)

Puts a query on the screen asking for '...Assign it now'. When the user goes through, it will assign speed dial.

Parameters

TInt aLocationa location to assign speed dial.
CEikStatusPane * aStatusPane = NULLnot used. ETrue if success.

AssignNumberL(TInt, CEikStatusPane *, CCoeControl *, TBool)

IMPORT_C TBoolAssignNumberL(TIntaIndex,
CEikStatusPane *aStatusPane,
CCoeControl *aContainer,
TBoolaConfirmation
)

deprecated - do not use

Parameters

TInt aIndex
CEikStatusPane * aStatusPane
CCoeControl * aContainer
TBool aConfirmation

Cancel()

IMPORT_C voidCancel()

Cancels and dismisses this dialog. In other words makes ExecuteLD return just like cancel was pressed. Used when user switches a application and all modal dialogs are closed.

ChangeIndexDataL(TInt, const TSpdiaIndexData &)

voidChangeIndexDataL(TIntaIndex,
const TSpdiaIndexData &aSdmData
)[private]

Speeddial index data is changed by the data of parameters.

Parameters

TInt aIndexa index of array.
const TSpdiaIndexData & aSdmDatareference to the data currently used.

CheckSpaceBelowCriticalLevelL()

TBool CheckSpaceBelowCriticalLevelL()[private]

Checks if the Flash File System storage will fall below Critical Level. Warning will be displayed if sotrage is below Critical Level.

CheckingIfPopUpNeeded()

IMPORT_C TBoolCheckingIfPopUpNeeded()

Internal rutine to check if pop up has to be shown to enable the One-Key-Dialling setting.

CheckingIfPopUpNeededL()

TBool CheckingIfPopUpNeededL()[private]

Internal rutine to check if pop up has to be shown to enable the One-Key-Dialling setting.

ConstructL()

voidConstructL()[private]

Constructor

ContactId(TInt)

IMPORT_C TContactItemIdContactId(TIntaIndex)const

Returns the phone book contact item's id.

Parameters

TInt aIndexa index of array.

ContactTitleL(TContactItemId, TBool)

IMPORT_C HBufC *ContactTitleL(TContactItemIdaCid,
TBoolaUnnamed
)

Gets a title text from contact item's id. Note: calls CPbkContactItem::GetContactTitleOrNullL() or CPbkContactEngine::UnnamedTitle()

Parameters

TContactItemId aCidcontact item's id
TBool aUnnamedif title is empty, unname or NULL.

ConvThumbType(const TSize &)

TInt ConvThumbType(const TSize &aSize)const [private]

Returns the type from a size of thumbnail.

Parameters

const TSize & aSizea thumbnail size

CreateDataL(const CAknGrid &)

TBool CreateDataL(const CAknGrid &aGrid)

Creates a grid itemArray. Note: It calls, when using a grid except SDM.

Parameters

const CAknGrid & aGridthe grid to set up

CreateGridDataL(CAknGrid *, TBool)

IMPORT_C TBoolCreateGridDataL(CAknGrid *aGrid,
TBoolaIndex
)

Icons, thumbnails and text array for the grid are created. Note: If a aIndex parameter is set, only the data of the value will be set up. Note: CreateDataL() is used if App to be used is except SD.

Parameters

CAknGrid * aGridthe grid to set up
TBool aIndex(TInt) if <-1, All values are set up.

CreateIndexIconL(TInt, TSpdiaIndexData &, TBool)

TBool CreateIndexIconL(TIntaIndex,
TSpdiaIndexData &aSdmData,
TBoolaSetUpdateThumb
)[private]

Creates icon data for SDM control data by the data of parameters.

Parameters

TInt aIndexa index of array.
TSpdiaIndexData & aSdmDatareference to the data currently used.
TBool aSetUpdateThumbthumbnail load start parameter set in index data

CreateItemDescriptorLC(const TSpdiaIndexData &)

HBufC *CreateItemDescriptorLC(const TSpdiaIndexData &aSdmData)[private]

Creates Item's descriptor for Grid.

Parameters

const TSpdiaIndexData & aSdmDatareference to the data currently used. a buffer containing the descriptor text.

DeleteIconArray()

IMPORT_C voidDeleteIconArray()

Build ver 2.6 . Deletes the old icon array.

DialNumberL(TInt, TDes &, CEikStatusPane *)

IMPORT_C TBoolDialNumberL(TIntaLocation,
TDes &aPhoneNumber,
CEikStatusPane *aStatusPane = NULL
)

The assigned number of the location is obtained. Note: Voice mail number will be returned if the location is the position of Voice mail. Note: If the location is empty, required dialog will be displayed and a location will be assigned.

Parameters

TInt aLocationa location of speed dial.
TDes & aPhoneNumber
CEikStatusPane * aStatusPane = NULLnot used.

Draw(const TRect &)

voidDraw(const TRect &aRect)const [private, virtual]

Draw this control

Parameters

const TRect & aRect

DrawShadow(CWindowGc &, const TSize &)

IMPORT_C voidDrawShadow(CWindowGc &aGc,
const TSize &aSize
)

Parameters

CWindowGc & aGc
const TSize & aSize

DrawShadow(CWindowGc &)

voidDrawShadow(CWindowGc &aGc)const

Thumbnail's shadow is drawn.

Parameters

CWindowGc & aGcwindow gc

ExecuteLD(TContactItemId, TInt)

IMPORT_C TIntExecuteLD(TContactItemIdaId,
TIntaFieldIdx
)

Runs the Speed Dial Selection Grid Dialog. If accepted sets speed dial key to aItem's aFieldId. Note: Calls CPbkContactEngine::SetFieldAsSpeedDialL(). If necessary, calls CPbkContactEngine::RemoveSpeedDialFieldL().

Parameters

TContactItemId aIda contact item id. (Don't open)
TInt aFieldIdx

FindFieldL(CPbkContactItem &, TPbkFieldId)

TPbkContactItemField *FindFieldL(CPbkContactItem &aItem,
TPbkFieldIdaFieldId
)[private]

Searches contact item's fiels of this contact for a match.

Parameters

CPbkContactItem & aItemcontact item to search.
TPbkFieldId aFieldIdfield id to search.

FindIconIndex(TInt)

TInt FindIconIndex(TIntaId)const [private]

Searches icon of grid array for a match.

Parameters

TInt aIdphone book icon id to match to.

GetSpdCtrlLastError()

IMPORT_C TIntGetSpdCtrlLastError()

Returns last error.

GetThumbnailSize()

TSize GetThumbnailSize()[private]

Gets actual size of thumbnial to be drawn.

HandleDatabaseEventL(TContactDbObserverEvent)

voidHandleDatabaseEventL(TContactDbObserverEventaEvent)[private]

From MContactDbObserver, Handles an event of type aEventType.

Parameters

TContactDbObserverEvent aEvent

HasOperation(const MPbkThumbnailOperation &)

TInt HasOperation(const MPbkThumbnailOperation &aOperation)[private]

Does it have a thumbnail operation object to match?

Parameters

const MPbkThumbnailOperation & aOperationa thumbnail operation object to match to.

IconArray()

IMPORT_C CArrayPtr< CGulIcon > *IconArray()const

Returns the array of icons

IconIndex(TInt)

IMPORT_C TIntIconIndex(TIntaIndex)const

Returns the icon index of a grid array.

Parameters

TInt aIndexa index of array.

IconPositionL(const CPbkContactItem &, TInt, TInt &)

TInt IconPositionL(const CPbkContactItem &aItem,
TIntaDial,
TInt &aFieldId
)[private]

The position on the array that a grid uses from an item and a phone number is returned.

Parameters

const CPbkContactItem & aItemcontacd item
TInt aDialphone number
TInt & aFieldId

Index(TInt)

IMPORT_C TIntIndex(TIntaDial)const

The value converted into the index of an array from the location of speeddial is returned.

Parameters

TInt aDiala location of speed dial.

InitIndexDataL()

voidInitIndexDataL()[private]

Index data are initialized.

InitializeArray()

voidInitializeArray()[private]

ItemDescriptorLC(TInt, const TSpdiaIndexData &)

HBufC *ItemDescriptorLC(TIntaIndex,
const TSpdiaIndexData &aSdmData
)[private]

Gets Item's descriptor for Grid.

Parameters

TInt aIndexa index of array.
const TSpdiaIndexData & aSdmDatareference to the data currently used.

MopSupplyObject(TTypeUid)

TTypeUid::Ptr MopSupplyObject(TTypeUidaId)[private]

Passes skin information when needed.

Parameters

TTypeUid aId

NewL()

IMPORT_C CSpdiaControl *NewL()[static]

Creates a new instace of this class.

NewL(CPbkContactEngine &)

IMPORT_C CSpdiaControl *NewL(CPbkContactEngine &aPbkEngine)[static]

Creates a new instace of this class.

Parameters

CPbkContactEngine & aPbkEnginereference of CPbkContactEngine.

Number(TInt)

IMPORT_C TIntNumber(TIntaIndex)const

The value converted into the the location of speeddial from index of an array is returned.

Parameters

TInt aIndexa index of array.

NumberType(TInt)

IMPORT_C TIntNumberType(TIntaIndex)const

Returns type of the phone number.

Parameters

TInt aIndex

PbkEngine()

IMPORT_C CPbkContactEngine *PbkEngine()const

Returns the owned Phone Book Engine.

PbkThumbnailGetComplete(MPbkThumbnailOperation &, CFbsBitmap *)

voidPbkThumbnailGetComplete(MPbkThumbnailOperation &aOperation,
CFbsBitmap *aBitmap
)[private]

Called when thumbnail loading is completed.

Parameters

MPbkThumbnailOperation & aOperationthe completed operation.
CFbsBitmap * aBitmapThe loaded bitmap. Callee is responsible of the bitmap.

PbkThumbnailGetCompleteL(MPbkThumbnailOperation &, CFbsBitmap *)

voidPbkThumbnailGetCompleteL(MPbkThumbnailOperation &aOperation,
CFbsBitmap *aBitmap
)[private]

Called when thumbnail loading is completed.

Parameters

MPbkThumbnailOperation & aOperationthe completed operation.
CFbsBitmap * aBitmapThe loaded bitmap. Callee is responsible of the bitmap.

PbkThumbnailGetFailed(MPbkThumbnailOperation &, TInt)

voidPbkThumbnailGetFailed(MPbkThumbnailOperation &aOperation,
TIntaError
)[private]

Called if the thumbnail loading fails.

Parameters

MPbkThumbnailOperation & aOperationthe failed operation.
TInt aErrorerror code of the failure.

PhoneDialNumber(TInt)

IMPORT_C const TDesC &PhoneDialNumber(TIntaDial)const

Returns the phone number of a speed dial contact. Note: A character invalid as a phone number is removed.

Parameters

TInt aDiala location of speeddial.

PhoneNumber(TInt)

IMPORT_C const TDesC &PhoneNumber(TIntaIndex)const

Returns the phone number of a speed dial contact. Note: left and right spaces are removed.

Parameters

TInt aIndexa index of array.

ReloadIconArray()

IMPORT_C voidReloadIconArray()

Build ver 2.6 . Reloads the new skin icons

ReloadIconArrayL()

voidReloadIconArrayL()[private]

Build ver 2.6 . Reloads the new skin icons

RemoveDialIndexL(TInt, TBool)

IMPORT_C TBoolRemoveDialIndexL(TIntaIndex,
TBoolaConfirmation = ETrue
)

Removes a speed dial from the phone book's contact entry.

Parameters

TInt aIndexa index of array.
TBool aConfirmation = ETruewhen remove, confirm is displayed. ETrue if success

ResetArray()

voidResetArray()[private]

A text array that a grid has is erased.

SetContactId(TInt, TContactItemId)

voidSetContactId(TIntaIndex,
TContactItemIdaCid
)[private]

Set phonebook contact itmes'id.

Parameters

TInt aIndexa index of array.
TContactItemId aCidphone book contact item's id.

SetIconArrayL(CArrayPtrFlat< CGulIcon > *)

TInt SetIconArrayL(CArrayPtrFlat< CGulIcon > *aArray)[private]

An icon array is created and set.

if need loadthumbL ETrue

Parameters

CArrayPtrFlat< CGulIcon > * aArray

SetIndexDataL(TInt, TSpdiaIndexData &)

voidSetIndexDataL(TIntaIndex,
TSpdiaIndexData &aSdmData
)[private]

Speeddial index data is set by the data of parameters.

Parameters

TInt aIndexa index of array.
TSpdiaIndexData & aSdmDatareference to the data currently used.

SetItemDataL(CDesCArray &)

voidSetItemDataL(CDesCArray &aArray)[private]

The data of items are added to an array.

Parameters

CDesCArray & aArray

SetLayout(const TRect &)

IMPORT_C voidSetLayout(const TRect &aRect)

The position which a shadow draws is set up.

Parameters

const TRect & aRect

SetOperationsL()

voidSetOperationsL()[private]

Operations to a CPbkThumbnailManager are set. Note: call GetThumbnailAsyncL().

Size()

IMPORT_C TIntSize()const

deprecated - do not use

SizeChanged()

voidSizeChanged()[private, virtual]

Set size for the skin background context.

SpdIconIndex(TInt)

IMPORT_C TIntSpdIconIndex(TIntaIndex)const

Returns the icon index of grid array.

Parameters

TInt aIndex

ThumbIndex(TInt)

IMPORT_C TIntThumbIndex(TIntaIndex)const

Returns the thumbnail index of a grid array.

Parameters

TInt aIndexa index of array.

ThumbSize(TInt)

TSize ThumbSize(TIntaIndex)const [private]

Returns the thumbnail size.

Parameters

TInt aIndexa index of array.

ThumbType(TInt)

TInt ThumbType(TIntaIndex)const [private]

Returns the thumbnail type.

Parameters

TInt aIndexa index of array.

UpdateIndexDataL(TInt)

TBool UpdateIndexDataL(TIntaIndex)[private]

Updates data set to match index of the owned index data array.

Parameters

TInt aIndex

VMBoxPosition()

IMPORT_C TIntVMBoxPosition()const

Returns the position of voice mail box

VoiceMailL(TDes &)

IMPORT_C TBoolVoiceMailL(TDes &aNumber)

The number of voice mail returned, if voice mail is assigned. Note: If the location is empty, required dialog will be displayed and voice mail will be defined.

Parameters

TDes & aNumberreference of phone number. EFalse if user cancel or failed.

VoiceMailType()

IMPORT_C TIntVoiceMailType()

Member Enumerations Documentation

Enum TGridUse

Enumerators

EGridUse
EGridUseAndUpdate
EGridNoUse

Member Data Documentation

CAknsBasicBackgroundControlContext * iBgContext

CAknsBasicBackgroundControlContext *iBgContext[private]

TBuf< 254 > iBmpPath

TBuf< 254 >iBmpPath[private]

TBool iBooleanVarForAddingDialogVariation

TBool iBooleanVarForAddingDialogVariation[private]

RArray< TAknsItemID > * iDialSkinBmp

RArray< TAknsItemID > *iDialSkinBmp[private]

CPbkContactEngine * iEngine

CPbkContactEngine *iEngine[private]

TInt iError

TInt iError[private]

TBool iExEngine

TBool iExEngine[private]

TInt iFileOffset

TInt iFileOffset[private]

TInt iFocusedGrid

TInt iFocusedGrid[private]

CAknGrid * iGrid

CAknGrid *iGrid[private]

CSpdiaGridDlg * iGridDlg

CSpdiaGridDlg *iGridDlg[private]

TGridUse iGridUsed

TGridUse iGridUsed[private]

CArrayPtrFlat< CGulIcon > * iIconArray

CArrayPtrFlat< CGulIcon > *iIconArray[private]

RArray< TInt > * iIcons

RArray< TInt > *iIcons[private]

TInt iIconsCount

TInt iIconsCount[private]

RArray< TInt > * iIconsId

RArray< TInt > *iIconsId[private]

TInt iIconsIdCount

TInt iIconsIdCount[private]

RArray< TInt > * iIconsMask

RArray< TInt > *iIconsMask[private]

TInt iIconsMaskCount

TInt iIconsMaskCount[private]

CPbkThumbnailManager * iManager

CPbkThumbnailManager *iManager[private]

CPbkContactChangeNotifier * iPbkNotifier

CPbkContactChangeNotifier *iPbkNotifier[private]

RPbkViewResourceFile * iPbkResourceFile

RPbkViewResourceFile *iPbkResourceFile[private]

CPbkSingleItemFetchDlg * iPbkSingleItem

CPbkSingleItemFetchDlg *iPbkSingleItem[private]

TBool iPopupDialog

TBool iPopupDialog[private]

CAknQueryDialog * iQueryDialog

CAknQueryDialog *iQueryDialog[private]

TBuf< 254 > iRscPath

TBuf< 254 >iRscPath[private]

CAknQueryDialog * iSaveChangesDialog

CAknQueryDialog *iSaveChangesDialog[private]

TBool iSaveDlg

TBool iSaveDlg[private]

CArrayFixFlat< TSpdiaIndexData > * iSdmArray

CArrayFixFlat< TSpdiaIndexData > *iSdmArray[private]

TInt iSdmCount

TInt iSdmCount[private]

CArrayFixFlat< TAknLayoutRect > * iShadowLayout

CArrayFixFlat< TAknLayoutRect > *iShadowLayout[private]

RArray< TAknsItemID > * iSkinIcons

RArray< TAknsItemID > *iSkinIcons[private]

CPAlbImageFactory * iThumbFactory

CPAlbImageFactory *iThumbFactory[private]

TInt iType

TInt iType[private]

TAknLayoutRect icellLayout

TAknLayoutRect icellLayout[private]