]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.h
Output labels (1.1, etc) with the TOC.
[lyx.git] / src / Compare.h
index 39ba46967146f3aa8aefe4412cb552e9fc82907f..f94761fc57628a2b7ff188a7927a61b47b4889de 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <QObject>
 #include <QThread>
+#include <QTimer>
 #include <QWaitCondition>
 
 #include <string>
@@ -73,6 +74,13 @@ Q_SIGNALS:
        /// Sets the maximum value of the progress bar in the dialog.
        void progressMax(int max) const;
 
+       /// A message describing the process
+       void statusMessage(QString msg) const;
+
+public Q_SLOTS:
+       /// Emits the status message signal
+       void doStatusMessage();
+
 public:
        /// QThread inherited methods
        //@{
@@ -99,6 +107,9 @@ private:
        ///
        QWaitCondition condition_;
 
+       /// Emit a statusMessage signal from time to time
+       QTimer status_timer_;
+
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        ///