+ clearMessageText();
+}
+
+
+void GuiProgress::startFlushing()
+{
+ flushDelay_.start();
+}
+
+
+void GuiProgress::lyxerrFlush()
+{
+ triggerFlush();
+}
+
+
+void GuiProgress::updateWithLyXErr()
+{
+ appendLyXErrMessage(toqstr(lyxerr_stream_.str()));
+ lyxerr_stream_.str("");
+}
+
+
+void GuiProgress::lyxerrConnect()
+{
+ lyxerr.setSecondStream(&lyxerr_stream_);
+}
+
+
+void GuiProgress::lyxerrDisconnect()
+{
+ lyxerr.setSecondStream(0);
+}
+
+
+GuiProgress::~GuiProgress()
+{
+ lyxerrDisconnect();