]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiMathMatrix.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiMathMatrix.cpp
index 6137e4e1f36ac5aaa67fbacf1ba5a46ae1289760..b7dae78b48be2c7ab5b9e00901509a5e52417548 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "EmptyTable.h"
 #include "qt_helpers.h"
-#include "gettext.h"
+#include "support/gettext.h"
 
 #include <sstream>
 
 #include <QPushButton>
 #include <QSpinBox>
 
-using std::ostringstream;
-using std::string;
+using namespace std;
 
 namespace lyx {
 namespace frontend {
 
-GuiMathMatrix::GuiMathMatrix(LyXView & lv)
-       : GuiMath(lv, "mathmatrix")
+GuiMathMatrix::GuiMathMatrix(GuiView & lv)
+       : GuiMath(lv, "mathmatrix", qt_("Math Matrix"))
 {
        setupUi(this);
-       setViewTitle(_("Math Matrix"));
 
        table->setMinimumSize(100, 100);
        rowsSB->setValue(5);
@@ -109,7 +107,7 @@ void GuiMathMatrix::slotClose()
 }
 
 
-Dialog * createGuiMathMatrix(LyXView & lv) { return new GuiMathMatrix(lv); }
+Dialog * createGuiMathMatrix(GuiView & lv) { return new GuiMathMatrix(lv); }
 
 
 } // namespace frontend