#include "qt_helpers.h"
+#include "support/gettext.h"
#include "support/lstrings.h"
#include "support/lyxtime.h"
#include "lyxfind.h"
#include "LyXRC.h"
-#include <QCloseEvent>
#include <QTextBrowser>
using support::bformat;
-GuiChanges::GuiChanges(LyXView & lv)
- : GuiDialog(lv, "changes")
+GuiChanges::GuiChanges(GuiView & lv)
+ : GuiDialog(lv, "changes", qt_("Merge Changes"))
{
setupUi(this);
- setViewTitle(_("Merge Changes"));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
connect(nextPB, SIGNAL(clicked()), this, SLOT(nextChange()));
}
-void GuiChanges::closeEvent(QCloseEvent *e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiChanges::updateContents()
{
docstring text;
}
-Dialog * createGuiChanges(LyXView & lv) { return new GuiChanges(lv); }
+Dialog * createGuiChanges(GuiView & lv) { return new GuiChanges(lv); }
} // namespace frontend