summaryrefslogtreecommitdiffstats
path: root/kalzium/src/orbitswidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
commit98a12d05a48814bec3870b9a6d5865475cfa1c95 (patch)
treea711801e47696fb0cf162abd7330e0b5b480ba39 /kalzium/src/orbitswidget.cpp
parent421a1845137c7c396b5d03bce53237fcb149d602 (diff)
downloadtdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.tar.gz
tdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1211429 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalzium/src/orbitswidget.cpp')
-rw-r--r--kalzium/src/orbitswidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/orbitswidget.cpp b/kalzium/src/orbitswidget.cpp
index 06824c0f..2ab82731 100644
--- a/kalzium/src/orbitswidget.cpp
+++ b/kalzium/src/orbitswidget.cpp
@@ -162,7 +162,7 @@ void OrbitsWidget::getNumberOfOrbits()
int cut = 0;
bool cont = true;
- if ( !o.contains( rxb ) ) //only true for H and He
+ if ( !o.tqcontains( rxb ) ) //only true for H and He
numOfElectrons.append( o.toInt() );
else //every other element
{
@@ -175,7 +175,7 @@ void OrbitsWidget::getNumberOfOrbits()
o = o.right( cut );
num++;
- if ( !o.contains( rxb ) )
+ if ( !o.tqcontains( rxb ) )
{
numOfElectrons.append( o.toInt() );
cont = false;