MEikCcpuEditor Class Reference

#include <mw/eikccpu.h>

class MEikCcpuEditor
Public Member Functions
pure virtual TBool CcpuCanCopy()
pure virtual TBool CcpuCanCut()
pure virtual TBool CcpuCanPaste()
pure virtual TBool CcpuCanUndo()
pure virtual voidCcpuCopyL()
pure virtual voidCcpuCutL()
pure virtual TBool CcpuIsFocused()
pure virtual voidCcpuPasteL()
pure virtual voidCcpuUndoL()

Detailed Description

Interface for cut, copy, paste and undo functionality.

Member Function Documentation

CcpuCanCopy ( )

TBool CcpuCanCopy()const [pure virtual]

Derived classes must provide the implementation for following:

Tests whether the selected text can be copied.

Returns: ETrue if it is possible to copy the selected text.

CcpuCanCut ( )

TBool CcpuCanCut()const [pure virtual]

Derived classes must provide the implementation for following:

Tests whether the selected text can be cut.

Returns: ETrue if it is possible to cut the selected text.

CcpuCanPaste ( )

TBool CcpuCanPaste()const [pure virtual]

Derived classes must provide the implementation for following:

Tests whether text can be pasted from the clipboard.

Returns: ETrue if it is possible to paste the clipboard text.

CcpuCanUndo ( )

TBool CcpuCanUndo()const [pure virtual]

Derived classes must provide the implementation for following:

Tests is it possible to undo previous operation.

Returns: ETrue if it is possible to undo previous operation.

CcpuCopyL ( )

voidCcpuCopyL()[pure virtual]

Derived classes must provide the implementation for following:

Copies selected text.

CcpuCutL ( )

voidCcpuCutL()[pure virtual]

Derived classes must provide the implementation for following:

Cuts selected text.

CcpuIsFocused ( )

TBool CcpuIsFocused()const [pure virtual]

Derived classes must provide the implementation for following:

Tests whether the editor is focused.

Returns: If editor is focused, ETrue is returned.

CcpuPasteL ( )

voidCcpuPasteL()[pure virtual]

Derived classes must provide the implementation for following:

Pastes text from the clipboard to the editor.

CcpuUndoL ( )

voidCcpuUndoL()[pure virtual]

Derived classes must provide the implementation for following:

Undoes the most recent text operation when the editor supports this feature and when the undo store is not empty