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 42 of file SMSExampleLogView.h.


Constructor & Destructor Documentation

CLogView::~CLogView (  ) 

Destroy the object

Definition at line 79 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 45 of file SMSExampleLogView.cpp.

CLogView * CLogView::NewLC (  )  [static]

Create a CLogView object

Returns:
a pointer to the created instance of CLogView

Definition at line 57 of file SMSExampleLogView.cpp.

TUid CLogView::Id (  )  const

Identity of this view to the system

Returns:
the ID of view

Definition at line 105 of file SMSExampleLogView.cpp.

void CLogView::HandleCommandL ( TInt  aCommand  ) 

Handle commands

Parameters:
aCommand Command to be handled

Definition at line 183 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 118 of file SMSExampleLogView.cpp.

void CLogView::DoDeactivate (  ) 

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

Definition at line 132 of file SMSExampleLogView.cpp.

void CLogView::DrawTextL ( const TDesC &  aText  ) 

Draw text into the log.

Parameters:
aText text to be drawn.

Definition at line 193 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 163 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 173 of file SMSExampleLogView.cpp.

void CLogView::AddCarriageReturnL (  ) 

Line break.

Definition at line 203 of file SMSExampleLogView.cpp.

void CLogView::LogEventBeginningL (  ) 

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

Definition at line 148 of file SMSExampleLogView.cpp.


Generated by  doxygen 1.6.2