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 | 937b2991d8e78166eea904c80ad04d34607017a4 (patch) | |
tree | 2accb8161eab09df5d7a5484ea9ea080ad123168 /ksirc/ksopts.cpp | |
parent | dba26cb985af370c33d1767037851705cc561726 (diff) | |
download | tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/ksopts.cpp')
-rw-r--r-- | ksirc/ksopts.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/ksopts.cpp b/ksirc/ksopts.cpp index 38bf27fa..c0d6a927 100644 --- a/ksirc/ksopts.cpp +++ b/ksirc/ksopts.cpp @@ -251,7 +251,7 @@ void KSOptions::load( int sections ) /* * do global first */ - if(channel.tqcontains("global") == FALSE){ + if(channel.contains("global") == FALSE){ KSOChannel global; ChannelOpMap coMap; channel.insert(TQString("global"), coMap); @@ -315,7 +315,7 @@ void KSOptions::load( int sections ) /* * do global first */ - if(server.tqcontains("global") == FALSE){ + if(server.contains("global") == FALSE){ KSOServer global; server.insert(TQString("global"), global); server["global"].server = "global"; @@ -490,11 +490,11 @@ void KSOptions::save( int sections ) void KSOptions::channelSetup(TQString serv, TQString chan) { - if(channel.tqcontains(serv) == FALSE){ + if(channel.contains(serv) == FALSE){ ChannelOpMap coMap; channel.insert(serv, coMap); } - if(channel[serv].tqcontains(chan) == FALSE){ + if(channel[serv].contains(chan) == FALSE){ KSOChannel ksoc; ksoc = channel["global"]["global"]; channel[serv].insert(chan, ksoc); @@ -524,7 +524,7 @@ void KSOptions::applyChannelGlobal(void) void KSOptions::serverSetup(TQString serv) { - if(server.tqcontains(serv) == FALSE){ + if(server.contains(serv) == FALSE){ KSOServer ksos; ksos = server["global"]; server.insert(serv, ksos); |