]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiProgress.h
Fix handling of the add branch textfield in GuiBranches
[lyx.git] / src / frontends / qt4 / GuiProgress.h
index 5248dcc40b5a88f33155cb25c59fc121ca82570b..a514733eb7a85bdc03652724171f07e2e29a84ef 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "DockView.h"
 
-#include <QTextEdit>
+
 #include <QSplashScreen>
 #include <QTimer>
 
@@ -42,6 +42,12 @@ public:
        void lyxerrDisconnect();
        void lyxerrFlush();
 
+       int prompt(docstring const & title, docstring const & question,
+                  int default_button, int cancel_button,
+                  docstring const & b1, docstring const & b2);
+
+       static QString currentTime();
+
 Q_SIGNALS:
 
        // ProgressInterface
@@ -53,8 +59,9 @@ Q_SIGNALS:
        void appendLyXErrMessage(QString const & text);
 
 
-       void clearMessageText();    
+       void clearMessageText();
        void updateStatusBarMessage(QString const &);
+       void triggerFlush();
 
        // Alert interface
        void warning(QString const & title, QString const & message);
@@ -74,10 +81,14 @@ private Q_SLOTS:
        void doError(QString const &, QString const &);
        void doInformation(QString const &, QString const &);
 
+       void updateWithLyXErr();
+       void startFlushing();
+
 
 private:
        void appendText(QString const &);
        std::ostringstream lyxerr_stream_;
+       QTimer flushDelay_;
 };