#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"), Controller(this)
+GuiTabularCreate::GuiTabularCreate(GuiView & lv)
+ : GuiDialog(lv, "tabularcreate", qt_("Insert Table"))
{
setupUi(this);
- setViewTitle(_("Insert Table"));
- setController(this, false);
rowsSB->setValue(5);
columnsSB->setValue(5);
}
-Dialog * createGuiTabularCreate(LyXView & lv)
+Dialog * createGuiTabularCreate(GuiView & lv)
{
return new GuiTabularCreate(lv);
}
} // namespace frontend
} // namespace lyx
-#include "GuiTabularCreate_moc.cpp"
+#include "moc_GuiTabularCreate.cpp"