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

Public Member Functions
~CNotepadListDialog()
voidClearSaveOrMarkedListItemsL(TBool)
IMPORT_C voidEditByKeyL(const TInt)
voidEditorDeleted()
voidHandleEditorExitL(TInt, const TInt, const TBool)
voidHandleListBoxPointerEventL(TNotepadListBoxEvent)
voidMiddleSoftKeyL()
IMPORT_C CNotepadListDialog *NewL(TInt, CEikDialog **)
IMPORT_C voidSaveL()
Private Member Functions
voidAdjustTopItemIfNeed()
CAiwGenericParamList *AiwSyncParamListLC(TInt)
TBool AvoidSyncing()
IMPORT_C voidCNotepadListDialog_Reserved()
voidClearSavedCurrentAndSelections()
TBool ConfirmDeleteL(TInt)
voidConstructL(TResourceReader &)
voidCreateKeyArrayOfSelectionsL()
voidCreateProgressDialogL(const TInt, const TInt)
voidDialogDismissedL(TInt)
voidDoEditByKeyL(const TInt)
TInt DoHandleEnvironmentChangedL()
voidDoHandleViewEventL(const TVwsViewEvent &)
voidDynInitMenuBarL(TInt, CEikMenuBar *)
voidDynInitMenuPaneL(TInt, CEikMenuPane *)
voidGetHelpContext(TCoeHelpContext &)
TInt HandleEnvironmentChangedL(TAny *)
voidHandleListBoxEventL(CEikListBox *, TListBoxEvent)
voidHandleMarkListDynInitMenuPane(TInt, CEikMenuPane *, CEikListBox *)
voidHandleNotepadModelEventL(TEvent, TInt)
TInt HandleNotifyL(TInt, TInt, CAiwGenericParamList &, const CAiwGenericParamList &)
voidHandleResourceChange(TInt)
voidHandleViewEventL(const TVwsViewEvent &)
TInt LevelOfActiveScheduler()
TKeyResponse OfferKeyEventL(const TKeyEvent &, TEventCode)
TBool OkToExitL(TInt)
voidOnCmdAddL()
voidOnCmdDeleteL()
voidOnCmdOpenL(TInt)
voidOnCmdSendL(TInt)
voidPostLayoutDynInitL()
voidPreLayoutDynInitL()
voidProcessCommandL(TInt)
TInt QueryDeleteMultipleResId()
TInt QueryDeleteSingleResId()
voidRestoreCurrent()
voidRestoreCurrentAndSelectionsL()
voidRestoreSelectionsL()
voidSaveCurrentAndSelectionsL()
voidStartEditorL()
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
enumTNotepadListBoxEvent { EOpenListBoxItem = 1, EOpenListBoxContextMenu }
Private Member Enumerations
enumTNotepadListFlags {
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()

voidAdjustTopItemIfNeed()[private]

AiwSyncParamListLC(TInt)

CAiwGenericParamList *AiwSyncParamListLC(TInt)[private]

Parameters

TInt

AvoidSyncing()

TBool AvoidSyncing()const [private]

CNotepadListDialog_Reserved()

IMPORT_C voidCNotepadListDialog_Reserved()[private]

Reserved API entry.

ClearSaveOrMarkedListItemsL(TBool)

voidClearSaveOrMarkedListItemsL(TBoolaFlag)

Parameters

TBool aFlag

ClearSavedCurrentAndSelections()

voidClearSavedCurrentAndSelections()[private]

ConfirmDeleteL(TInt)

TBool ConfirmDeleteL(TIntaMemos)[private]

Show delete confirmation query and return the answer.

Parameters

TInt aMemos# of items to delete.

ConstructL(TResourceReader &)

voidConstructL(TResourceReader &aReader)[private]

Second phase constructor.

Parameters

TResourceReader & aReaderresource reader already opened for "STRUCT NOTEPAD_LIST_DIALOG".

CreateKeyArrayOfSelectionsL()

voidCreateKeyArrayOfSelectionsL()[private]

Create key array of selected items.

CreateProgressDialogL(const TInt, const TInt)

voidCreateProgressDialogL(const TIntaCount,
const TIntaLabelResId = 0
)[private]

Create iProgressDialog.

Parameters

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

DialogDismissedL(TInt)

voidDialogDismissedL(TIntaButtonId)[private]

Parameters

TInt aButtonIdbutton id which is derived from OkToExitL.

DoEditByKeyL(const TInt)

voidDoEditByKeyL(const TIntaKey)[private]

Main part of EditByKeyL.

Parameters

const TInt aKeya unique memo id number.

DoHandleEnvironmentChangedL()

TInt DoHandleEnvironmentChangedL()[private]

Environment change callback entry function.

DoHandleViewEventL(const TVwsViewEvent &)

voidDoHandleViewEventL(const TVwsViewEvent &aEvent)[private]

Implementation of HandleViewEventL.

Parameters

const TVwsViewEvent & aEventview event type.

DynInitMenuBarL(TInt, CEikMenuBar *)

voidDynInitMenuBarL(TIntaResourceId,
CEikMenuBar *aMenuBar
)[private]

Parameters

TInt aResourceIdresource id.
CEikMenuBar * aMenuBar

DynInitMenuPaneL(TInt, CEikMenuPane *)

voidDynInitMenuPaneL(TIntaResourceId,
CEikMenuPane *aMenuPane
)[private, virtual]

Parameters

TInt aResourceIdresource id.
CEikMenuPane * aMenuPane

EditByKeyL(const TInt)

IMPORT_C voidEditByKeyL(const TIntaKey)

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 aKeya unique memo id number.

EditorDeleted()

voidEditorDeleted()

Clear the iEditorDialog. Called only from destructor of CNotepadEditorDialog.

GetHelpContext(TCoeHelpContext &)

voidGetHelpContext(TCoeHelpContext &aContext)const [private, virtual]

From CCoeControl.

Parameters

TCoeHelpContext & aContextTCoeHelpContext.

HandleEditorExitL(TInt, const TInt, const TBool)

voidHandleEditorExitL(TIntaStatOfSave,
const TIntaKey,
const TBoolaEagerSync
)

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 aStatOfSavestatus of CNotepadEditorDialog::SaveL.
const TInt aKeya unique key id of the editing item.
const TBool aEagerSyncif 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 * aThisPtrpointer to this.

HandleListBoxEventL(CEikListBox *, TListBoxEvent)

voidHandleListBoxEventL(CEikListBox *aListBox,
TListBoxEventaEventType
)[private]

Parameters

CEikListBox * aListBoxList box object.
TListBoxEvent aEventTypeevent type.

HandleListBoxPointerEventL(TNotepadListBoxEvent)

voidHandleListBoxPointerEventL(TNotepadListBoxEventaEvent)

Handle list box events

Parameters

TNotepadListBoxEvent aEventListbox event type

HandleMarkListDynInitMenuPane(TInt, CEikMenuPane *, CEikListBox *)

voidHandleMarkListDynInitMenuPane(TIntaResourceId,
CEikMenuPane *aMenu,
CEikListBox *aListBox
)[private]

handle the mark/unmark/markall/unmarkall command

Parameters

TInt aResourceIdthe resouce id
CEikMenuPane * aMenuthe pane to be processed.
CEikListBox * aListBoxthe refered list box for the pane.

HandleNotepadModelEventL(TEvent, TInt)

voidHandleNotepadModelEventL(TEventaEvent,
TIntaParam = 0
)[private]

Parameters

TEvent aEvent
TInt aParam = 0

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

TInt HandleNotifyL(TIntaCmdId,
TIntaEventId,
CAiwGenericParamList &aEventParamList,
const CAiwGenericParamList &aInParamList
)[private]

Handles any notification caused by asynchronous ExecuteCommandL or event.

Parameters

TInt aCmdIdService command associated to the event.
TInt aEventIdOccured event
CAiwGenericParamList & aEventParamListEvent parameters, if any, as defined per each event.
const CAiwGenericParamList & aInParamListInput parameters, if any, given in the related HandleCommmandL

HandleResourceChange(TInt)

voidHandleResourceChange(TIntaType)[private, virtual]

From CEikColumnListBox/CCoeControl

Parameters

TInt aTypeevent type.

HandleViewEventL(const TVwsViewEvent &)

voidHandleViewEventL(const TVwsViewEvent &aEvent)[private]

Parameters

const TVwsViewEvent & aEventview event type.

LevelOfActiveScheduler()

TInt LevelOfActiveScheduler()[private, static, inline]

MiddleSoftKeyL()

voidMiddleSoftKeyL()

From MiddleSoftKeyL changes middle soft key

NewL(TInt, CEikDialog **)

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

Constructor.

Parameters

TInt aResIdresource id of type STRUCT NOTEPAD_LIST_DIALOG
CEikDialog ** aSelfPtrpointer to pointer of this

OfferKeyEventL(const TKeyEvent &, TEventCode)

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

Parameters

const TKeyEvent & aKeyEventkey event which includes ScanCode etc.
TEventCode aTypeevent type ( up, in, down...).

OkToExitL(TInt)

TBool OkToExitL(TIntaButtonId)[private, virtual]

From CEikDialog.

Parameters

TInt aButtonId

OnCmdAddL()

voidOnCmdAddL()[private]

Switch to empty editor mode.

OnCmdDeleteL()

voidOnCmdDeleteL()[private]

Delete memos.

OnCmdOpenL(TInt)

voidOnCmdOpenL(TIntaIndex)[private]

Switch to editor mode.

Parameters

TInt aIndexListBox item index to edit.

OnCmdSendL(TInt)

voidOnCmdSendL(TIntaCommandId)[private]

Process Send Command.

Parameters

TInt aCommandId

PostLayoutDynInitL()

voidPostLayoutDynInitL()[private, virtual]

From CEikDialog.

PreLayoutDynInitL()

voidPreLayoutDynInitL()[private, virtual]

From CEikDialog.

ProcessCommandL(TInt)

voidProcessCommandL(TIntaCommandId)[private, virtual]

Parameters

TInt aCommandIdcommand.

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

voidRestoreCurrent()[private]

RestoreCurrentAndSelectionsL()

voidRestoreCurrentAndSelectionsL()[private]

RestoreSelectionsL()

voidRestoreSelectionsL()[private]

SaveCurrentAndSelectionsL()

voidSaveCurrentAndSelectionsL()[private]

SaveL()

IMPORT_C voidSaveL()

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

StartEditorL()

voidStartEditorL()[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]