]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrac.h
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathFrac.h
index b7e8eab4b075e91f115f995a3144386a591b9189..e80389281b4860468c71c512b4f72c0f7f93956d 100644 (file)
@@ -33,7 +33,7 @@ public:
        ///
        explicit InsetMathFrac(Kind kind = FRAC);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -45,7 +45,7 @@ public:
        /// identifies FracInsets
        InsetMathFrac const * asFracInset() const;
        ///
-       std::string name() const;
+       docstring name() const;
        ///
        bool extraBraces() const;
 
@@ -58,11 +58,11 @@ public:
        ///
        void octave(OctaveStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 public:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        Kind kind_;
 };