]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCompare.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / GuiCompare.h
index cb2f2706ab97d4ba684f0597e5b3e991fd0ab362..025d2da9895caa8680384935aef7e0c8dd820005 100644 (file)
 #define GUICOMPARE_H
 
 #include "GuiDialog.h"
-#include "ui_CompareUi.h"
-#include "qt_helpers.h"
 
-#include "Compare.h"
+#include "ui_CompareUi.h"
 
 namespace lyx {
+
+class Compare;
+
 namespace frontend {
 
 
@@ -39,18 +40,22 @@ private Q_SLOTS:
        ///
        void slotCancel();
        ///
-       void change_adaptor();
+       void changeAdaptor();
        ///
-       void select_newfile();
+       void selectNewFile();
        ///
-       void select_oldfile();
+       void selectOldFile();
 
+       ///
+       void error();
        ///
        void finished(bool aborted);
        ///
-       void nextIt(int);
+       void progress(int);
+       ///
+       void progressMax(int) const;
        ///
-       void progress_max(int) const;
+       void setStatusMessage(QString);
 
 private:
        ///
@@ -58,7 +63,7 @@ private:
        ///
        bool isValid();
        ///
-       bool initialiseParams(std::string const &) { return true; }
+       bool initialiseParams(std::string const &);
        ///
        bool isBufferDependent() const { return false; }
        ///
@@ -70,7 +75,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;
@@ -90,9 +95,6 @@ private:
        Buffer const * old_buffer_;
        /// the buffer that will contain the result
        Buffer const * new_buffer_;
-
-       /// the window title
-       mutable QString window_title_;
 };