X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiChanges.h;h=344f5e56070d313ab251e528305f4c7e5074643d;hb=ee7dd4a11ea21851e7e32164c66b37d3bc8ac31d;hp=dc9b063503fc23101fed5073325591954d6d39b4;hpb=64e5b6de925fdb3fe523ffa6225d25f16b3d035d;p=lyx.git diff --git a/src/frontends/qt4/GuiChanges.h b/src/frontends/qt4/GuiChanges.h index dc9b063503..344f5e5607 100644 --- a/src/frontends/qt4/GuiChanges.h +++ b/src/frontends/qt4/GuiChanges.h @@ -21,12 +21,12 @@ 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.