summaryrefslogtreecommitdiffstats
path: root/kscreensaver/random.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kscreensaver/random.cpp
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/random.cpp')
-rw-r--r--kscreensaver/random.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp
index 322890590..42b92f936 100644
--- a/kscreensaver/random.cpp
+++ b/kscreensaver/random.cpp
@@ -148,7 +148,7 @@ int main(int argc, char *argv[])
TQStringList defaults = type.readListEntry( "Defaults" );
TQMap<TQString, int> def_numbers;
for ( TQStringList::ConstIterator it = defaults.begin(); it != defaults.end(); ++it ) {
- int index = ( *it ).tqfind( ':' );
+ int index = ( *it ).find( ':' );
if ( index == -1 )
def_numbers[*it] = 1;
else
@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
int howoften = 1;
if ( defaults.count() != 0 ) {
TQFileInfo fi( tempSaverFileList[i] );
- if ( def_numbers.tqcontains( fi.fileName() ) )
+ if ( def_numbers.contains( fi.fileName() ) )
howoften = def_numbers[fi.fileName()];
else
howoften = 0;