namespace lyx {
-class InsetInfo : public InsetText {
+class InsetInfo : public InsetCollapsable {
public:
enum info_type {
UNKNOWN_INFO, // Invalid type
};
///
- 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; }
///
///
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_;
///