summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker/ksticker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSTicker/ksticker.cpp')
-rw-r--r--ksirc/KSTicker/ksticker.cpp6
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;