CustomReportEvent Class Reference

The CustomReportEvent class is used to send report events in the methods Log(), Error(), Warning() and Message() of the ReportOutput class to itself instead of printing the messages directly in its text view. More...

List of all members.

Public Member Functions

 CustomReportEvent (ReportHighlighter::Paragraph p, const QString &s)
const QString & message () const
ReportHighlighter::Paragraph messageType () const
 ~CustomReportEvent ()

Detailed Description

The CustomReportEvent class is used to send report events in the methods Log(), Error(), Warning() and Message() of the ReportOutput class to itself instead of printing the messages directly in its text view.

This makes the methods Log(), Error(), Warning() and Message() thread-safe.

Author:
Werner Mayer

Definition at line 209 of file ReportView.cpp.


Constructor & Destructor Documentation

CustomReportEvent::CustomReportEvent ( ReportHighlighter::Paragraph  p,
const QString &  s 
) [inline]

Definition at line 212 of file ReportView.cpp.

References draftTools::msg().

CustomReportEvent::~CustomReportEvent (  )  [inline]

Definition at line 215 of file ReportView.cpp.


Member Function Documentation

const QString& CustomReportEvent::message (  )  const [inline]

Definition at line 217 of file ReportView.cpp.

References draftTools::msg().

Referenced by Gui::DockWnd::ReportOutput::customEvent().

ReportHighlighter::Paragraph CustomReportEvent::messageType (  )  const [inline]

Definition at line 219 of file ReportView.cpp.

Referenced by Gui::DockWnd::ReportOutput::customEvent().


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:01:37 2011 for FreeCAD by  doxygen 1.6.1