CPbkMemoryEntryAddItemDlg Class Reference

class CPbkMemoryEntryAddItemDlg : public CBase

Field type selection dialog for Phonebook's Create New- and Edit Memory entry-functions. Also used externally for Create New Entry- and Add to Existing Entry-services.

Inherits from

Constructor & Destructor Documentation

CPbkMemoryEntryAddItemDlg()

IMPORT_C CPbkMemoryEntryAddItemDlg ( )

Constructor.

~CPbkMemoryEntryAddItemDlg()

IMPORT_C ~CPbkMemoryEntryAddItemDlg ( )

Destructor. Also cancels and dismisses this popup list, in other words makes ExecuteLD return just like cancel was pressed.

Member Functions Documentation

ExecuteLD(CArrayPtrFlat< CPbkFieldInfo > &, TInt)

IMPORT_C CPbkFieldInfo * ExecuteLD ( CArrayPtrFlat < CPbkFieldInfo > & aFieldInfos,
TInt aCbaResource
)

Run the dialog and return selected field info.

Parameters

CArrayPtrFlat < CPbkFieldInfo > & aFieldInfos An array of field info objects to select from.
TInt aCbaResource Cba buttons to use with the dialog.

ExecuteLD(CArrayPtr< CPbkFieldInfo > &, TInt, const TDesC &)

IMPORT_C CPbkFieldInfo * ExecuteLD ( CArrayPtr < CPbkFieldInfo > & aFieldInfos,
TInt aCbaResource,
const TDesC & aTitleText
)

Run the dialog and return selected field info.

Parameters

CArrayPtr < CPbkFieldInfo > & aFieldInfos An array of field info objects to select from.
TInt aCbaResource Cba buttons to use with the dialog.
const TDesC & aTitleText Text to put into popup list's title. No title pane if aTitleText is empty.

ExecuteLD(CArrayPtr< CPbkFieldInfo > &)

IMPORT_C CPbkFieldInfo * ExecuteLD ( CArrayPtr < CPbkFieldInfo > & aFieldInfos ) [virtual]

Basic ExecuteLD for derived classes to override.

Parameters

CArrayPtr < CPbkFieldInfo > & aFieldInfos An array of field info objects to select from.

PrepareLC(CArrayPtr< CPbkFieldInfo > &, TInt, const TDesC &)

void PrepareLC ( CArrayPtr < CPbkFieldInfo > & aFieldInfos,
TInt aCbaResource,
const TDesC & aTitle
) [protected]

Creates list items, sets Cba and title. Executed before RunLD. First part of ExecuteLD.

Parameters

CArrayPtr < CPbkFieldInfo > & aFieldInfos An array of field info objects to select from.
TInt aCbaResource Cba buttons to use with the dialog
const TDesC & aTitle Text to put into popup list's title

Reserved_1()

IMPORT_C void Reserved_1 ( ) [private, virtual]

Reserved_2()

IMPORT_C void Reserved_2 ( ) [private, virtual]

ResetWhenDestroyed(CPbkMemoryEntryAddItemDlg **)

IMPORT_C void ResetWhenDestroyed ( CPbkMemoryEntryAddItemDlg ** aSelfPtr )

Sets *aSelfPtr to NULL when this dialog is destroyed. !aSelfPtr || *aSelfPtr==this

Parameters

CPbkMemoryEntryAddItemDlg ** aSelfPtr

RunLD()

CPbkFieldInfo * RunLD ( ) [protected]

Execute the initialized dialog. Second part of ExecuteLD.

SortFieldInfoArray()

void SortFieldInfoArray ( )

Member Data Documentation

TBool * iDestroyedPtr

TBool * iDestroyedPtr [private]

CEikFormattedCellListBox * iListBox

CEikFormattedCellListBox * iListBox [private]

CAknPopupList * iPopupList

CAknPopupList * iPopupList [private]

CPbkMemoryEntryAddItemDlg ** iSelfPtr

CPbkMemoryEntryAddItemDlg ** iSelfPtr [private]

TBool iSortFieldInfos

TBool iSortFieldInfos [private]