CNotepadListDialog Class Reference

class CNotepadListDialog : public CNotepadDialogBase

Dialog of list mode. CNotepadListDialog is a dialog for both list of memos and list of templates.

NpdLib.lib CNotepadDialogBase

Nested Classes and Structures

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 ()
Private Member Functions
void AdjustTopItemIfNeed ()
CAiwGenericParamList * AiwSyncParamListLC ( TInt )
TBool AvoidSyncing ()
IMPORT_C void CNotepadListDialog_Reserved ()
void ClearSavedCurrentAndSelections ()
TBool ConfirmDeleteL ( TInt )
void ConstructL ( TResourceReader &)
void CreateKeyArrayOfSelectionsL ()
void CreateProgressDialogL (const TInt , const TInt )
void DialogDismissedL ( TInt )
void DoEditByKeyL (const TInt )
TInt DoHandleEnvironmentChangedL ()
void DoHandleViewEventL (const TVwsViewEvent &)
void DynInitMenuBarL ( TInt , CEikMenuBar *)
void DynInitMenuPaneL ( TInt , CEikMenuPane *)
void GetHelpContext ( TCoeHelpContext &)
TInt HandleEnvironmentChangedL ( TAny *)
void HandleListBoxEventL ( CEikListBox *, TListBoxEvent)
void HandleMarkListDynInitMenuPane ( TInt , CEikMenuPane *, CEikListBox *)
void HandleNotepadModelEventL (TEvent, TInt )
TInt HandleNotifyL ( TInt , TInt , CAiwGenericParamList &, const CAiwGenericParamList &)
void HandleResourceChange ( TInt )
void HandleViewEventL (const TVwsViewEvent &)
TInt LevelOfActiveScheduler ()
TKeyResponse OfferKeyEventL (const TKeyEvent &, TEventCode )
TBool OkToExitL ( TInt )
void OnCmdAddL ()
void OnCmdDeleteL ()
void OnCmdOpenL ( TInt )
void OnCmdSendL ( TInt )
void PostLayoutDynInitL ()
void PreLayoutDynInitL ()
void ProcessCommandL ( TInt )
TInt QueryDeleteMultipleResId ()
TInt QueryDeleteSingleResId ()
void RestoreCurrent ()
void RestoreCurrentAndSelectionsL ()
void RestoreSelectionsL ()
void SaveCurrentAndSelectionsL ()
void StartEditorL ()
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknDialog::CAknDialog()
CAknDialog::ConstructL(TInt)
CAknDialog::CreateMenuBarL(TInt)
CAknDialog::DisplayMenuL()
CAknDialog::Draw(const TRect &)const
CAknDialog::ExecuteLD(TInt)
CAknDialog::FocusChanged(TDrawNow)
CAknDialog::HandlePointerEventL(const TPointerEvent &)
CAknDialog::HideMenu()
CAknDialog::MenuShowing()const
CAknDialog::MopSupplyObject(TTypeUid)
CAknDialog::PrepareLC(TInt)
CAknDialog::RunLD()
CAknDialog::SetEmphasis(CCoeControl *,TBool)
CAknDialog::SizeChanged()
CAknDialog::~CAknDialog()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikDialog::ActivateFirstPageL()const
CEikDialog::ActivePageId()const
CEikDialog::ActivePageIndex()const
CEikDialog::AddAutoDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoDurationEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AddAutoFixedPointEditorL(const TDesC &,TInt,TInt,TInt,TInt *,TInt)
CEikDialog::AddAutoFloatEditorL(const TDesC &,TInt,const TReal &,const TReal &,TReal *)
CEikDialog::AddAutoGlobalTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoNumberEditorL(const TDesC &,TInt,TInt,TInt,TInt *)
CEikDialog::AddAutoRangeEditorL(const TDesC &,TInt,TInt,TInt,HBufC *,SEikRange *)
CEikDialog::AddAutoRichTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoSecretEditorL(const TDesC &,TInt,TDes *)
CEikDialog::AddAutoTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TDes *)
CEikDialog::AddAutoTimeAndDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TBool,HBufC *,TTime *)
CEikDialog::AddAutoTimeEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoTimeOffsetEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AdjustAllIdsOnPage(TInt,TInt)
CEikDialog::BorderStyle()
CEikDialog::ButtonCommandObserver()const
CEikDialog::ButtonGroupContainer()const
CEikDialog::CEikDialog()
CEikDialog::ComponentControl(TInt)const
CEikDialog::ConstructAutoDialogLC(TInt,TInt)
CEikDialog::ConstructSleepingAlertDialogL(TInt)
CEikDialog::ConstructSleepingDialogL(TInt)
CEikDialog::Control(TInt)const
CEikDialog::ControlCaption(TInt)const
CEikDialog::ControlOrNull(TInt)const
CEikDialog::ControlsOnPage(RArray< CEikCaptionedControl * > &,TInt)const
CEikDialog::ConvertCustomControlTypeToBaseControlType(TInt)const
CEikDialog::CountComponentControls()const
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TAny *)
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TInt,TAny *)
CEikDialog::CurrentLine()const
CEikDialog::DeclareAutoDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoDurationEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareAutoFixedPointEditor(TInt,TInt *)
CEikDialog::DeclareAutoNumberEditor(TInt,TInt *)
CEikDialog::DeclareAutoRangeEditor(TInt,SEikRange *)
CEikDialog::DeclareAutoSecretEditor(TInt,TDes *)
CEikDialog::DeclareAutoTextEditorL(TInt,TDes *)
CEikDialog::DeclareAutoTimeAndDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeOffsetEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareItemAuto(TInt,TInt,TAny *)
CEikDialog::DeleteLine(TInt,TBool)
CEikDialog::DialogFlags()
CEikDialog::DurationEditorValue(TInt)const
CEikDialog::ExitSleepingDialog()
CEikDialog::Extension()const
CEikDialog::FindLineIndex(const CCoeControl &)const
CEikDialog::FixedPointEditorDecimal(TInt)const
CEikDialog::FixedPointEditorValue(TInt)const
CEikDialog::FloatEditorValue(TInt)const
CEikDialog::FloatingPointEditorValue(TInt)const
CEikDialog::FormFlagsFromActivePage()
CEikDialog::GetAutoValuesFromPage(CEikCapCArray *)
CEikDialog::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CEikDialog::GetCustomAutoValue(TAny *,TInt,const CCoeControl *)
CEikDialog::GetEdwinText(TDes &,TInt)const
CEikDialog::GetFileName(TFileName *,TInt)const
CEikDialog::GetFirstLineOnFirstPageOrNull()
CEikDialog::GetLabelText(TDes &,TInt)const
CEikDialog::GetLineByLineAndPageIndex(TInt,TInt)const
CEikDialog::GetNumberOfLinesOnPage(TInt)const
CEikDialog::GetNumberOfPages()const
CEikDialog::GetSecretEditorText(TDes &,TInt)const
CEikDialog::GetTextEditorText(CGlobalText *&,TInt)
CEikDialog::HandleControlEventL(CCoeControl *,TCoeEvent)
CEikDialog::HandleControlStateChangeL(TInt)
CEikDialog::HandleDialogPageEventL(TInt)
CEikDialog::HandleInteractionRefused(TInt)
CEikDialog::IdOfFocusControl()const
CEikDialog::InputCapabilities()const
CEikDialog::InsertLineL(TInt,TInt,TInt)
CEikDialog::IsEditable()const
CEikDialog::Layout()
CEikDialog::Line(TInt)const
CEikDialog::LineChangedL(TInt)
CEikDialog::ListBoxCurrentItem(TInt)const
CEikDialog::MakeLineVisible(TInt,TBool)
CEikDialog::MakePanelButtonVisible(TInt,TBool)
CEikDialog::MakeVisible(TBool)
CEikDialog::MakeWholeLineVisible(TInt,TBool)
CEikDialog::MappedCommandId(TInt)
CEikDialog::NumberEditorValue(TInt)const
CEikDialog::PageChangedL(TInt)
CEikDialog::PreferredSize(const TSize &)const
CEikDialog::PrepareContext(CWindowGc &)const
CEikDialog::PrepareForFocusTransitionL()
CEikDialog::PublishDialogL(TInt,TUid)
CEikDialog::RangeEditorValue(TInt)const
CEikDialog::ReadResourceLC(TInt)
CEikDialog::RegisterDialgWithPageSelector()
CEikDialog::ResetLineMinimumSizes()
CEikDialog::ResetSecretEditor(TInt)
CEikDialog::RotateFocusByL(TInt)
CEikDialog::RouseSleepingDialog()
CEikDialog::SetControlCaptionL(TInt,TInt)
CEikDialog::SetControlCaptionL(TInt,const TDesC &)
CEikDialog::SetDurationEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetDurationEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetEditableL(TBool)
CEikDialog::SetEdwinTextL(TInt,const TDesC *)
CEikDialog::SetFileNameL(TInt,const TDesC *)
CEikDialog::SetFixedPointEditorDecimal(TInt,TInt)
CEikDialog::SetFixedPointEditorValueL(TInt,TInt)
CEikDialog::SetFloatEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetFloatEditorValueL(TInt,TReal)
CEikDialog::SetFloatingPointEditorValueL(TInt,const TReal *)
CEikDialog::SetInitialCurrentLine()
CEikDialog::SetLabelL(TInt,TInt)
CEikDialog::SetLabelL(TInt,const TDesC &)
CEikDialog::SetLabelReserveLengthL(TInt,TInt)
CEikDialog::SetLineDimmedNow(TInt,TBool)
CEikDialog::SetLineNonFocusing(TInt)
CEikDialog::SetListBoxCurrentItem(TInt,TInt)
CEikDialog::SetMediatorObserver(MAknDialogMediatorObserver *)
CEikDialog::SetMultilineQuery(TBool)
CEikDialog::SetNumberEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetNumberEditorValue(TInt,TInt)
CEikDialog::SetPageDensePacking(TInt,TBool)
CEikDialog::SetPageDimmedNow(TInt,TBool)
CEikDialog::SetRangeEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetRangeEditorValue(TInt,const SEikRange &)
CEikDialog::SetSizeAndPosition(const TSize &)
CEikDialog::SetTTimeEditorMinAndMax(TInt,const TTime &,const TTime &)
CEikDialog::SetTTimeEditorValue(TInt,const TTime &)
CEikDialog::SetTextEditorTextL(TInt,const CGlobalText *)
CEikDialog::SetTimeOffsetEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetTimeOffsetEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetTitleL(TInt)
CEikDialog::SetTitleL(const TDesC &)
CEikDialog::SlideDialog()
CEikDialog::SwapButtonGroupContainer(CEikButtonGroupContainer *)
CEikDialog::SwitchLineLatency(TInt,TInt)
CEikDialog::TTimeEditorValue(TInt)const
CEikDialog::TimeOffsetEditorValue(TInt)const
CEikDialog::Title()const
CEikDialog::TryChangeFocusToL(TInt)
CEikDialog::TryExitL(TInt)
CEikDialog::UpdatePageL(TBool)
CEikDialog::WriteInternalStateL(RWriteStream &)const
CEikDialog::~CEikDialog()
CNotepadDialogBase::ActivateL()
CNotepadDialogBase::CreateCustomControlL(TInt)
CNotepadDialogBase::ExecuteConfirmationQueryL(TDesC *)
CNotepadDialogBase::ExecuteConfirmationQueryL(TInt)
CNotepadDialogBase::ExecuteLD()
CNotepadDialogBase::InsertSendMenuItemAfterL(CSendUi &,CEikMenuPane &,TInt)
CNotepadDialogBase::IsExitDelayedBySendUi()const
CNotepadDialogBase::IsModeless()
CNotepadDialogBase::IsNoteListDialog()const
CNotepadDialogBase::IsNotepad()const
CNotepadDialogBase::IsTemplateListDialog()const
CNotepadDialogBase::IsTemplates()const
CNotepadDialogBase::IsWaiting()const
CNotepadDialogBase::NONSHARABLE_CLASS(CCreateAndAppendFiles)
CNotepadDialogBase::RefreshTitleL()
CNotepadDialogBase::SendAsL(CSendUi &,TInt,TBool,const TDesC *,const CPlainText *)
CNotepadDialogBase::SendAsL(CSendUi &,TInt,const TDesC *,const CPlainText *,const TDesC *)
CNotepadDialogBase::SendByKeysL(CSendUi &,TInt,CNotepadModel &,const RArray< TInt > &)
CNotepadDialogBase::SetFileHandleL(RFile &)
CNotepadDialogBase::SetTitleL(const TDesC *)
CNotepadDialogBase::~CNotepadDialogBase()
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
Private Attributes
CAknAppUi * iBaseAppUi
TInt iBaseLevelOfActiveScheduler
TBool iClockValueChange
TTimeFormat iCurrentTimeFormat
CNotepadEditorDialog * iEditorDialog
TBool iEditorFlag
TInt iEditorResId
CEnvironmentChangeNotifier * iEnvironmentChangeNotifier
TUint iFlags
CNotepadIdle * iIdle
CAknColumnListBox * iListBox
CNotepadModel * iModel
TBool iNeedSave
TTimeFormat iPreTimeFormat
CNotepadProgressDialog * iProgressDialog
TInt iSavedKey
RArray < TInt > iSavedKeysAboveCurrent
RArray < TInt > iSavedSelectedKeys
CSendUi * iSendUi
TBool iSendingEmail
CAiwServiceHandler * iServiceHandler
TBool shiftflag
Inherited Attributes
CAknDialog::iMenuBar
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder
CNotepadDialogBase::iCreateFile
CNotepadDialogBase::iMskFlag
CNotepadDialogBase::iResId
CNotepadDialogBase::iSelfPtr

