]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiChanges.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / GuiChanges.h
index dc9b063503fc23101fed5073325591954d6d39b4..1096e6293afcd884160d37dc27dfbb2306c080de 100644 (file)
 
 #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
@@ -35,10 +37,11 @@ protected Q_SLOTS:
        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.
@@ -51,11 +54,6 @@ private:
        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