X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiWrap.h;h=2cb1265d8cb49775cedf4518d256948097cba545;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=151d2e1be1464fffbd122da7bf0efceb0bc665af;hpb=6f3cdf8da80a6b3889f2a3b8b53f44590152d600;p=lyx.git diff --git a/src/frontends/qt4/GuiWrap.h b/src/frontends/qt4/GuiWrap.h index 151d2e1be1..2cb1265d8c 100644 --- a/src/frontends/qt4/GuiWrap.h +++ b/src/frontends/qt4/GuiWrap.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Jürgen Spitzmüller + * \author Jürgen Spitzmüller * * Full author contact details are available in file CREDITS. */ @@ -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_;