]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.h
Account for old versions of Pygments
[lyx.git] / src / Compare.h
index f2583aebaa87346b42c29091fed9a9090ff12ca4..c1956c13ccbb0207f187a8a0aa2283a9d735fcf2 100644 (file)
 
 #include "Buffer.h"
 
-#include "support/FileName.h"
-
-#include <string>
-
 #include <QObject>
 #include <QThread>
+#include <QTimer>
 #include <QWaitCondition>
 
 
@@ -73,8 +70,15 @@ 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
+       /// \name QThread inherited methods
        //@{
        void run();
        //@}
@@ -99,6 +103,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;
        ///