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/KSTicker/ksticker.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/KSTicker/ksticker.cpp')
-rw-r--r-- | ksirc/KSTicker/ksticker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/KSTicker/ksticker.cpp b/ksirc/KSTicker/ksticker.cpp index bedc0328..d2f5d228 100644 --- a/ksirc/KSTicker/ksticker.cpp +++ b/ksirc/KSTicker/ksticker.cpp @@ -151,7 +151,7 @@ void KSTicker::mergeString(TQString str) int value = nickColourMaker::colourMaker()->findIdx(rx.cap(1)); if(value >= 0){ TQString newText = TQString("~%1\\1~c").tqarg(value); - str.tqreplace(rx, newText); + str.replace(rx, newText); } } @@ -162,8 +162,8 @@ void KSTicker::mergeString(TQString str) int found = 0; TQStringList::Iterator it = strlist.begin(); for(; it != strlist.end(); it++){ - if(((*it).tqfind(ksopts->server["global"].nick, 0, FALSE) == -1) && - ((*it).tqfind(ksopts->server["global"].altNick, 0, FALSE) == -1)){ + if(((*it).find(ksopts->server["global"].nick, 0, FALSE) == -1) && + ((*it).find(ksopts->server["global"].altNick, 0, FALSE) == -1)){ strlist.remove(it); found = 1; break; |