X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCompare.h;h=c1956c13ccbb0207f187a8a0aa2283a9d735fcf2;hb=2992bb04da2b9f72e595df21ba9e8206af7c1816;hp=39ba46967146f3aa8aefe4412cb552e9fc82907f;hpb=43c8de81388ffa0c7f0530bedb14ac3b9ed82e1e;p=lyx.git diff --git a/src/Compare.h b/src/Compare.h index 39ba469671..c1956c13cc 100644 --- a/src/Compare.h +++ b/src/Compare.h @@ -14,14 +14,11 @@ #include "Buffer.h" -#include "support/FileName.h" - #include #include +#include #include -#include - namespace lyx { @@ -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; ///