]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsable.h
Fix Bug 3947: BibTeX allows parentheses in the key (even if the whole entry is delimi...
[lyx.git] / src / insets / InsetCollapsable.h
index c14cadfc738d6ed18b748e63e88f671133083f31..1ffd52a325c6ad1abd311124a28ba6ad73ea503a 100644 (file)
 #include "InsetText.h"
 
 #include "Box.h"
-#include "LyXFont.h"
+#include "Font.h"
 
 #include <string>
 
 namespace lyx {
 
-class LyXText;
+class Text;
 class Paragraph;
 class CursorSlice;
 
@@ -44,7 +44,7 @@ public:
        ///
        InsetCollapsable(InsetCollapsable const & rhs);
        ///
-       docstring insetName() const { return from_ascii("Collapsable"); }
+       docstring name() const { return from_ascii("Collapsable"); }
        ///
        void read(Buffer const &, Lexer &);
        ///
@@ -71,7 +71,7 @@ public:
        ///
        virtual void setButtonLabel() {}
        ///
-       void setLabelFont(LyXFont & f);
+       void setLabelFont(Font & f);
        ///
        bool isOpen() const { return status_ == Open || status_ == Inlined; }
        ///
@@ -105,7 +105,7 @@ protected:
 
 protected:
        ///
-       LyXFont labelfont_;
+       Font labelfont_;
        ///
        mutable Box button_dim;
        ///