#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);
}
-void GuiNomenclature::closeEvent(QCloseEvent * e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiNomenclature::updateContents()
{
prefixED->setText(toqstr(params_["prefix"]));