class CNotepadListDialog : public CNotepadDialogBase |
Dialog of list mode. CNotepadListDialog is a dialog for both list of memos and list of templates.
NpdLib.lib CNotepadDialogBase
Public Member Functions | |
---|---|
~CNotepadListDialog() | |
void | ClearSaveOrMarkedListItemsL(TBool) |
IMPORT_C void | EditByKeyL(const TInt) |
void | EditorDeleted() |
void | HandleEditorExitL(TInt, const TInt, const TBool) |
void | HandleListBoxPointerEventL(TNotepadListBoxEvent) |
void | MiddleSoftKeyL() |
IMPORT_C CNotepadListDialog * | NewL(TInt, CEikDialog **) |
IMPORT_C void | SaveL() |
Public Member Enumerations | |
---|---|
enum | TNotepadListBoxEvent { EOpenListBoxItem = 1, EOpenListBoxContextMenu } |
Private Member Enumerations | |
---|---|
enum | TNotepadListFlags { ENotepadObserveView = 0x01, ENotepadItemAdded = 0x02, ENotepadMenuByOkKey = 0x04, ENotepadEverEnvironmentChanged = 0x08, ENotepadEverViewDeactivated = 0x10, ENotepadIsBackground = 0x20 } |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType | |
CEikDialog:@141 |
IMPORT_C void | CNotepadListDialog_Reserved | ( | ) | [private] |
Reserved API entry.
void | ClearSaveOrMarkedListItemsL | ( | TBool | aFlag | ) |
TBool aFlag |
TBool | ConfirmDeleteL | ( | TInt | aMemos | ) | [private] |
Show delete confirmation query and return the answer.
TInt aMemos | # of items to delete. |
void | ConstructL | ( | TResourceReader & | aReader | ) | [private] |
Second phase constructor.
TResourceReader & aReader | resource reader already opened for "STRUCT NOTEPAD_LIST_DIALOG". |
void | CreateKeyArrayOfSelectionsL | ( | ) | [private] |
Create key array of selected items.
void | CreateProgressDialogL | ( | const TInt | aCount, |
const TInt | aLabelResId = 0 | |||
) | [private] |
Create iProgressDialog.
void | DialogDismissedL | ( | TInt | aButtonId | ) | [private] |
From MProgressDialogCallback.
TInt aButtonId | button id which is derived from OkToExitL. |
void | DoEditByKeyL | ( | const TInt | aKey | ) | [private] |
Main part of EditByKeyL.
const TInt aKey | a unique memo id number. |
TInt | DoHandleEnvironmentChangedL | ( | ) | [private] |
Environment change callback entry function.
void | DoHandleViewEventL | ( | const TVwsViewEvent & | aEvent | ) | [private] |
Implementation of HandleViewEventL.
const TVwsViewEvent & aEvent | view event type. |
void | DynInitMenuBarL | ( | TInt | aResourceId, |
CEikMenuBar * | aMenuBar | |||
) | [private] |
From MEikMenuObserver.
TInt aResourceId | resource id. |
CEikMenuBar * aMenuBar |
void | DynInitMenuPaneL | ( | TInt | aResourceId, |
CEikMenuPane * | aMenuPane | |||
) | [private, virtual] |
From MEikMenuObserver.
TInt aResourceId | resource id. |
CEikMenuPane * aMenuPane |
IMPORT_C void | EditByKeyL | ( | const TInt | aKey | ) |
Force to switch to editor mode.
This API function is used when Notepad application is opened from Pinboard application.
When this API is called, Notepad status is changed to editor mode and a memo whose key is aKey is displayed.
If a memo whose key is equal to aKey doesn't exist or aKey is equal to KNotepadPseudoKeyIdForNewNote(-1), an empty Notepad editor for a new memo is displayed.
const TInt aKey | a unique memo id number. |
void | EditorDeleted | ( | ) |
Clear the iEditorDialog. Called only from destructor of CNotepadEditorDialog.
void | GetHelpContext | ( | TCoeHelpContext & | aContext | ) | const [private, virtual] |
From CCoeControl.
TCoeHelpContext & aContext | TCoeHelpContext. |
void | HandleEditorExitL | ( | TInt | aStatOfSave, |
const TInt | aKey, | |||
const TBool | aEagerSync | |||
) |
Prepare to switch from editor mode to list mode. This function is called when the editor has closed by the right softkey 'Done'.
TInt | HandleEnvironmentChangedL | ( | TAny * | aThisPtr | ) | [private, static] |
Environment change callback entry function.
TAny * aThisPtr | pointer to this. |
void | HandleListBoxEventL | ( | CEikListBox * | aListBox, |
TListBoxEvent | aEventType | |||
) | [private] |
From MEikListBoxObserver.
CEikListBox * aListBox | List box object. |
TListBoxEvent aEventType | event type. |
void | HandleListBoxPointerEventL | ( | TNotepadListBoxEvent | aEvent | ) |
Handle list box events
TNotepadListBoxEvent aEvent | Listbox event type |
void | HandleMarkListDynInitMenuPane | ( | TInt | aResourceId, |
CEikMenuPane * | aMenu, | |||
CEikListBox * | aListBox | |||
) | [private] |
handle the mark/unmark/markall/unmarkall command
TInt aResourceId | the resouce id |
CEikMenuPane * aMenu | the pane to be processed. |
CEikListBox * aListBox | the refered list box for the pane. |
void | HandleNotepadModelEventL | ( | TEvent | aEvent, |
TInt | aParam = 0 | |||
) | [private] |
From MNotepadModelObserver.
TEvent aEvent | |
TInt aParam = 0 |
TInt | HandleNotifyL | ( | TInt | aCmdId, |
TInt | aEventId, | |||
CAiwGenericParamList & | aEventParamList, | |||
const CAiwGenericParamList & | aInParamList | |||
) | [private] |
Handles any notification caused by asynchronous ExecuteCommandL or event.
void | HandleResourceChange | ( | TInt | aType | ) | [private, virtual] |
From CEikColumnListBox/CCoeControl
TInt aType | event type. |
void | HandleViewEventL | ( | const TVwsViewEvent & | aEvent | ) | [private] |
From MCoeViewObserver
const TVwsViewEvent & aEvent | view event type. |
IMPORT_C CNotepadListDialog * | NewL | ( | TInt | aResId, |
CEikDialog ** | aSelfPtr | |||
) | [static] |
Constructor.
TInt aResId | resource id of type STRUCT NOTEPAD_LIST_DIALOG |
CEikDialog ** aSelfPtr | pointer to pointer of this |
TKeyResponse | OfferKeyEventL | ( | const TKeyEvent & | aKeyEvent, |
TEventCode | aType | |||
) | [private, virtual] |
From CCoeControl
const TKeyEvent & aKeyEvent | key event which includes ScanCode etc. |
TEventCode aType | event type ( up, in, down...). |
TBool | OkToExitL | ( | TInt | aButtonId | ) | [private, virtual] |
From CEikDialog.
TInt aButtonId |
void | OnCmdOpenL | ( | TInt | aIndex | ) | [private] |
Switch to editor mode.
TInt aIndex | ListBox item index to edit. |
void | OnCmdSendL | ( | TInt | aCommandId | ) | [private] |
Process Send Command.
TInt aCommandId |
void | ProcessCommandL | ( | TInt | aCommandId | ) | [private, virtual] |
From MEikCommandObserver
TInt aCommandId | command. |
TInt | QueryDeleteMultipleResId | ( | ) | const [private, inline] |
Resource id of prompt text when deleting a single item.
TInt | QueryDeleteSingleResId | ( | ) | const [private, inline] |
Resource id of prompt text when deleting a single item.
IMPORT_C void | SaveL | ( | ) |
If editor is running, save its contents if need. This is called from CNotepadAppUi on shutdown.
Flags set to iFlags.
ENotepadObserveView = 0x01 | |
ENotepadItemAdded = 0x02 | |
ENotepadMenuByOkKey = 0x04 | |
ENotepadEverEnvironmentChanged = 0x08 | |
ENotepadEverViewDeactivated = 0x10 | |
ENotepadIsBackground = 0x20 |
CEnvironmentChangeNotifier * | iEnvironmentChangeNotifier | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.