#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 {
///
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:
///
///
bool isValid();
///
- bool initialiseParams(std::string const &) { return true; }
+ bool initialiseParams(std::string const &);
///
bool isBufferDependent() const { return false; }
///
/// 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;
Buffer const * old_buffer_;
/// the buffer that will contain the result
Buffer const * new_buffer_;
-
- /// the window title
- mutable QString window_title_;
};