]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.h
swallow <Return> events in mathed. Should mimic 1.3.x behaviour.
[lyx.git] / src / mathed / math_sqrtinset.h
index 68c490925bc87659aa8dd0f2ae295b554a225ce9..7279ef3e810dfe584cfcb05a3c8669d737dac24e 100644 (file)
@@ -1,25 +1,32 @@
 // -*- 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();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void drawT(TextPainter &, int x, int y) const;
        ///