]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetQuotes.h
Make listings dialog translatable (mostly strings from InsetListingsParams), fix...
[lyx.git] / src / insets / InsetQuotes.h
index 89f13ef80368576c0491292747d15947d61b36d3..9d6dbc9731db5c8ce134fb6346f40e339373dc6d 100644 (file)
@@ -13,7 +13,7 @@
 #define INSET_QUOTES_H
 
 
-#include "InsetBase.h"
+#include "Inset.h"
 
 #include "support/types.h"
 
@@ -28,7 +28,7 @@ class LaTeXFeatures;
 /** Quotes.
   Used for the various quotes. German, English, French, all either
   double or single **/
-class InsetQuotes : public InsetBase {
+class InsetQuotes : public Inset {
 public:
        ///
        enum quote_language {
@@ -74,14 +74,14 @@ public:
        /// Direct access to inner/outer quotation marks
        InsetQuotes(char_type c, quote_language l, quote_times t);
        ///
-       docstring getInsetName() const { return from_ascii("Quotes"); }
+       docstring name() const { return from_ascii("Quotes"); }
        ///
        bool metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 #if 0
        ///
-       LyXFont const convertFont(LyXFont const & font) const;
+       Font const convertFont(Font const & font) const;
 #endif
        ///
        void write(Buffer const &, std::ostream &) const;
@@ -100,12 +100,12 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       InsetBase::Code lyxCode() const;
+       Inset::Code lyxCode() const;
        // should this inset be handled like a normal character
        bool isChar() const { return true; }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 
        ///
        quote_language language_;