CLogView Class Reference

List of all members.

Public Member Functions

 ~CLogView ()
TUid Id () const
void HandleCommandL (TInt aCommand)
void DoActivateL (const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage)
void DoDeactivate ()
void SizeChanged ()
void DrawTextL (const TDesC &aText)
void DrawUnderlinedTextL (const TDesC &aText)
void DrawTextWithoutCarriageL (const TDesC &aText)
void AddCarriageReturnL ()
void LogEventBeginningL ()

Static Public Member Functions

static CLogViewNewL ()
static CLogViewNewLC ()

Detailed Description

Log view that uses RichTextEditor.

Definition at line 17 of file SMSExampleLogView.h.


Constructor & Destructor Documentation

CLogView::~CLogView (  ) 

Destroy the object

Definition at line 54 of file SMSExampleLogView.cpp.


Member Function Documentation

CLogView * CLogView::NewL (  )  [static]

Create a CLogView object

Returns:
a pointer to the created instance of CLogView

Definition at line 20 of file SMSExampleLogView.cpp.

CLogView * CLogView::NewLC (  )  [static]

Create a CLogView object

Returns:
a pointer to the created instance of CLogView

Definition at line 32 of file SMSExampleLogView.cpp.

TUid CLogView::Id (  )  const

Identity of this view to the system

Returns:
the ID of view

Definition at line 80 of file SMSExampleLogView.cpp.

void CLogView::HandleCommandL ( TInt  aCommand  ) 

Handle commands

Parameters:
aCommand Command to be handled

Definition at line 158 of file SMSExampleLogView.cpp.

void CLogView::DoActivateL ( const TVwsViewId &  aPrevViewId,
TUid  aCustomMessageId,
const TDesC8 &  aCustomMessage 
)

Create the Container class object

Parameters:
aPrevViewId The id of the previous view
aCustomMessageId message identifier
aCustomMessage custom message provided when view is changed

Definition at line 93 of file SMSExampleLogView.cpp.

void CLogView::DoDeactivate (  ) 

Remove the container class instance from the App UI's stack

Definition at line 107 of file SMSExampleLogView.cpp.

void CLogView::DrawTextL ( const TDesC &  aText  ) 

Draw text into the log.

Parameters:
aText text to be drawn.

Definition at line 168 of file SMSExampleLogView.cpp.

void CLogView::DrawUnderlinedTextL ( const TDesC &  aText  ) 

Draw underlined text into the log.

Parameters:
aText text to be drawn.

Definition at line 138 of file SMSExampleLogView.cpp.

void CLogView::DrawTextWithoutCarriageL ( const TDesC &  aText  ) 

Draw text into the log. Do not add line break at the end of the text.

Parameters:
aText text to be drawn.

Definition at line 148 of file SMSExampleLogView.cpp.

void CLogView::AddCarriageReturnL (  ) 

Line break.

Definition at line 178 of file SMSExampleLogView.cpp.

void CLogView::LogEventBeginningL (  ) 

Begin a log event (prints a line and current time).

Definition at line 123 of file SMSExampleLogView.cpp.


Generated by  doxygen 1.6.2