summaryrefslogtreecommitdiffstats
path: root/kalzium/src/element.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/element.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/element.cpp')
-rw-r--r--kalzium/src/element.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp
index 3fc7e493..2596e2f7 100644
--- a/kalzium/src/element.cpp
+++ b/kalzium/src/element.cpp
@@ -68,8 +68,8 @@ TQString Element::parsedOrbits( bool canBeEmpty )
TQString orbits = m_orbits;
TQRegExp rxs("([a-z])([0-9]+)");
TQRegExp rxb("([a-z]{2}) ",false);
- orbits.replace(rxs,"\\1<sup>\\2</sup>"); //superscript around electron number
- orbits.replace(rxb,"<b>\\1</b> "); //bold around element symbols
+ orbits.tqreplace(rxs,"\\1<sup>\\2</sup>"); //superscript around electron number
+ orbits.tqreplace(rxb,"<b>\\1</b> "); //bold around element symbols
return orbits;
}