class InsetTOC : public InsetCommand {
public:
///
- InsetTOC(InsetCommandParams const &, bool same_id = false);
+ InsetTOC(InsetCommandParams const &);
///
~InsetTOC();
///
- virtual Inset * clone(Buffer const &, bool same_id = false) const {
- return new InsetTOC(params(), same_id);
+ virtual std::auto_ptr<InsetBase> clone() const {
+ return std::auto_ptr<InsetBase>(new InsetTOC(params()));
}
///
- string const getScreenLabel(Buffer const *) const;
- ///
- void edit(BufferView * bv, int, int, mouse_button::state);
+ dispatch_result localDispatch(FuncRequest const & cmd);
///
- void edit(BufferView * bv, bool front = true);
+ string const getScreenLabel(Buffer const *) const;
///
EDITABLE editable() const { return IS_EDITABLE; }
///
bool display() const { return true; }
///
- Inset::Code lyxCode() const;
+ InsetOld::Code lyxCode() const;
///
int ascii(Buffer const *, std::ostream &, int linelen) const;
///