CPbkMemoryEntryAddItemDlg Class Reference

#include <app/CPbkMemoryEntryAddItemDlg.h>

class CPbkMemoryEntryAddItemDlg : public CBase

Inherits from

  • CPbkMemoryEntryAddItemDlg

    Detailed Description

    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.

    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 Function Documentation

    ExecuteLD ( CArrayPtrFlat< CPbkFieldInfo > &, TInt )

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

    Run the dialog and return selected field info.

    ParameterDescription
    aFieldInfosAn array of field info objects to select from.
    aCbaResourceCba buttons to use with the dialog.

    Returns: Pointer to a field info in aFieldInfos or NULL if canceled.

    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.

    ParameterDescription
    aFieldInfosAn array of field info objects to select from.
    aCbaResourceCba buttons to use with the dialog.
    aTitleTextText to put into popup list's title. No title pane if aTitleText is empty.

    Returns: Pointer to a field info in aFieldInfos or NULL if canceled.

    ExecuteLD ( CArrayPtr< CPbkFieldInfo > & )

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

    Basic ExecuteLD for derived classes to override.

    ParameterDescription
    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.

    ParameterDescription
    aFieldInfosAn array of field info objects to select from.
    aCbaResourceCba buttons to use with the dialog
    aTitleText to put into popup list's title

    ResetWhenDestroyed ( CPbkMemoryEntryAddItemDlg ** )

    IMPORT_C voidResetWhenDestroyed(CPbkMemoryEntryAddItemDlg **aSelfPtr)

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

    RunLD ( )

    CPbkFieldInfo *RunLD()[protected]

    Execute the initialized dialog. Second part of ExecuteLD.

    Returns: Pointer to a field info

    SortFieldInfoArray ( )

    voidSortFieldInfoArray()