X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiChanges.h;h=1096e6293afcd884160d37dc27dfbb2306c080de;hb=1f10969bb5c5f36017bf5ba8671381b09945cf57;hp=816dd03ddb976bc4da054de96c2f8163d58ef5b2;hpb=6f3cdf8da80a6b3889f2a3b8b53f44590152d600;p=lyx.git diff --git a/src/frontends/qt4/GuiChanges.h b/src/frontends/qt4/GuiChanges.h index 816dd03ddb..1096e6293a 100644 --- a/src/frontends/qt4/GuiChanges.h +++ b/src/frontends/qt4/GuiChanges.h @@ -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