API published in: S60 2nd Ed
Link against: commondialogs.lib
Required Capabilities
None
#include <caknfilenamepromptdialog.h>
Inherits CAknCommonDialogsBase.
Public Member Functions |
|
IMPORT_C | ~CAknFileNamePromptDialog () |
IMPORT_C void | SetPathL (const TDesC &aPath) |
Sets path from which is checked if a file already exists. |
|
IMPORT_C void | SetObserver (MAknFileSelectionObserver *aObserver) |
Sets an observer which is asked if the selected item can be selected. |
|
IMPORT_C void | SetTitleL (const TDesC &aText) |
Sets prompt text (title) for dialog. |
|
IMPORT_C void | SetLeftSoftkeyL (const TDesC &aText) |
Sets the text used for left softkey. |
|
IMPORT_C void | SetRightSoftkeyL (const TDesC &aText) |
Sets the text used for right softkey. |
|
IMPORT_C TBool | ExecuteL (TDes &aFileName) |
Executes the filename prompt dialog. |
|
IMPORT_C TBool | RenameL (TDes &aFileName) |
A method for use this dialog for renaming file. |
|
Static Public Member Functions |
|
static IMPORT_C CAknFileNamePromptDialog * | NewL () |
Static constructor. |
|
static IMPORT_C CAknFileNamePromptDialog * | NewL (TInt aResourceId) |
Static constructor. |
|
static IMPORT_C TBool | RunDlgLD (TDes &aFileName, const TDesC &aPath, MAknFileSelectionObserver *aObserver=NULL) |
A static method for launching a filename prompt dialog. |
|
static IMPORT_C TBool | RunDlgLD (TDes &aFileName, const TDesC &aPath, const TDesC &aTitle, MAknFileSelectionObserver *aObserver=NULL) |
A static method for launching a filename prompt dialog. |
|
static IMPORT_C TBool | RunDlgLD (TDes &aFileName, const TDesC &aPath, TInt aResourceId, MAknFileSelectionObserver *aObserver=NULL) |
A static method for launching a filename prompt dialog. |
|
Protected Attributes |
|
MAknFileSelectionObserver * | iObserver |
HBufC * | iDefaultFileName |
HBufC * | iPath |
HBufC * | iTitle |
HBufC * | iLeftSoftkey |
HBufC * | iRightSoftkey |
|
|
Executes the filename prompt dialog.
|
|
Static constructor.
|
|
Static constructor. Creates Filename Prompt Dialog with default values.
|
|
A method for use this dialog for renaming file.
|
|
A static method for launching a filename prompt dialog. Parameters are described in method RunL |
|
A static method for launching a filename prompt dialog. Parameters are described in method RunL |
|
A static method for launching a filename prompt dialog. Parameters are described in method RunL |
|
Sets the text used for left softkey.
|
|
Sets an observer which is asked if the selected item can be selected.
|
|
Sets path from which is checked if a file already exists.
|
|
Sets the text used for right softkey.
|
|
Sets prompt text (title) for dialog.
|
|
|
|
|
|
|