X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCompare.h;h=f07ecea714280060348179115aebe8e0b15ef1fe;hb=5678dc566f8873b489c66ffa5772a74c387a6396;hp=f2583aebaa87346b42c29091fed9a9090ff12ca4;hpb=1ff6b1122b064912725fcf58a711bce8d510e0a6;p=lyx.git diff --git a/src/Compare.h b/src/Compare.h index f2583aebaa..f07ecea714 100644 --- a/src/Compare.h +++ b/src/Compare.h @@ -16,12 +16,13 @@ #include "support/FileName.h" -#include - #include #include +#include #include +#include + namespace lyx { @@ -73,8 +74,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 +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; ///