Constructor & Destructor Documentation

~CNotepadListDialog()

IMPORT_C ~CNotepadListDialog ( ) [virtual]

Destructor.

Member Functions Documentation

AdjustTopItemIfNeed()

void AdjustTopItemIfNeed ( ) [private]

AiwSyncParamListLC(TInt)

CAiwGenericParamList * AiwSyncParamListLC ( TInt ) [private]

Parameters

TInt

AvoidSyncing()

TBool AvoidSyncing ( ) const [private]

CNotepadListDialog_Reserved()

IMPORT_C void CNotepadListDialog_Reserved ( ) [private]

Reserved API entry.

ClearSaveOrMarkedListItemsL(TBool)

void ClearSaveOrMarkedListItemsL ( TBool aFlag )

Parameters

TBool aFlag

ClearSavedCurrentAndSelections()

void ClearSavedCurrentAndSelections ( ) [private]

ConfirmDeleteL(TInt)

TBool ConfirmDeleteL ( TInt aMemos ) [private]

Show delete confirmation query and return the answer.

Parameters

TInt aMemos # of items to delete.

ConstructL(TResourceReader &)

void ConstructL ( TResourceReader & aReader ) [private]

Second phase constructor.

Parameters

TResourceReader & aReader resource reader already opened for "STRUCT NOTEPAD_LIST_DIALOG".

