#include "GuiDialog.h"
#include "ui_ChangesUi.h"
+
+#include "support/debug.h"
#include "support/docstring.h"
namespace lyx {
namespace frontend {
-class GuiChanges : public GuiDialog, public Ui::ChangesUi, public Controller
+class GuiChanges : public GuiDialog, public Ui::ChangesUi
{
Q_OBJECT
public:
- GuiChanges(LyXView & lv);
+ GuiChanges(GuiView & lv);
protected Q_SLOTS:
/// accept the current change
void rejectChange();
/// find the next change and highlight it
void nextChange();
+ /// find the previous change and highlight it
+ void previousChange();
private:
- void closeEvent(QCloseEvent * e);
- Controller & controller() { return *this; }
+ ///
void updateContents();
/// Nothing to initialise in this case.
bool isBufferDependent() const { return true; }
/// always true since dispatchParams() is empty
bool canApply() const { return true; }
-
- /// return date of change
- docstring changeDate() const;
- /// return author of change
- docstring changeAuthor() const;
};
} // namespace frontend