X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiCompare.h;h=47f70a12abc9153ff2ebc0441e19a4d041a975d0;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=f02ee4bf238dc69d46d9c3c9a029d09a30f669ea;hpb=0fafccb7ed7d64e7f67bd51e5ccd6f279fde80d5;p=lyx.git diff --git a/src/frontends/qt4/GuiCompare.h b/src/frontends/qt4/GuiCompare.h index f02ee4bf23..47f70a12ab 100644 --- a/src/frontends/qt4/GuiCompare.h +++ b/src/frontends/qt4/GuiCompare.h @@ -16,6 +16,8 @@ #include "ui_CompareUi.h" #include "qt_helpers.h" +#include "Compare.h" + namespace lyx { namespace frontend { @@ -43,12 +45,16 @@ private Q_SLOTS: /// void selectOldFile(); + /// + void error(); /// void finished(bool aborted); /// - void nextIt(int); + void progress(int); /// void progressMax(int) const; + /// + void setStatusMessage(QString); private: /// @@ -68,7 +74,7 @@ private: /// enable or disable all controls and rename the Close/Cancel button - void enableControls(bool enable) const; + void enableControls(bool enable); /// browse for a file QString browse(QString const & in_name) const; @@ -79,15 +85,15 @@ private: int run(); private: + /// the object that will do the comparison + Compare * compare_; + /// the buffer that will contain the result Buffer * dest_buffer_; /// the buffer that will contain the result Buffer const * old_buffer_; /// the buffer that will contain the result Buffer const * new_buffer_; - - /// the window title - mutable QString window_title_; };