]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiVSpace.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiVSpace.cpp
index 8a7442a0c75ce23e768c6d1d94d8e3b934bf6b9d..e5abcd2117301b0866959f19e0935490d1b8600f 100644 (file)
 #include "LyXRC.h" // to set the default length values
 #include "Spacing.h"
 #include "FuncRequest.h"
+
 #include "insets/InsetVSpace.h"
 
 #include "support/gettext.h"
 #include "support/lstrings.h"
 
 #include <QCheckBox>
-#include <QCloseEvent>
 #include <QLineEdit>
 #include <QPushButton>
 #include <QValidator>
@@ -82,13 +82,6 @@ GuiVSpace::GuiVSpace(GuiView & lv)
 }
 
 
-void GuiVSpace::closeEvent(QCloseEvent * e)
-{
-       slotClose();
-       e->accept();
-}
-
-
 void GuiVSpace::change_adaptor()
 {
        changed();
@@ -176,9 +169,8 @@ void GuiVSpace::updateContents()
 
 bool GuiVSpace::initialiseParams(string const & data)
 {
-       InsetVSpaceMailer::string2params(data, params_);
+       InsetVSpace::string2params(data, params_);
        setButtonsValid(true);
-
        return true;
 }
 
@@ -191,7 +183,7 @@ void GuiVSpace::clearParams()
 
 void GuiVSpace::dispatchParams()
 {
-       dispatch(FuncRequest(getLfun(), InsetVSpaceMailer::params2string(params_)));
+       dispatch(FuncRequest(getLfun(), InsetVSpace::params2string(params_)));
 }