]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiBibitem.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiBibitem.h
index 8d7ea4faa666f9dcfbbfd0c0be00b044accbda99..b0c34e79b7e9709bc47dbb499bfc4af876311f2f 100644 (file)
 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