X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloatlist.h;h=57179951281ea144593f552c89c15824be315061;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=caf19cdecd5c39050c4017e463c3c29208d78135;hpb=2470d9297d3f2c303f555c8f235d022b19396679;p=lyx.git diff --git a/src/insets/insetfloatlist.h b/src/insets/insetfloatlist.h index caf19cdecd..5717995128 100644 --- a/src/insets/insetfloatlist.h +++ b/src/insets/insetfloatlist.h @@ -16,20 +16,19 @@ #pragma interface #endif -#include "insetbutton.h" +#include "insetcommand.h" /** Used to insert table of contents */ -class InsetFloatList : public InsetButton { +class InsetFloatList : public InsetCommand { public: /// - InsetFloatList() {} + InsetFloatList(); /// - InsetFloatList(string const & type) - : float_type(type) {} + InsetFloatList(string const & type); /// Inset * clone(Buffer const &, bool = false) const { - return new InsetFloatList(*this); + return new InsetFloatList(getCmdName()); } /// string const getScreenLabel(Buffer const *) const; @@ -55,8 +54,6 @@ public: int docbook(Buffer const *, std::ostream &) const { return 0; } /// int ascii(Buffer const *, std::ostream &, int linelen) const; -private: - string float_type; }; #endif