From: Carsten Niehaus Date: Wed, 29 Dec 2004 11:24:31 +0000 (+0000) Subject: Add the protons-dataset to HEAD. X-Git-Tag: v3.80.2~300^2~162 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=3d757de66b659703474eb42b5edcf718f94af351;p=libqmvoc.git Add the protons-dataset to HEAD. svn path=/trunk/kdeedu/kalzium/src/element.cpp; revision=373964 --- diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index 1f9f5c6..e98627a 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -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" ); diff --git a/kalzium/src/element.h b/kalzium/src/element.h index c3feeed..137ea0a 100644 --- a/kalzium/src/element.h +++ b/kalzium/src/element.h @@ -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; };