X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiDelimiter.h;h=fa2ebda264632453e32bfc4908ce7bd1c780e6b5;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=e3724500b1fa311bed4b54da79a69978ac6b1058;hpb=c9ea6e6eef090b863fb54445010f24443b15eb23;p=lyx.git diff --git a/src/frontends/qt4/GuiDelimiter.h b/src/frontends/qt4/GuiDelimiter.h index e3724500b1..fa2ebda264 100644 --- a/src/frontends/qt4/GuiDelimiter.h +++ b/src/frontends/qt4/GuiDelimiter.h @@ -1,6 +1,6 @@ // -*- C++ -*- /** - * \file GuiDelimiterDialog.h + * \file GuiDelimiter.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * @@ -13,7 +13,7 @@ #define GUIDELIMITERDIALOG_H #include "GuiDialog.h" -#include "ControlMath.h" + #include "ui_DelimiterUi.h" class QListWidgetItem; @@ -21,12 +21,17 @@ class QListWidgetItem; namespace lyx { namespace frontend { -class GuiDelimiterDialog : public GuiDialog, public Ui::DelimiterUi +class GuiDelimiter : public GuiDialog, public Ui::DelimiterUi { Q_OBJECT public: - GuiDelimiterDialog(LyXView & lv); + GuiDelimiter(GuiView & lv); + + bool initialiseParams(std::string const &) { return true; } + void clearParams() {} + void dispatchParams() {} + bool isBufferDependent() const { return true; } public Q_SLOTS: void on_leftLW_itemActivated(QListWidgetItem *); @@ -39,11 +44,9 @@ public Q_SLOTS: private: /// - char_type doMatch(char_type const symbol) const; + char_type doMatch(char_type const symbol); /// void updateTeXCode(int size); - /// parent controller - ControlMath & controller() const; /// TeX code that will be inserted. QString tex_code_;