diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | d8762de95349dc6edaa34db9bf699b367c1af6b1 (patch) | |
tree | 8c76a6ab8e4e92d13196cb11ddab2d0fb64ec680 /kpercentage | |
parent | 03458c4e2ca2e92deafe078d0e09e1acd4c4765f (diff) | |
download | tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.tar.gz tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpercentage')
-rw-r--r-- | kpercentage/kpercentage/kanimation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpercentage/kpercentage/kanimation.cpp b/kpercentage/kpercentage/kanimation.cpp index 6fd581a2..9be8601d 100644 --- a/kpercentage/kpercentage/kanimation.cpp +++ b/kpercentage/kpercentage/kanimation.cpp @@ -97,9 +97,9 @@ KStoryBoard::KStoryBoard( const TQString filename ) : TQDict<KScene>() { TQString s = t.readLine(); // line of text excluding '\n' TQString dbgString = s; - int pos = s.tqfind ( "#"); + int pos = s.find ( "#"); if (pos==-1) - pos = s.tqfind ( ";"); + pos = s.find ( ";"); if ( pos > -1 ) { dbgString = s.mid( pos +1 ); @@ -163,7 +163,7 @@ KStoryBoard::KStoryBoard( const TQString filename ) : TQDict<KScene>() { TQString scene_name; current_scene->followingSceneName( scene_name ); - current_scene = tqfind( scene_name ); + current_scene = find( scene_name ); if ( current_scene ) { current_scene->setToStart(); @@ -181,7 +181,7 @@ KStoryBoard::KStoryBoard( const TQString filename ) : TQDict<KScene>() void KStoryBoard::setToStart() { - current_scene = tqfind( "init" ); + current_scene = find( "init" ); if ( current_scene ) current_scene->setToStart(); } |