]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiChanges.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / GuiChanges.h
index 816dd03ddb976bc4da054de96c2f8163d58ef5b2..1096e6293afcd884160d37dc27dfbb2306c080de 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "GuiDialog.h"
 #include "ui_ChangesUi.h"
+
+#include "support/debug.h"
 #include "support/docstring.h"
 
 
@@ -26,7 +28,7 @@ class GuiChanges : public GuiDialog, public Ui::ChangesUi
        Q_OBJECT
 
 public:
-       GuiChanges(LyXView & lv);
+       GuiChanges(GuiView & lv);
 
 protected Q_SLOTS:
        /// accept the current change
@@ -35,9 +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);
+       ///
        void updateContents();
 
        /// Nothing to initialise in this case.
@@ -50,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