]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / InsetMathSpace.h
index 83a9c59f45b1d57f9c538c8fe16b9a6ccf23749e..ff23305466f92f09d3954c120ac3cbb9b3338ef4 100644 (file)
@@ -13,7 +13,8 @@
 #define MATH_SPACEINSET_H
 
 #include "InsetMath.h"
-#include "Length.h"
+
+#include "support/Length.h"
 
 
 namespace lyx {
@@ -30,48 +31,48 @@ public:
        ///
        explicit InsetMathSpace(Length const & length, bool const prot = false);
        ///
-       InsetMathSpace const * asSpaceInset() const { return this; }
+       InsetMathSpace const * asSpaceInset() const override { return this; }
        ///
-       InsetMathSpace * asSpaceInset() { return this; }
+       InsetMathSpace * asSpaceInset() override { return this; }
        ///
        void incSpace();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const override;
 
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream &) const override;
        ///
-       void validate(LaTeXFeatures & features) const;
+       void validate(LaTeXFeatures & features) const override;
        ///
-       void maple(MapleStream &) const;
+       void maple(MapleStream &) const override;
        ///
-       void mathematica(MathematicaStream &) const;
+       void mathematica(MathematicaStream &) const override;
        ///
-       void octave(OctaveStream &) const;
+       void octave(OctaveStream &) const override;
        ///
-       void mathmlize(MathStream & ms) const;
+       void mathmlize(MathStream & ms) const override;
        ///
-       void htmlize(HtmlStream & ms) const;
+       void htmlize(HtmlStream & ms) const override;
        ///
-       void write(WriteStream & os) const;
+       void write(WriteStream & os) const override;
        /// generate something that will be understood by the Dialogs.
        InsetSpaceParams params() const;
        ///
-       bool hasSettings() const { return true; }
+       bool hasSettings() const override { return true; }
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const override;
        ///
-       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const override;
        ///
-       InsetCode lyxCode() const { return MATH_SPACE_CODE; }
+       InsetCode lyxCode() const override { return MATH_SPACE_CODE; }
 
 protected:
        ///
-       virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
+       void doDispatch(Cursor & cur, FuncRequest & cmd) override;
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
        ///
        bool isNegative() const;
        ///