CreateKeyArrayOfSelectionsL()

void CreateKeyArrayOfSelectionsL ( ) [private]

Create key array of selected items.

CreateProgressDialogL(const TInt, const TInt)

void CreateProgressDialogL ( const TInt aCount,
const TInt aLabelResId = 0
) [private]

Create iProgressDialog.

Parameters

const TInt aCount number of items to be processed.
const TInt aLabelResId = 0 a label text resource id.

DialogDismissedL(TInt)

void DialogDismissedL ( TInt aButtonId ) [private]

Parameters

TInt aButtonId button id which is derived from OkToExitL.

DoEditByKeyL(const TInt)

void DoEditByKeyL ( const TInt aKey ) [private]

Main part of EditByKeyL.

Parameters

const TInt aKey a unique memo id number.

DoHandleEnvironmentChangedL()

TInt DoHandleEnvironmentChangedL ( ) [private]

Environment change callback entry function.

DoHandleViewEventL(const TVwsViewEvent &)

void DoHandleViewEventL ( const TVwsViewEvent & aEvent ) [private]

Implementation of HandleViewEventL.

Parameters

const TVwsViewEvent & aEvent view event type.

DynInitMenuBarL(TInt, CEikMenuBar *)

void DynInitMenuBarL ( TInt aResourceId,
CEikMenuBar * aMenuBar
) [private]

