]> Git trees. - libqmvoc.git/commitdiff
apidox
authorPino Toscano <pino@kde.org>
Wed, 26 Oct 2005 17:46:42 +0000 (17:46 +0000)
committerPino Toscano <pino@kde.org>
Wed, 26 Oct 2005 17:46:42 +0000 (17:46 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=474550

libscience/tempunit.h

index db4c366e24229ebf2128cbc2e36e6a85e03bb2a4..8ba318c7ae4143650e8304d4d564a68212bbfc04 100644 (file)
@@ -36,11 +36,16 @@ class TempUnit
 {
        public:
 
-               enum Unit { Kelvin = 0, 
-                       Celsius, 
+               /**
+                * All the temperature units we support.
+                */
+               enum Unit
+               {
+                       Kelvin = 0,
+                       Celsius,
                        Fahrenheit,
                        Rankine,
-                       Reaumur 
+                       Reaumur
                };
 
                /**
@@ -81,6 +86,10 @@ class TempUnit
                 */
                static QString unitListSymbol( int i );
 
+               /**
+                * @return a QPair with the minimum and the maximum value
+                * (resp. in .first and .second) allowed for the unit @p u.
+                */
                static QPair<double, double> rangeForUnit( TempUnit::Unit u );
 
                /**