X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiBranch.h;h=e33e151a73c7ec221ffbf4d7a6e3b80744e38e09;hb=dd3842505b22a768c9b3f71d7e675f9c06381699;hp=b0a78638c69f1c7ec767c1fb2abacfaa43f40d26;hpb=470aba2a0e552f27d55992372c09f15af9725fa8;p=lyx.git diff --git a/src/frontends/qt4/GuiBranch.h b/src/frontends/qt4/GuiBranch.h index b0a78638c6..e33e151a73 100644 --- a/src/frontends/qt4/GuiBranch.h +++ b/src/frontends/qt4/GuiBranch.h @@ -4,6 +4,8 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * + * \author Angus Leeming + * \author Martin Vermeer * \author Jürgen Spitzmüller * * Full author contact details are available in file CREDITS. @@ -13,18 +15,19 @@ #define GUIBRANCH_H #include "GuiDialog.h" -#include "ControlBranch.h" #include "ui_BranchUi.h" +#include "insets/InsetBranch.h" + namespace lyx { namespace frontend { -class GuiBranchDialog : public GuiDialog, public Ui::BranchUi +class GuiBranch : public GuiDialog, public Ui::BranchUi { Q_OBJECT public: - GuiBranchDialog(LyXView & lv); + GuiBranch(GuiView & lv); private Q_SLOTS: void change_adaptor(); @@ -32,14 +35,22 @@ private Q_SLOTS: private: /// void closeEvent(QCloseEvent * e); - /// parent controller - ControlBranch & controller(); /// Apply changes void applyView(); /// Update dialog before showing it void updateContents(); -}; + /// + bool initialiseParams(std::string const & data); + /// + void clearParams(); + /// + void dispatchParams(); + /// + bool isBufferDependent() const { return true; } + /// + InsetBranchParams params_; +}; } // namespace frontend } // namespace lyx