]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiNomencl.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiNomencl.cpp
index 77d1118fb9cfc4b8fe988ef07193bd8ef9f68137..b34ba798cd142146d63ecbfb5cdeb25f98a23cc3 100644 (file)
 
 #include "GuiNomencl.h"
 
-#include "debug.h"
 #include "qt_helpers.h"
 
+#include "support/debug.h"
+
 #include <QLabel>
 #include <QLineEdit>
 #include <QPushButton>
 #include <QTextEdit>
 #include <QWhatsThis>
-#include <QCloseEvent>
 
-using std::string;
+using namespace std;
 
 namespace lyx {
 namespace frontend {
 
 GuiNomenclature::GuiNomenclature(GuiView & lv)
-       : GuiCommand(lv, "nomenclature")
+       : GuiCommand(lv, "nomenclature", qt_("Nomenclature"))
 {
        setupUi(this);
 
@@ -63,13 +63,6 @@ void GuiNomenclature::reject()
 }
 
 
-void GuiNomenclature::closeEvent(QCloseEvent * e)
-{
-       slotClose();
-       e->accept();
-}
-
-
 void GuiNomenclature::updateContents()
 {
        prefixED->setText(toqstr(params_["prefix"]));