diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:25 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:25 -0600 |
commit | f3cf754cc9c54fc1de34ef06110a6810d655390a (patch) | |
tree | 8737e258944c7afab6d75bb12c65a2d54074a400 /src/countdowndialog.cpp | |
parent | df7f6bd80367ffe8753aa6a11ad44b7e0e12e4f9 (diff) | |
download | kpowersave-f3cf754cc9c54fc1de34ef06110a6810d655390a.tar.gz kpowersave-f3cf754cc9c54fc1de34ef06110a6810d655390a.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/countdowndialog.cpp')
-rw-r--r-- | src/countdowndialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/countdowndialog.cpp b/src/countdowndialog.cpp index 6abaf90..f8d268d 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").tqarg(remaining)); + progressBar->setFormat(i18n("%1 seconds").arg(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").tqarg(remaining)); + progressBar->setFormat(i18n("%1 seconds").arg(remaining)); progressBar->setPercentageVisible(true); progressBar->setProgress(setTo); progressBar->setEnabled(true); |