]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbibtex.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetbibtex.h
index 0a7cbf7093a71798a37cca582c9a118b35bb216a..4daf8f589fff4b0c9179c2bdb9a8bb386290b05c 100644 (file)
@@ -23,13 +23,11 @@ public:
        ///
        InsetBibtex(InsetCommandParams const &);
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        std::string const getScreenLabel(Buffer const &) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetOld::Code lyxCode() const { return InsetOld::BIBTEX_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::BIBTEX_CODE; }
        ///
        bool display() const { return true; }
        ///
@@ -47,8 +45,10 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
 protected:
-       ///
-       virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
+
 };
 
 #endif // INSET_BIBTEX_H