SLOT(doError(QString const &, QString const &)));
connect(this, SIGNAL(information(QString const &, QString const &)),
SLOT(doInformation(QString const &, QString const &)));
SLOT(doError(QString const &, QString const &)));
connect(this, SIGNAL(information(QString const &, QString const &)),
SLOT(doInformation(QString const &, QString const &)));
+ connect(this, SIGNAL(triggerFlush()),
+ SLOT(startFlushing()));
flushDelay_.setInterval(200);
flushDelay_.setSingleShot(true);
flushDelay_.setInterval(200);
flushDelay_.setSingleShot(true);
-void GuiProgress::lyxerrFlush()
+void GuiProgress::startFlushing()
+void GuiProgress::lyxerrFlush()
+{
+ triggerFlush();
+}
+
+
void GuiProgress::updateWithLyXErr()
{
appendLyXErrMessage(toqstr(lyxerr_stream_.str()));
void GuiProgress::updateWithLyXErr()
{
appendLyXErrMessage(toqstr(lyxerr_stream_.str()));
void appendLyXErrMessage(QString const & text);
void appendLyXErrMessage(QString const & text);
- void clearMessageText();
+ void clearMessageText();
void updateStatusBarMessage(QString const &);
void updateStatusBarMessage(QString const &);
// Alert interface
void warning(QString const & title, QString const & message);
// Alert interface
void warning(QString const & title, QString const & message);
void doError(QString const &, QString const &);
void doInformation(QString const &, QString const &);
void doError(QString const &, QString const &);
void doInformation(QString const &, QString const &);
- void updateWithLyXErr();
+ void updateWithLyXErr();
+ void startFlushing();