]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetOptArg.h
index 4f8c14ae08595e1dc4c6f4fa1420cdb74e966507..0f12d369b56e2de3721de169801592c15313fe89 100644 (file)
@@ -28,11 +28,11 @@ public:
        InsetOptArg(BufferParams const &);
 
        /// code of the inset
-       Inset::Code lyxCode() const { return Inset::OPTARG_CODE; }
+       InsetCode lyxCode() const { return OPTARG_CODE; }
+       ///
+       docstring name() const { return from_ascii("OptArg"); }
        /// return an message upon editing
        virtual docstring const editMessage() const;
-       ///
-       virtual bool wide() const { return false; }
 
        /// Standard LaTeX output -- short-circuited
        int latex(Buffer const &, odocstream &,
@@ -55,7 +55,7 @@ public:
 protected:
        InsetOptArg(InsetOptArg const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };