]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiMathMatrix.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / GuiMathMatrix.h
index 197581b1a9f33407ec2db9ae74c590f6e49e282f..8f2f036eabec76a0d326c1eb0392c3e08182c9cf 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author John Levon
  * \author Edwin Leuven
- * \author Jürgen Spitzmüller
+ * \author Jürgen Spitzmüller
  *
  * Full author contact details are available in file CREDITS.
  */
 #ifndef GUIMATHMATRIX_H
 #define GUIMATHMATRIX_H
 
-#include "GuiMath.h"
-#include "ui_MathMatrixUi.h"
+#include "GuiDialog.h"
 
-#include <QDialog>
+#include "ui_MathMatrixUi.h"
 
 namespace lyx {
 namespace frontend {
 
-class GuiMathMatrix : public GuiMath, public Ui::MathMatrixUi
+class GuiMathMatrix : public GuiDialog, public Ui::MathMatrixUi
 {
        Q_OBJECT
 
 public:
-       GuiMathMatrix(LyXView & lv);
+       GuiMathMatrix(GuiView & lv);
+
+       bool initialiseParams(std::string const &) { return true; }
+       void clearParams() {}
+       void dispatchParams() {}
+       bool isBufferDependent() const { return true; }
 
 public Q_SLOTS:
        void slotOK();
        void slotClose();
        void columnsChanged(int);
-       void rowsChanged(int);
+       void decorationChanged(int);
        void change_adaptor();
 };