Parameters

TInt aResourceId resource id.
CEikMenuBar * aMenuBar

DynInitMenuPaneL(TInt, CEikMenuPane *)

void DynInitMenuPaneL ( TInt aResourceId,
CEikMenuPane * aMenuPane
) [private, virtual]

Parameters

TInt aResourceId resource id.
CEikMenuPane * aMenuPane

EditByKeyL(const TInt)

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.

Parameters

const TInt aKey a unique memo id number.

EditorDeleted()

void EditorDeleted ( )

Clear the iEditorDialog. Called only from destructor of CNotepadEditorDialog .

GetHelpContext(TCoeHelpContext &)

void GetHelpContext ( TCoeHelpContext & aContext ) const [private, virtual]

Parameters

TCoeHelpContext & aContext TCoeHelpContext.

HandleEditorExitL(TInt, const TInt, const TBool)

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

Parameters

TInt aStatOfSave status of CNotepadEditorDialog::SaveL.
const TInt aKey a unique key id of the editing item.
const TBool aEagerSync if this is ETrue, it is necessary to refresh CNotepadModel immediately.

HandleEnvironmentChangedL(TAny *)

TInt HandleEnvironmentChangedL ( TAny * aThisPtr ) [private, static]

Environment change callback entry function.

Parameters

TAny * aThisPtr pointer to this.

