#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);
}
-Dialog * createGuiMathMatrix(LyXView & lv) { return new GuiMathMatrix(lv); }
+Dialog * createGuiMathMatrix(GuiView & lv) { return new GuiMathMatrix(lv); }
} // namespace frontend