]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetQuotes.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetQuotes.h
index 82f194d12d8e15106a8594b965b6fc7f198089ce..118768bdcd35b21fa7567ae92fc675843b251bed 100644 (file)
@@ -67,22 +67,17 @@ public:
            \item etc.
          \end{itemize}
          */
-       explicit
-       InsetQuotes(std::string const & str = "eld");
+       explicit InsetQuotes(std::string const & str = "eld");
        /// Create the right quote inset after character c
        InsetQuotes(char_type c, BufferParams const & params);
        /// Direct access to inner/outer quotation marks
        InsetQuotes(char_type c, quote_language l, quote_times t);
        ///
-       docstring name() const { return from_ascii("Quotes"); }
+       docstring name() const;
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
-#if 0
-       ///
-       Font const convertFont(Font const & font) const;
-#endif
        ///
        void write(Buffer const &, std::ostream &) const;
        ///
@@ -100,8 +95,8 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       Inset::Code lyxCode() const;
-       // should this inset be handled like a normal character
+       InsetCode lyxCode() const { return QUOTE_CODE; }
+       /// should this inset be handled like a normal character
        bool isChar() const { return true; }
 
 private: