]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiNote.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiNote.cpp
index 6c3eff5fc61a068478f70c01301aa678267277fc..038b053623fd5a14f2f8e78bf06975c7dbaa1aac 100644 (file)
@@ -17,8 +17,6 @@
 
 #include "insets/InsetNote.h"
 
-#include <QCloseEvent>
-
 using namespace std;
 
 namespace lyx {
@@ -42,13 +40,6 @@ GuiNote::GuiNote(GuiView & lv)
 }
 
 
-void GuiNote::closeEvent(QCloseEvent * e)
-{
-       slotClose();
-       e->accept();
-}
-
-
 void GuiNote::change_adaptor()
 {
        changed();
@@ -84,7 +75,7 @@ void GuiNote::applyView()
 
 bool GuiNote::initialiseParams(string const & data)
 {
-       InsetNoteMailer::string2params(data, params_);
+       InsetNote::string2params(data, params_);
        return true;
 }
 
@@ -97,7 +88,7 @@ void GuiNote::clearParams()
 
 void GuiNote::dispatchParams()
 {
-       dispatch(FuncRequest(getLfun(), InsetNoteMailer::params2string(params_)));
+       dispatch(FuncRequest(getLfun(), InsetNote::params2string(params_)));
 }