X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiBibitem.h;h=b0c34e79b7e9709bc47dbb499bfc4af876311f2f;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=489f86af2804b5412e1160987482e5cd2dc69bbc;hpb=8500da8691d94748523a7c66ae349853ed7fc38c;p=lyx.git diff --git a/src/frontends/qt4/GuiBibitem.h b/src/frontends/qt4/GuiBibitem.h index 489f86af28..b0c34e79b7 100644 --- a/src/frontends/qt4/GuiBibitem.h +++ b/src/frontends/qt4/GuiBibitem.h @@ -21,20 +21,17 @@ namespace lyx { namespace frontend { -class GuiBibitem : public GuiCommand, public Ui::BibitemUi +class GuiBibitem : public GuiDialog, public Ui::BibitemUi { Q_OBJECT public: - GuiBibitem(LyXView & lv); + /// Constructor + GuiBibitem(GuiView & lv); private Q_SLOTS: void change_adaptor(); -private: - /// - void closeEvent(QCloseEvent * e); - private: /// bool isValid(); @@ -42,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