X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiProgress.h;h=09c891acd1e9601aa21a66681038b6a611f36109;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=a47eb749867eb561c96b66b83e2d99002b96292a;hpb=dd4cbb3591d20498e6410f1156f4f99e306ad73f;p=lyx.git diff --git a/src/frontends/qt4/GuiProgress.h b/src/frontends/qt4/GuiProgress.h index a47eb74986..09c891acd1 100644 --- a/src/frontends/qt4/GuiProgress.h +++ b/src/frontends/qt4/GuiProgress.h @@ -5,6 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Peter Kümmel + * \author Pavel Sanda * * Full author contact details are available in file CREDITS. */ @@ -20,7 +21,7 @@ #include #include -#include +#include namespace lyx { @@ -35,7 +36,11 @@ class GuiProgress : public: GuiProgress(GuiView * view); + ~GuiProgress(); + void lyxerrConnect(); + void lyxerrDisconnect(); + void lyxerrFlush(); Q_SIGNALS: void processStarted(QString const &); @@ -43,6 +48,7 @@ Q_SIGNALS: void appendMessage(QString const &); void appendError(QString const &); void clearMessages(); + void appendLyXErrMessage(QString const & text); // Alert interface void warning(QString const & title, QString const & message); @@ -57,7 +63,6 @@ private Q_SLOTS: void doAppendError(QString const &); void doClearMessages(); - void doWarning(QString const &, QString const &); void doToggleWarning(QString const & title, QString const & msg, QString const & formatted); void doError(QString const &, QString const &); @@ -67,6 +72,7 @@ private Q_SLOTS: private: GuiView* view_; void appendText(QString const &); + std::ostringstream lyxerr_stream_; };