]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDelimiter.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiDelimiter.h
index e3724500b1fa311bed4b54da79a69978ac6b1058..62843742b70447424960e427d7f2d2f9c935bf53 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.
  *
@@ -12,8 +12,7 @@
 #ifndef GUIDELIMITERDIALOG_H
 #define GUIDELIMITERDIALOG_H
 
-#include "GuiDialog.h"
-#include "ControlMath.h"
+#include "GuiMath.h"
 #include "ui_DelimiterUi.h"
 
 class QListWidgetItem;
@@ -21,12 +20,12 @@ class QListWidgetItem;
 namespace lyx {
 namespace frontend {
 
-class GuiDelimiterDialog : public GuiDialog, public Ui::DelimiterUi
+class GuiDelimiter : public GuiMath, public Ui::DelimiterUi
 {
        Q_OBJECT
 
 public:
-       GuiDelimiterDialog(LyXView & lv);
+       GuiDelimiter(GuiView & lv);
 
 public Q_SLOTS:
        void on_leftLW_itemActivated(QListWidgetItem *);
@@ -39,11 +38,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_;