From 6cb44fe9cbece6123718c731a9e036b43b879d79 Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Sun, 24 Jul 2005 14:19:48 +0000 Subject: [PATCH] add support for the three percentage-values svn path=/trunk/KDE/kdeedu/kalzium/src/isotope.h; revision=438154 --- kalzium/src/isotope.cpp | 2 +- kalzium/src/isotope.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kalzium/src/isotope.cpp b/kalzium/src/isotope.cpp index 028155c..bb3d541 100644 --- a/kalzium/src/isotope.cpp +++ b/kalzium/src/isotope.cpp @@ -22,7 +22,7 @@ #include #include -Isotope::Isotope( int neutrons, double percentage, double weight, double halflife, QString format, bool alphadecay, bool betaplusdecay, bool betaminusdecay, bool ecdecay, double decayenergy, QString spin, QString magmoment ) +Isotope::Isotope( int neutrons, double percentage, double weight, double halflife, QString format, bool alphadecay, bool betaplusdecay, bool betaminusdecay, double alphapercentage, double betaminuspercentage, double betapluspercentage, bool ecdecay, double decayenergy, QString spin, QString magmoment) { m_neutrons = neutrons; m_percentage = percentage; diff --git a/kalzium/src/isotope.h b/kalzium/src/isotope.h index 88c6a72..5051c66 100644 --- a/kalzium/src/isotope.h +++ b/kalzium/src/isotope.h @@ -31,7 +31,7 @@ class Isotope { public: - Isotope( int neutrons, double percentage, double weight, double halflife, QString format, bool alphadecay, bool betaplusdecay, bool betaminusdecay, bool ecdecay, double decayenergy, QString spin, QString magmoment); + Isotope( int neutrons, double percentage, double weight, double halflife, QString format, bool alphadecay, bool betaplusdecay, bool betaminusdecay, double alphapercentage, double betaminuspercentage, double betapluspercentage, bool ecdecay, double decayenergy, QString spin, QString magmoment); bool seconds() const{ if ( m_format == "seconds" ) -- 2.47.3