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

  • CPbkMemoryEntryAddItemDlg

Constructor & Destructor Documentation

CPbkMemoryEntryAddItemDlg()

IMPORT_CCPbkMemoryEntryAddItemDlg()

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,
TIntaCbaResource
)

Run the dialog and return selected field info.

Parameters

CArrayPtrFlat< CPbkFieldInfo > & aFieldInfosAn array of field info objects to select from.
TInt aCbaResourceCba buttons to use with the dialog.

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

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

Run the dialog and return selected field info.

Parameters

CArrayPtr< CPbkFieldInfo > & aFieldInfosAn array of field info objects to select from.
TInt aCbaResourceCba buttons to use with the dialog.
const TDesC & aTitleTextText 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 > & aFieldInfosAn array of field info objects to select from.

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

voidPrepareLC(CArrayPtr< CPbkFieldInfo > &aFieldInfos,
TIntaCbaResource,
const TDesC &aTitle
)[protected]

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

Parameters

CArrayPtr< CPbkFieldInfo > & aFieldInfosAn array of field info objects to select from.
TInt aCbaResourceCba buttons to use with the dialog
const TDesC & aTitleText to put into popup list's title

Reserved_1()

IMPORT_C voidReserved_1()[private, virtual]

Reserved_2()

IMPORT_C voidReserved_2()[private, virtual]

ResetWhenDestroyed(CPbkMemoryEntryAddItemDlg **)

IMPORT_C voidResetWhenDestroyed(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()

voidSortFieldInfoArray()

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]