X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCompare.h;h=c1956c13ccbb0207f187a8a0aa2283a9d735fcf2;hb=7d4292918e6bf66649229e2946e6ac0a30694494;hp=f2583aebaa87346b42c29091fed9a9090ff12ca4;hpb=1ff6b1122b064912725fcf58a711bce8d510e0a6;p=lyx.git diff --git a/src/Compare.h b/src/Compare.h index f2583aebaa..c1956c13cc 100644 --- a/src/Compare.h +++ b/src/Compare.h @@ -14,12 +14,9 @@ #include "Buffer.h" -#include "support/FileName.h" - -#include - #include #include +#include #include @@ -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; ///