X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiBibitem.h;h=b0c34e79b7e9709bc47dbb499bfc4af876311f2f;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=8d7ea4faa666f9dcfbbfd0c0be00b044accbda99;hpb=9f3c7cf1ea1851cd77bd07b369a602a9608c265d;p=lyx.git diff --git a/src/frontends/qt4/GuiBibitem.h b/src/frontends/qt4/GuiBibitem.h index 8d7ea4faa6..b0c34e79b7 100644 --- a/src/frontends/qt4/GuiBibitem.h +++ b/src/frontends/qt4/GuiBibitem.h @@ -21,11 +21,12 @@ namespace lyx { namespace frontend { -class GuiBibitem : public GuiCommand, public Ui::BibitemUi +class GuiBibitem : public GuiDialog, public Ui::BibitemUi { Q_OBJECT public: + /// Constructor GuiBibitem(GuiView & lv); private Q_SLOTS: @@ -38,6 +39,18 @@ private: void applyView(); /// update void updateContents(); + /// + bool initialiseParams(std::string const & data); + /// clean-up on hide. + void clearParams() { params_.clear(); } + /// clean-up on hide. + void dispatchParams(); + /// + bool isBufferDependent() const { return true; } + +private: + /// + InsetCommandParams params_; }; } // namespace frontend