]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDelimiter.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiDelimiter.h
index e3724500b1fa311bed4b54da79a69978ac6b1058..fa2ebda264632453e32bfc4908ce7bd1c780e6b5 100644 (file)
@@ -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_;