HandleListBoxEventL(CEikListBox *, TListBoxEvent)

void HandleListBoxEventL ( CEikListBox * aListBox,
TListBoxEvent aEventType
) [private]

Parameters

CEikListBox * aListBox List box object.
TListBoxEvent aEventType event type.

HandleListBoxPointerEventL(TNotepadListBoxEvent)

void HandleListBoxPointerEventL ( TNotepadListBoxEvent aEvent )

Handle list box events

Parameters

TNotepadListBoxEvent aEvent Listbox event type

HandleMarkListDynInitMenuPane(TInt, CEikMenuPane *, CEikListBox *)

void HandleMarkListDynInitMenuPane ( TInt aResourceId,
CEikMenuPane * aMenu,
CEikListBox * aListBox
) [private]

handle the mark/unmark/markall/unmarkall command

Parameters

TInt aResourceId the resouce id
CEikMenuPane * aMenu the pane to be processed.
CEikListBox * aListBox the refered list box for the pane.

HandleNotepadModelEventL(TEvent, TInt)

void HandleNotepadModelEventL ( TEvent aEvent,
TInt aParam = 0
) [private]

From MNotepadModelObserver .

Parameters

TEvent aEvent
TInt aParam = 0

HandleNotifyL(TInt, TInt, CAiwGenericParamList &, const CAiwGenericParamList &)

TInt HandleNotifyL ( TInt aCmdId,
TInt aEventId,
CAiwGenericParamList & aEventParamList,
const CAiwGenericParamList & aInParamList
) [private]

Handles any notification caused by asynchronous ExecuteCommandL or event.

Parameters

TInt aCmdId Service command associated to the event.
TInt aEventId Occured event
CAiwGenericParamList & aEventParamList Event parameters, if any, as defined per each event.
const CAiwGenericParamList & aInParamList Input parameters, if any, given in the related HandleCommmandL

HandleResourceChange(TInt)

void HandleResourceChange ( TInt aType ) [private, virtual]

From CEikColumnListBox/CCoeControl

Parameters

TInt aType event type.

HandleViewEventL(const TVwsViewEvent &)

void HandleViewEventL ( const TVwsViewEvent & aEvent ) [private]

Parameters

const TVwsViewEvent & aEvent view event type.

LevelOfActiveScheduler()

TInt LevelOfActiveScheduler ( ) [private, static, inline]

MiddleSoftKeyL()

void MiddleSoftKeyL ( )

From MiddleSoftKeyL changes middle soft key

NewL(TInt, CEikDialog **)

IMPORT_C CNotepadListDialog * NewL ( TInt aResId,
CEikDialog ** aSelfPtr
) [static]

Constructor.

Parameters

TInt aResId resource id of type STRUCT NOTEPAD_LIST_DIALOG
CEikDialog ** aSelfPtr pointer to pointer of this

OfferKeyEventL(const TKeyEvent &, TEventCode)

TKeyResponse OfferKeyEventL ( const TKeyEvent & aKeyEvent,
TEventCode aType
) [private, virtual]

Parameters

const TKeyEvent & aKeyEvent key event which includes ScanCode etc.
TEventCode aType event type ( up, in, down...).

OkToExitL(TInt)

