]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWrap.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiWrap.h
index b06b686b746880d40e230d27d93e004f96a3eb1d..dbb20edb6b754e323e5eb34b826a0d248ff2207f 100644 (file)
 #define GUIWRAP_H
 
 #include "GuiDialog.h"
-#include "ControlWrap.h"
 #include "ui_WrapUi.h"
+#include "insets/InsetWrap.h"
 
 namespace lyx {
 namespace frontend {
 
-class GuiWrapDialog : public GuiDialog, public Ui::WrapUi
+class GuiWrap : public GuiDialog, public Ui::WrapUi
 {
        Q_OBJECT
 
 public:
-       GuiWrapDialog(LyXView & lv);
+       GuiWrap(GuiView & lv);
 
 private Q_SLOTS:
        void change_adaptor();
 
 private:
-       void closeEvent(QCloseEvent * e);
-       /// parent controller
-       ControlWrap & controller() const;
        /// Apply changes
        void applyView();
        /// update
-       void update_contents();
+       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; }
+
+       ///
+       InsetWrapParams params_;
 };
 
 } // namespace frontend