]> Git trees. - libqmvoc.git/commitdiff
Add the protons-dataset to HEAD.
authorCarsten Niehaus <cniehaus@gmx.de>
Wed, 29 Dec 2004 11:24:31 +0000 (11:24 +0000)
committerCarsten Niehaus <cniehaus@gmx.de>
Wed, 29 Dec 2004 11:24:31 +0000 (11:24 +0000)
svn path=/trunk/kdeedu/kalzium/src/element.cpp; revision=373964

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

index 1f9f5c6e8a4fd6af41b3117ca981629620a6921f..e98627a9abb3391f352a1a59906de62ca78a9d4b 100644 (file)
@@ -39,6 +39,7 @@ Element::Element( int num )
        m_name=config.readEntry( "Name", "Unknown" );
        m_symbol=config.readEntry( "Symbol", "Unknown" );
        m_weight=config.readDoubleNumEntry( "Weight",0.0 );
+       m_isotopes=config.readEntry(  "Isotopes", "0" );
 
        m_oxstage=config.readEntry( "Ox","0" );
        m_acidbeh=config.readEntry( "acidbeh","0" );
index c3feeed1fc085c06263ec07f281c14b3297b4a4a..137ea0a5a6b63dee1a346e68aa078755b47e5526 100644 (file)
@@ -124,6 +124,13 @@ class Element{
                QString acidicbeh() const {
                        return m_acidbeh;
                }
+
+               /**
+                * @return the isotopes of the element
+                */
+               QString Isotopes() const {
+                       return m_isotopes;
+               }
                
                /**
                 * @return the oxydationstages of the element
@@ -258,7 +265,8 @@ class Element{
                        m_block,
                        m_group,
                        m_acidbeh,
-                       m_orbits;
+                       m_orbits,
+                       m_isotopes;
 };