]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWrap.h
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiWrap.h
index 151d2e1be1464fffbd122da7bf0efceb0bc665af..8079da7a5e01c72ed115cda40b8f4abcffd68126 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "GuiDialog.h"
 #include "ui_WrapUi.h"
+
 #include "insets/InsetWrap.h"
 
 namespace lyx {
@@ -24,25 +25,24 @@ class GuiWrap : public GuiDialog, public Ui::WrapUi
        Q_OBJECT
 
 public:
-       GuiWrap(LyXView & lv);
+       GuiWrap(GuiView & lv);
 
 private Q_SLOTS:
        void change_adaptor();
 
 private:
-       void closeEvent(QCloseEvent * e);
-       /// Apply changes
+       /// Dialog inherited methods
+       //@{
        void applyView();
-       /// update
-       void updateContents();
-       ///
+       void updateContents() {}
        bool initialiseParams(std::string const & data);
-       /// clean-up on hide.
        void clearParams();
-       /// clean-up on hide.
        void dispatchParams();
-       ///
        bool isBufferDependent() const { return true; }
+       //@}
+
+       ///
+       void paramsToDialog(InsetWrapParams const & params);
 
        ///
        InsetWrapParams params_;