X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiFloat.cpp;h=773a7f0ba88dacb917789f8c568614f59adf8b4d;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=14657a73f4246a2bcfeabb747a7058f431e39c85;hpb=6bb94129d8a5e087642458eb098c09c54c3c425e;p=lyx.git diff --git a/src/frontends/qt4/GuiFloat.cpp b/src/frontends/qt4/GuiFloat.cpp index 14657a73f4..773a7f0ba8 100644 --- a/src/frontends/qt4/GuiFloat.cpp +++ b/src/frontends/qt4/GuiFloat.cpp @@ -17,7 +17,6 @@ #include "insets/InsetFloat.h" -#include #include using namespace std; @@ -59,13 +58,6 @@ void GuiFloat::change_adaptor() } -void GuiFloat::closeEvent(QCloseEvent * e) -{ - slotClose(); - e->accept(); -} - - void GuiFloat::updateContents() { floatFP->set(params_); @@ -80,7 +72,7 @@ void GuiFloat::applyView() bool GuiFloat::initialiseParams(string const & data) { - InsetFloatMailer::string2params(data, params_); + InsetFloat::string2params(data, params_); return true; } @@ -93,7 +85,7 @@ void GuiFloat::clearParams() void GuiFloat::dispatchParams() { - dispatch(FuncRequest(getLfun(), InsetFloatMailer::params2string(params_))); + dispatch(FuncRequest(getLfun(), InsetFloat::params2string(params_))); } @@ -103,4 +95,4 @@ Dialog * createGuiFloat(GuiView & lv) { return new GuiFloat(lv); } } // namespace frontend } // namespace lyx -#include "GuiFloat_moc.cpp" +#include "moc_GuiFloat.cpp"