explicit
InsetUrl(InsetCommandParams const &);
///
- //explicit
- //InsetUrl(InsetCommandParams const &, bool same_id);
- ///
~InsetUrl();
///
- virtual Inset * clone(Buffer const &) const {
- return new InsetUrl(params());
+ virtual std::auto_ptr<InsetBase> clone() const {
+ return std::auto_ptr<InsetBase>(new InsetUrl(params()));
}
///
- //virtual Inset * clone(Buffer const &, bool same_id) const {
- // return new InsetUrl(params(), same_id);
- //}
- ///
dispatch_result localDispatch(FuncRequest const & cmd);
///
- Inset::Code lyxCode() const { return Inset::URL_CODE; }
+ InsetOld::Code lyxCode() const { return InsetOld::URL_CODE; }
///
void validate(LaTeXFeatures &) const;
///