]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_sqrtinset.h
index 74c9901d7bdaa9597a4d8994d9ef36a6b0b359a0..b7679268425b7e62ad1f4cc24ab6ab09a03c84b5 100644 (file)
@@ -1,22 +1,27 @@
 // -*- C++ -*-
+/**
+ * \file math_sqrtinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_SQRTINSET_H
 #define MATH_SQRTINSET_H
 
 #include "math_nestinset.h"
 
 
-/** The square root inset.
- *  \author Alejandro Aguilar Siearra
- *
- * Full author contact details are available in file CREDITS
- */
+/// \c MathSqrtInset The square root inset.
 class MathSqrtInset : public MathNestInset {
 public:
        ///
        MathSqrtInset();
        ///
-       InsetBase * clone() const;
-       ///
        void draw(PainterInfo &, int x, int y) const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -37,5 +42,7 @@ public:
        void octave(OctaveStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 #endif