]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiTabularCreate.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiTabularCreate.cpp
index 76f4362e3d2676c2ecd259a9cbe94ca90e183c1f..12641443a2468e58126da12a26954eac33cbf8fd 100644 (file)
 
 #include "support/convert.h"
 
-#include <QCloseEvent>
 #include <QSpinBox>
 #include <QPushButton>
 
-using std::string;
-
+using namespace std;
 
 namespace lyx {
 namespace frontend {
 
-GuiTabularCreate::GuiTabularCreate(LyXView & lv)
-       : GuiDialog(lv, "tabularcreate")
+GuiTabularCreate::GuiTabularCreate(GuiView & lv)
+       : GuiDialog(lv, "tabularcreate", qt_("Insert Table"))
 {
        setupUi(this);
-       setViewTitle(_("Insert Table"));
 
        rowsSB->setValue(5);
        columnsSB->setValue(5);
@@ -91,7 +88,7 @@ void GuiTabularCreate::dispatchParams()
 }
 
 
-Dialog * createGuiTabularCreate(LyXView & lv)
+Dialog * createGuiTabularCreate(GuiView & lv)
 {
        return new GuiTabularCreate(lv);
 }
@@ -100,4 +97,4 @@ Dialog * createGuiTabularCreate(LyXView & lv)
 } // namespace frontend
 } // namespace lyx
 
-#include "GuiTabularCreate_moc.cpp"
+#include "moc_GuiTabularCreate.cpp"