]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetnote.h
changelogs
[lyx.git] / src / insets / insetnote.h
index 83cb528ae750e036f61999f2fc622213f94aa5d1..5f4a34040ae6c30054c98bdfa3d571cf12b26e37 100644 (file)
@@ -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<InsetBase> 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 const & cmd);
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
 private:
        friend class InsetNoteParams;
 
+       virtual std::auto_ptr<InsetBase> doClone() const;
+
        /// used by the constructors
        void init();
        ///