summaryrefslogtreecommitdiffstats
path: root/tdeui/kprogress.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:32:40 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:32:40 -0600
commit984c25aa6969e55896e9a13c8e7f7b8a58991a4e (patch)
tree3653d4ee49b0adf405ff17e0ecdc99bc6f10c1bf /tdeui/kprogress.cpp
parent56160bf4dfe503631ef6373367b281f081bab2b4 (diff)
downloadtdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.tar.gz
tdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'tdeui/kprogress.cpp')
-rw-r--r--tdeui/kprogress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/kprogress.cpp b/tdeui/kprogress.cpp
index 34bc211d4..9b72dcf2c 100644
--- a/tdeui/kprogress.cpp
+++ b/tdeui/kprogress.cpp
@@ -132,9 +132,9 @@ bool KProgress::setIndicator(TQString &indicator, int progress, int totalSteps)
if (!totalSteps)
return false;
TQString newString(mFormat);
- newString.replace(TQString::tqfromLatin1("%v"),
+ newString.replace(TQString::fromLatin1("%v"),
TQString::number(progress));
- newString.replace(TQString::tqfromLatin1("%m"),
+ newString.replace(TQString::fromLatin1("%m"),
TQString::number(totalSteps));
if (totalSteps > INT_MAX / 1000) {
@@ -142,7 +142,7 @@ bool KProgress::setIndicator(TQString &indicator, int progress, int totalSteps)
totalSteps /= 1000;
}
- newString.replace(TQString::tqfromLatin1("%p"),
+ newString.replace(TQString::fromLatin1("%p"),
TQString::number((progress * 100) / totalSteps));
if (newString != indicator)