diff options
Diffstat (limited to 'tdeui/kprogress.cpp')
-rw-r--r-- | tdeui/kprogress.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kprogress.cpp b/tdeui/kprogress.cpp index 307689aba..34bc211d4 100644 --- a/tdeui/kprogress.cpp +++ b/tdeui/kprogress.cpp @@ -25,7 +25,7 @@ #include <tqpainter.h> #include <tqpixmap.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.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::fromLatin1("%v"), + newString.replace(TQString::tqfromLatin1("%v"), TQString::number(progress)); - newString.replace(TQString::fromLatin1("%m"), + newString.replace(TQString::tqfromLatin1("%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::fromLatin1("%p"), + newString.replace(TQString::tqfromLatin1("%p"), TQString::number((progress * 100) / totalSteps)); if (newString != indicator) |