]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathKern.h
g-brief loads babel internally. So don't load it ourselves.
[lyx.git] / src / mathed / InsetMathKern.h
index 071628815296420ca3d0209dcb38e2decbc6a052..c562250a363b00ab9b10c2074c8bcd5067ab7093 100644 (file)
@@ -13,7 +13,8 @@
 #define MATH_CHEATINSET_H
 
 #include "InsetMath.h"
-#include "Length.h"
+
+#include "support/Length.h"
 
 
 namespace lyx {
@@ -31,20 +32,24 @@ public:
        ///
        explicit InsetMathKern(docstring const & wid);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
+       ///
+       void draw(PainterInfo & pi, int x, int y) const override;
+       ///
+       void write(TeXMathStream & os) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void normalize(NormalStream & ns) const override;
        ///
-       void write(WriteStream & os) const;
+       void mathmlize(MathMLStream &) const override { }
        ///
-       void normalize(NormalStream & ns) const;
+       void htmlize(HtmlStream &) const override { }
        ///
-       void mathmlize(MathStream &) const { return; }
+       void infoize2(odocstream & os) const override;
        ///
-       InsetCode lyxCode() const { return MATH_KERN_CODE; }
+       InsetCode lyxCode() const override { return MATH_KERN_CODE; }
 
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
        /// width in em
        Length wid_;
 };