summaryrefslogtreecommitdiffstats
path: root/src/countdowndialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:03 -0600
commit80f772ad054f92e81e0eb3bc7319a32e8a4e8a05 (patch)
treeaf9a620cca9e626f475b3dac43160735288f43a4 /src/countdowndialog.cpp
parentf3cf754cc9c54fc1de34ef06110a6810d655390a (diff)
downloadkpowersave-80f772ad054f92e81e0eb3bc7319a32e8a4e8a05.tar.gz
kpowersave-80f772ad054f92e81e0eb3bc7319a32e8a4e8a05.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f3cf754cc9c54fc1de34ef06110a6810d655390a.
Diffstat (limited to 'src/countdowndialog.cpp')
-rw-r--r--src/countdowndialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/countdowndialog.cpp b/src/countdowndialog.cpp
index f8d268d..6abaf90 100644
--- a/src/countdowndialog.cpp
+++ b/src/countdowndialog.cpp
@@ -114,7 +114,7 @@ bool countDownDialog::showDialog() {
if (!textLabel->text().isEmpty() && timeOut > 0) {
// init the progressbar
- progressBar->setFormat(i18n("%1 seconds").arg(remaining));
+ progressBar->setFormat(i18n("%1 seconds").tqarg(remaining));
progressBar->setPercentageVisible(true);
progressBar->setProgress(100);
progressBar->setEnabled(true);
@@ -160,7 +160,7 @@ void countDownDialog::updateProgress() {
int setTo = (int)((100.0/(float)timeOut)*(float)remaining);
// set the progressBar
- progressBar->setFormat(i18n("%1 seconds").arg(remaining));
+ progressBar->setFormat(i18n("%1 seconds").tqarg(remaining));
progressBar->setPercentageVisible(true);
progressBar->setProgress(setTo);
progressBar->setEnabled(true);