]> Git trees. - libqmvoc.git/commitdiff
fix #92516 In english, the word kelvin as an SI unit is correctly written with a...
authorAnne-Marie Mahfouf <annma@kde.org>
Thu, 17 Feb 2005 20:51:24 +0000 (20:51 +0000)
committerAnne-Marie Mahfouf <annma@kde.org>
Thu, 17 Feb 2005 20:51:24 +0000 (20:51 +0000)
BUGS:92516

svn path=/trunk/kdeedu/kalzium/src/element.cpp; revision=390370

kalzium/src/element.cpp
kalzium/src/element.h

index 85532b4e17ffdbbe55577362cbd09d5c210e726f..ace21f17b81afbc80c64506e11347779431308d2 100644 (file)
@@ -117,14 +117,14 @@ const QString Element::adjustUnits( const int type )
                        val = melting();
 
                switch (Prefs::temperature()) {
-                       case 0: //Kelvin
+                       case 0: //kelvin
                                v = i18n( "%1 K" ).arg( QString::number( val ) );
                                break;
-                       case 1://Kelvin to Celsius
+                       case 1://kelvin to Celsius
                                val-=273.15;
                                v = i18n( "%1 C" ).arg( QString::number( val ) );
                                break;
-                       case 2: // Kelvin to Fahrenheit
+                       case 2: // kelvin to Fahrenheit
                                val = val * 1.8 - 459.67;
                                v = i18n( "%1 F" ).arg( QString::number( val ) );
                                break;
index 57e742bbfd5fbac320fed0dd6b32219b64a83998..eaaac308d9eefa506a7bedac2e2171e75e013de9 100644 (file)
@@ -148,14 +148,14 @@ class Element{
                QString parsedOrbits();
                
                /**
-                * @return the boiling point of the element in Kelvin
+                * @return the boiling point of the element in kelvin
                 */
                double boiling() const {
                        return m_BP;
                }
                
                /**
-                * @return the melting point of the element in Kelvin
+                * @return the melting point of the element in kelvin
                 */
                double melting() const {
                        return m_MP;
@@ -214,7 +214,7 @@ class Element{
 
                /**
                 * adjusts the units for the data. The user can
-                * eg define if Fahrenheit, Kelvin or Degrees Celsius
+                * eg define if Fahrenheit, kelvin or Degrees Celsius
                 * should be used for the temperature. This method
                 * takes care of that.
                 * @param val the value which has to be adjusted