API published in: S60 1st Ed
API deprecated in: S60 3rd Ed FP 2
Link against: spdctrl.lib
Required Capabilities
None
#include <spdiacontrol.h>
Inherits MPbkContactDbObserver, and MPbkThumbnailGetObserver.
Public Member Functions |
|
IMPORT_C TBool | AssignDialNumberL (TInt aLocation, CEikStatusPane *aStatusPane=NULL) |
Puts a query on the screen asking for '. |
|
IMPORT_C TInt | ExecuteLD (TContactItemId aId, TInt aFieldIdx) |
Runs the Speed Dial Selection Grid Dialog. |
|
IMPORT_C void | Cancel () |
Cancels and dismisses this dialog. |
|
IMPORT_C TBool | DialNumberL (TInt aLocation, TDes &aPhoneNumber, CEikStatusPane *aStatusPane=NULL) |
The assigned number of the location is obtained. |
|
virtual IMPORT_C | ~CSpdiaControl () |
Destructor. |
|
IMPORT_C TBool | VoiceMailL (TDes &aNumber) |
The number of voice mail returned, if voice mail is assigned. |
|
IMPORT_C CPbkContactEngine * | PbkEngine () const |
Returns the owned Phone Book Engine. |
|
IMPORT_C TInt | Index (TInt aDial) const |
The value converted into the index of an array from the location of speeddial is returned. |
|
IMPORT_C TInt | Number (TInt aIndex) const |
The value converted into the the location of speeddial from index of an array is returned. |
|
IMPORT_C TContactItemId | ContactId (TInt aIndex) const |
Returns the phone book contact item's id. |
|
IMPORT_C const TDesC & | PhoneDialNumber (TInt aDial) const |
Returns the phone number of a speed dial contact. |
|
IMPORT_C const TDesC & | PhoneNumber (TInt aIndex) const |
Returns the phone number of a speed dial contact. |
|
IMPORT_C HBufC * | ContactTitleL (TContactItemId aCid, TBool aUnnamed) |
Gets a title text from contact item's id. |
|
IMPORT_C TInt | IconIndex (TInt aIndex) const |
Returns the icon index of a grid array. |
|
IMPORT_C TInt | ThumbIndex (TInt aIndex) const |
Returns the thumbnail index of a grid array. |
|
IMPORT_C CArrayPtr< CGulIcon > * | IconArray () const |
Returns the array of icons. |
|
IMPORT_C TBool | CreateGridDataL (CAknGrid *aGrid, TBool aIndex) |
Icons, thumbnails and text array for the grid are created. |
|
IMPORT_C TBool | AssignDialIndexL (TInt aIndex) |
Assigns the index data at the index in the phone book's contact entry. |
|
IMPORT_C TBool | RemoveDialIndexL (TInt aIndex, TBool aConfirmation=ETrue) |
Removes a speed dial from the phone book's contact entry. |
|
IMPORT_C TBool | AssignNumberL (TInt aIndex, CEikStatusPane *aStatusPane, CCoeControl *aContainer, TBool aConfirmation) |
deprecated - do not use |
|
IMPORT_C void | ApplyCellSpdiaPaneStyleL (CAknGrid &aListBox, TSize &aSize) |
IMPORT_C void | DrawShadow (CWindowGc &aGc, const TSize &aSize) |
IMPORT_C void | SetLayout (const TRect &aRect) |
The position which a shadow draws is set up. |
|
IMPORT_C TInt | Size () const |
deprecated - do not use |
|
IMPORT_C TInt | VMBoxPosition () const |
Returns the position of voice mail box. |
|
IMPORT_C TInt | SpdIconIndex (TInt aIndex) const |
Returns the icon index of grid array. |
|
IMPORT_C TInt | NumberType (TInt aIndex) const |
Returns type of the phone number. |
|
IMPORT_C void | DeleteIconArray () |
Build ver 2.6 . |
|
IMPORT_C void | ReloadIconArray () |
Build ver 2.6 . |
|
IMPORT_C TInt | VoiceMailType () |
IMPORT_C TInt | GetSpdCtrlLastError () |
Returns last error. |
|
IMPORT_C TBool | CheckingIfPopUpNeeded () |
Internal rutine to check if pop up has to be shown to enable the One-Key-Dialling setting. |
|
TBool | CreateDataL (const CAknGrid &aGrid) |
Creates a grid itemArray. |
|
TBool | ConfirmationNumberL (TInt aIndex, TInt aId, TInt aPromptId) |
Display confirmation dialog from id's. |
|
void | DrawShadow (CWindowGc &aGc) const |
Thumbnail's shadow is drawn. |
|
Static Public Member Functions |
|
static IMPORT_C CSpdiaControl * | NewL () |
Creates a new instace of this class. |
|
static IMPORT_C CSpdiaControl * | NewL (CPbkContactEngine &aPbkEngine) |
Creates a new instace of this class. |
|
Destructor. |
|
|
Assigns the index data at the index in the phone book's contact entry.
|
|
Puts a query on the screen asking for '. ..Assign it now'. When the user goes through, it will assign speed dial.
|
|
deprecated - do not use |
|
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. |
|
Internal rutine to check if pop up has to be shown to enable the One-Key-Dialling setting.
|
|
Display confirmation dialog from id's.
|
|
Returns the phone book contact item's id.
|
|
Gets a title text from contact item's id. Note: calls CPbkContactItem::GetContactTitleOrNullL() or CPbkContactEngine::UnnamedTitle()
|
|
Creates a grid itemArray. Note: It calls, when using a grid except SDM.
|
|
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.
|
|
Build ver 2.6 . Deletes the old icon array. |
|
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.
|
|
Thumbnail's shadow is drawn.
|
|
|
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().
|
|
Returns last error. |
|
Returns the array of icons. |
|
Returns the icon index of a grid array.
|
|
The value converted into the index of an array from the location of speeddial is returned.
|
|
Creates a new instace of this class.
|
|
Creates a new instace of this class. |
|
The value converted into the the location of speeddial from index of an array is returned.
|
|
Returns type of the phone number. |
|
Returns the owned Phone Book Engine. |
|
Returns the phone number of a speed dial contact. Note: A character invalid as a phone number is removed.
|
|
Returns the phone number of a speed dial contact. Note: left and right spaces are removed.
|
|
Build ver 2.6 . Reloads the new skin icons |
|
Removes a speed dial from the phone book's contact entry.
|
|
The position which a shadow draws is set up.
|
|
deprecated - do not use |
|
Returns the icon index of grid array. |
|
Returns the thumbnail index of a grid array.
|
|
Returns the position of voice mail box. |
|
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.
|
|