X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetnote.h;h=5f4a34040ae6c30054c98bdfa3d571cf12b26e37;hb=10ba1b8918e7da14334bb5573ce2a707671c8b51;hp=65d05ce4cc9a65464bcdb2365d7394a8f4ce60f4;hpb=5198e1d9a383d60f915092f17661f98f59998ed0;p=lyx.git diff --git a/src/insets/insetnote.h b/src/insets/insetnote.h index 65d05ce4cc..5f4a34040a 100644 --- a/src/insets/insetnote.h +++ b/src/insets/insetnote.h @@ -39,13 +39,9 @@ class InsetNote : public InsetCollapsable { public: /// InsetNote(BufferParams const &, std::string const &); - /// Copy constructor - InsetNote(InsetNote const &); /// ~InsetNote(); /// - virtual std::auto_ptr clone() const; - /// std::string const editMessage() const; /// InsetOld::Code lyxCode() const { return InsetOld::NOTE_CODE; } @@ -74,11 +70,14 @@ public: /// InsetNoteParams const & params() const { return params_; } protected: + InsetNote(InsetNote const &); /// - virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd); + virtual void doDispatch(LCursor & cur, FuncRequest & cmd); private: friend class InsetNoteParams; + virtual std::auto_ptr doClone() const; + /// used by the constructors void init(); ///