summaryrefslogtreecommitdiffstats
path: root/tdeui/kprogress.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:48:49 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:48:49 -0600
commit13281e2856a2ef43bbab78c5528470309c23aa77 (patch)
tree936bcf8145dc235004c73e9fb3d6b3dca9aa370b /tdeui/kprogress.cpp
parente81c741bb2cf337a43524e75f22f7728ce17a343 (diff)
downloadtdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz
tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'tdeui/kprogress.cpp')
-rw-r--r--tdeui/kprogress.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kprogress.cpp b/tdeui/kprogress.cpp
index 34bc211d4..307689aba 100644
--- a/tdeui/kprogress.cpp
+++ b/tdeui/kprogress.cpp
@@ -25,7 +25,7 @@
#include <tqpainter.h>
#include <tqpixmap.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqstring.h>
#include <tqregexp.h>
@@ -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)