X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiBranch.h;h=b491d738bec9f7b2579509722001abb81b5cb499;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=b0a78638c69f1c7ec767c1fb2abacfaa43f40d26;hpb=470aba2a0e552f27d55992372c09f15af9725fa8;p=lyx.git diff --git a/src/frontends/qt4/GuiBranch.h b/src/frontends/qt4/GuiBranch.h index b0a78638c6..b491d738be 100644 --- a/src/frontends/qt4/GuiBranch.h +++ b/src/frontends/qt4/GuiBranch.h @@ -4,7 +4,9 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Jürgen Spitzmüller + * \author Angus Leeming + * \author Martin Vermeer + * \author Jürgen Spitzmüller * * Full author contact details are available in file CREDITS. */ @@ -13,33 +15,40 @@ #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(); 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