TBool OkToExitL ( TInt aButtonId ) [private, virtual]

Parameters

TInt aButtonId

OnCmdAddL()

void OnCmdAddL ( ) [private]

Switch to empty editor mode.

OnCmdDeleteL()

void OnCmdDeleteL ( ) [private]

Delete memos.

OnCmdOpenL(TInt)

void OnCmdOpenL ( TInt aIndex ) [private]

Switch to editor mode.

Parameters

TInt aIndex ListBox item index to edit.

OnCmdSendL(TInt)

void OnCmdSendL ( TInt aCommandId ) [private]

Process Send Command.

Parameters

TInt aCommandId

PostLayoutDynInitL()

void PostLayoutDynInitL ( ) [private, virtual]

PreLayoutDynInitL()

void PreLayoutDynInitL ( ) [private, virtual]

ProcessCommandL(TInt)

void ProcessCommandL ( TInt aCommandId ) [private, virtual]

Parameters

TInt aCommandId command.

QueryDeleteMultipleResId()

TInt QueryDeleteMultipleResId ( ) const [private, inline]

Resource id of prompt text when deleting a single item.

QueryDeleteSingleResId()

TInt QueryDeleteSingleResId ( ) const [private, inline]

Resource id of prompt text when deleting a single item.

RestoreCurrent()

void RestoreCurrent ( ) [private]

RestoreCurrentAndSelectionsL()

void RestoreCurrentAndSelectionsL ( ) [private]

RestoreSelectionsL()

void RestoreSelectionsL ( ) [private]

SaveCurrentAndSelectionsL()

void SaveCurrentAndSelectionsL ( ) [private]

SaveL()

IMPORT_C void SaveL ( )

If editor is running, save its contents if need. This is called from CNotepadAppUi on shutdown.

StartEditorL()

void StartEditorL ( ) [private]

Start editor dialog.

Member Enumerations Documentation

Enum TNotepadListBoxEvent

Enumerators

EOpenListBoxItem = 1
EOpenListBoxContextMenu

Enum TNotepadListFlags

Flags set to iFlags.

Enumerators

ENotepadObserveView = 0x01
ENotepadItemAdded = 0x02
ENotepadMenuByOkKey = 0x04
ENotepadEverEnvironmentChanged = 0x08
ENotepadEverViewDeactivated = 0x10
ENotepadIsBackground = 0x20

Member Data Documentation

CAknAppUi * iBaseAppUi

CAknAppUi * iBaseAppUi [private]

TInt iBaseLevelOfActiveScheduler

TInt iBaseLevelOfActiveScheduler [private]

TBool iClockValueChange

TBool iClockValueChange [private]

TTimeFormat iCurrentTimeFormat

TTimeFormat iCurrentTimeFormat [private]

CNotepadEditorDialog * iEditorDialog

CNotepadEditorDialog * iEditorDialog [private]

TBool iEditorFlag

TBool iEditorFlag [private]

TInt iEditorResId

TInt iEditorResId [private]

CEnvironmentChangeNotifier * iEnvironmentChangeNotifier

CEnvironmentChangeNotifier * iEnvironmentChangeNotifier [private]

TUint iFlags

TUint iFlags [private]

CNotepadIdle * iIdle

CNotepadIdle * iIdle [private]

CAknColumnListBox * iListBox

CAknColumnListBox * iListBox [private]

CNotepadModel * iModel

CNotepadModel * iModel [private]

TBool iNeedSave

TBool iNeedSave [private]

TTimeFormat iPreTimeFormat

TTimeFormat iPreTimeFormat [private]

CNotepadProgressDialog * iProgressDialog

CNotepadProgressDialog * iProgressDialog [private]

TInt iSavedKey

TInt iSavedKey [private]

RArray< TInt > iSavedKeysAboveCurrent

RArray < TInt > iSavedKeysAboveCurrent [private]

RArray< TInt > iSavedSelectedKeys

RArray < TInt > iSavedSelectedKeys [private]

CSendUi * iSendUi

CSendUi * iSendUi [private]

TBool iSendingEmail

TBool iSendingEmail [private]

CAiwServiceHandler * iServiceHandler

CAiwServiceHandler * iServiceHandler [private]

TBool shiftflag

TBool shiftflag [private]