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...
Public Member Functions | |
CustomReportEvent (ReportHighlighter::Paragraph p, const QString &s) | |
const QString & | message () const |
ReportHighlighter::Paragraph | messageType () const |
~CustomReportEvent () |
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.
Definition at line 209 of file ReportView.cpp.
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.
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().