]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetInfo.h
index e48418d50d614ebc5d2a22b36d51b305f0d7c4a9..797eb08ff78782a72c8b26b0bfd0fa72ce208f78 100644 (file)
@@ -75,7 +75,7 @@ the command buffer (view->Toolbar->Command Buffer).
 
 namespace lyx {
 
-class InsetInfo : public InsetText {
+class InsetInfo : public InsetCollapsable {
 public:
        enum info_type {
                UNKNOWN_INFO,   // Invalid type
@@ -90,7 +90,7 @@ public:
        };
 
        ///
-       InsetInfo(Buffer const & buf, std::string const & info = std::string());
+       InsetInfo(Buffer * buf, std::string const & info = std::string());
        ///
        InsetCode lyxCode() const { return INFO_CODE; }
        ///
@@ -136,7 +136,7 @@ private:
        ///
        void setText(docstring const & str);
        // make sure that the other version of setText is still available.
-       using InsetText::setText;
+       using InsetCollapsable::setText;
        ///
        info_type type_;
        ///