]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiChanges.h
Whitespace.
[lyx.git] / src / frontends / qt4 / GuiChanges.h
index dc9b063503fc23101fed5073325591954d6d39b4..344f5e56070d313ab251e528305f4c7e5074643d 100644 (file)
 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 +35,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.