CNotepadDialogBase Class Reference

class CNotepadDialogBase : public CAknDialog

Base class of three dialogs in Notepad library. CNotepadDialogBase is the base class of CNotepadListDialog, CNotepadEditorDialog and CNotepadViewerDialog.

NpdLib.lib CNotepadListDialog, CNotepadEditorDialog, CNotepadViewerDialog.

Nested Classes and Structures

Public Member Functions
~CNotepadDialogBase()
IMPORT_C TIntExecuteLD()
NONSHARABLE_CLASS(CCreateAndAppendFiles)
Protected Member Functions
voidActivateL()
voidConstructL(TResourceReader &)
SEikControlInfo CreateCustomControlL(TInt)
TBool ExecuteConfirmationQueryL(TInt)
TBool ExecuteConfirmationQueryL(TDesC *)
voidInsertSendMenuItemAfterL(CSendUi &, CEikMenuPane &, TInt)
TBool IsExitDelayedBySendUi()
TBool IsModeless()
TBool IsNoteListDialog()
TBool IsNotepad()
TBool IsTemplateListDialog()
TBool IsTemplates()
TBool IsWaiting()
voidProcessCommandL(TInt)
voidRefreshTitleL()
voidSendAsL(CSendUi &, TInt, const TDesC *, const CPlainText *, const TDesC *)
voidSendAsL(CSendUi &, TInt, TBool, const TDesC *, const CPlainText *)
TUid SendByKeysL(CSendUi &, TInt, CNotepadModel &, const RArray< TInt > &)
voidSetFileHandleL(RFile &)
voidSetTitleL(const TDesC *)
Private Member Functions
IMPORT_C voidCNotepadDialogBase_Reserved()
voidCleanupSendUiFlag(TAny *)
voidSendFileAsAttachmentL(CSendUi &, TInt, const TDesC &)
voidSendFileAsAttachmentL(CSendUi &, TInt, RFile &)
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknDialog::CAknDialog()
CAknDialog::ConstructL(TInt)
CAknDialog::CreateMenuBarL(TInt)
CAknDialog::DisplayMenuL()
CAknDialog::Draw(const TRect &)const
CAknDialog::DynInitMenuPaneL(TInt,CEikMenuPane *)
CAknDialog::ExecuteLD(TInt)
CAknDialog::FocusChanged(TDrawNow)
CAknDialog::HandlePointerEventL(const TPointerEvent &)
CAknDialog::HideMenu()
CAknDialog::MenuShowing()const
CAknDialog::MopSupplyObject(TTypeUid)
CAknDialog::OfferKeyEventL(const TKeyEvent &,TEventCode)
CAknDialog::OkToExitL(TInt)
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::GetHelpContext(TCoeHelpContext &)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::HandleResourceChange(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::PostLayoutDynInitL()
CEikDialog::PreLayoutDynInitL()
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()
Private Member Enumerations
enumTNotepadDialogBaseFlags { ENotepadSendUiRunning = 0x01, ENotepadSendUiDelayedExit = 0x02 }
Inherited Enumerations
CCoeControl:TZoomType
CEikDialog:@141
Public Attributes
CNotepadDialogBase::CCreateAndAppendFiles *iCreateFile
Protected Attributes
TBool iMskFlag
TInt iResId
CEikDialog **iSelfPtr
Private Attributes
TInt iBaseFlags
RFile iFile
HBufC *iSavedTitle
TDesC *iTitle
CAknTitlePane *iTitlePane
Inherited Attributes
CAknDialog::iMenuBar
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

~CNotepadDialogBase()

IMPORT_C~CNotepadDialogBase()[virtual]

Destructor.

Member Functions Documentation

ActivateL()

voidActivateL()[protected, virtual]

From CCoeControl.

CNotepadDialogBase_Reserved()

IMPORT_C voidCNotepadDialogBase_Reserved()[private]

Reserved API entry.

CleanupSendUiFlag(TAny *)

voidCleanupSendUiFlag(TAny *aSelf)[private, static]

For cleaning up the ENotepadSendUiRunning flag.

Parameters

TAny * aSelf

ConstructL(TResourceReader &)

voidConstructL(TResourceReader &aReader)[protected]

Second phase constructor.

Parameters

TResourceReader & aReaderresource reader already opened for one of "STRUCT NOTEPAD_LIST_DIALOG", "STRUCT NOTEPAD_EDITOR_DIALOG", or "STRUCT NOTEPAD_VIEWER_DIALOG".

CreateCustomControlL(TInt)

SEikControlInfo CreateCustomControlL(TIntaControlType)[protected, virtual]

From MEikDialogPageObserver. Create customized ListBox.

Parameters

TInt aControlTypeid of dialog line.

ExecuteConfirmationQueryL(TInt)

TBool ExecuteConfirmationQueryL(TIntaPromptResId)[protected]

Show confirmation query with specified prompt and return the answer.

Parameters

TInt aPromptResIdresource id for the confirmation prompt.

ExecuteConfirmationQueryL(TDesC *)

TBool ExecuteConfirmationQueryL(TDesC *aPrompt = NULL)[protected]

Show confirmation query with specified prompt and return the answer.

Parameters

TDesC * aPrompt = NULLprompt text for the confirmation.

ExecuteLD()

IMPORT_C TIntExecuteLD()

Execute dialog (Internal to NPDLIB).

InsertSendMenuItemAfterL(CSendUi &, CEikMenuPane &, TInt)

voidInsertSendMenuItemAfterL(CSendUi &aSendUi,
CEikMenuPane &aMenuPane,
TIntaCommandId
)[protected]

Insert 'Send' menu item to aMenuPane just after aCommandId.

Parameters

CSendUi & aSendUiCSendUi object.
CEikMenuPane & aMenuPanemenu pane to insert.
TInt aCommandIdnew menu item is added after the position of this.

IsExitDelayedBySendUi()

TBool IsExitDelayedBySendUi()const [protected, inline]

For MCE, delayed exit.

IsModeless()

TBool IsModeless()[protected, inline]

Check whether this dialog is modeless.

IsNoteListDialog()

TBool IsNoteListDialog()const [protected, inline]

Check whether this dialog is for Notepad application ListDialog.

IsNotepad()

TBool IsNotepad()const [protected, inline]

Check whether this dialog is for Notepad application.

IsTemplateListDialog()

TBool IsTemplateListDialog()const [protected, inline]

Check whether this dialog is for Template List.

IsTemplates()

TBool IsTemplates()const [protected, inline]

Check whether this dialog is for Templates application.

IsWaiting()

TBool IsWaiting()const [protected, inline]

Check this dialog if waiting.

NONSHARABLE_CLASS(CCreateAndAppendFiles)

NONSHARABLE_CLASS(CCreateAndAppendFiles)[inline]

CCreateAndAppendFiles is an active object to create and append attachments.

Parameters

CCreateAndAppendFiles

ProcessCommandL(TInt)

voidProcessCommandL(TIntaCommandId)[protected, virtual]

Parameters

TInt aCommandIdcommand.

RefreshTitleL()

voidRefreshTitleL()[protected]

Set iTitle text to title pane.

SendAsL(CSendUi &, TInt, const TDesC *, const CPlainText *, const TDesC *)

voidSendAsL(CSendUi &aSendUi,
TIntaCommandId,
const TDesC *aDesC,
const CPlainText *aPlainText = NULL,
const TDesC *aFileName = NULL
)[protected]

Send text using SendUi.

Parameters

CSendUi & aSendUiCSendUi object.
TInt aCommandId
const TDesC * aDesCtext to send.
const CPlainText * aPlainText = NULLCPlainText to send.
const TDesC * aFileName = NULLfile name to send.

SendAsL(CSendUi &, TInt, TBool, const TDesC *, const CPlainText *)

voidSendAsL(CSendUi &aSendUi,
TIntaCommandId,
TBoolaFileExist,
const TDesC *aDesC,
const CPlainText *aPlainText = NULL
)[protected]

Send text using SendUi.

Parameters

CSendUi & aSendUiCSendUi object.
TInt aCommandId
TBool aFileExist
const TDesC * aDesCtext to send.
const CPlainText * aPlainText = NULLCPlainText to send.

SendByKeysL(CSendUi &, TInt, CNotepadModel &, const RArray< TInt > &)

TUid SendByKeysL(CSendUi &aSendUi,
TIntaCommandId,
CNotepadModel &aModel,
const RArray< TInt > &aKeys
)[protected]

Send items using SendUi.

Parameters

CSendUi & aSendUiCSendUi object.
TInt aCommandId
CNotepadModel & aModelCNotepadModel object.
const RArray< TInt > & aKeysa key array of items to send.

SendFileAsAttachmentL(CSendUi &, TInt, const TDesC &)

voidSendFileAsAttachmentL(CSendUi &aSendUi,
TIntaCommandId,
const TDesC &aFileName
)[private]

Send a file as an attachment.

The MTM specified by aCommandId must have capability to send a file as attachment.

Parameters

CSendUi & aSendUiCSendUi object.
TInt aCommandIda command id of send menu item.
const TDesC & aFileNamea name of the file to be sent.

SendFileAsAttachmentL(CSendUi &, TInt, RFile &)

voidSendFileAsAttachmentL(CSendUi &aSendUi,
TIntaCommandId,
RFile &aFile
)[private]

Send a file as an attachment.

The MTM specified by aCommandId must have capability to send a file as attachment.

Parameters

CSendUi & aSendUiCSendUi object.
TInt aCommandIda command id of send menu item.
RFile & aFile

SetFileHandleL(RFile &)

voidSetFileHandleL(RFile &aFile)[protected]

Set text of title pane.

Parameters

RFile & aFilefile handle.

SetTitleL(const TDesC *)

voidSetTitleL(const TDesC *aTitle)[protected]

Set text of title pane. If aTitle is NULL, no operation is done (it never leaves nor panics).

Parameters

const TDesC * aTitletitle string.

Member Enumerations Documentation

Enum TNotepadDialogBaseFlags

Enumerators

ENotepadSendUiRunning = 0x01
ENotepadSendUiDelayedExit = 0x02

Member Data Documentation

TInt iBaseFlags

TInt iBaseFlags[private]

CNotepadDialogBase::CCreateAndAppendFiles * iCreateFile

CNotepadDialogBase::CCreateAndAppendFiles *iCreateFile

RFile iFile

RFile iFile[private]

TBool iMskFlag

TBool iMskFlag[protected]

TInt iResId

TInt iResId[protected]

HBufC * iSavedTitle

HBufC *iSavedTitle[private]

CEikDialog ** iSelfPtr

CEikDialog **iSelfPtr[protected]

TDesC * iTitle

TDesC *iTitle[private]

CAknTitlePane * iTitlePane

CAknTitlePane *iTitlePane[private]