summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:58:08 -0600
committerSlávek Banko <[email protected]>2012-06-03 15:53:30 +0200
commite7bee19a9f42cffe3a0792348a60e5bee1d3da71 (patch)
tree92dabc7114bd352b2e4ebb5f64cd3d6429e162f7 /ksirc/KSTicker
parent4b54ad17739d1075235f2960ecde230a58b5621c (diff)
downloadtdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.tar.gz
tdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98)
Diffstat (limited to 'ksirc/KSTicker')
-rw-r--r--ksirc/KSTicker/ksticker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/KSTicker/ksticker.cpp b/ksirc/KSTicker/ksticker.cpp
index 7394d3fb..7b3f793a 100644
--- a/ksirc/KSTicker/ksticker.cpp
+++ b/ksirc/KSTicker/ksticker.cpp
@@ -110,7 +110,7 @@ void KSTicker::show()
if(currentStr.length() != 0)
startTicker();
currentChar = 0;
- tqrepaint(TRUE);
+ repaint(TRUE);
}
void KSTicker::hide()
@@ -129,7 +129,7 @@ void KSTicker::setString(TQString str)
{
strlist.clear();
strlist.append(str);
- tqrepaint(TRUE);
+ repaint(TRUE);
startTicker();
}
@@ -138,7 +138,7 @@ void KSTicker::mergeString(TQString str, TQColor c)
int num = KSPainter::colour2num(c);
if(num != -1){
- str.prepend(TQString("~%1").tqarg(num));
+ str.prepend(TQString("~%1").arg(num));
}
mergeString(str);
@@ -150,7 +150,7 @@ void KSTicker::mergeString(TQString str)
if(rx.search(str) >= 0){
int value = nickColourMaker::colourMaker()->findIdx(rx.cap(1));
if(value >= 0){
- TQString newText = TQString("~%1\\1~c").tqarg(value);
+ TQString newText = TQString("~%1\\1~c").arg(value);
str.replace(rx, newText);
}
}