summaryrefslogtreecommitdiffstats
path: root/src/sources/uptimesrc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:11 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:11 -0600
commit0b46312b4c5d893a6e0c29e354038bbdc5a15fdd (patch)
tree0a9819d1f6fa2690e0819c97e4bcb9a87f0d397b /src/sources/uptimesrc.cpp
parent6981c239dedc72969f6f539afeef646a19c867c0 (diff)
downloadkima-0b46312b4c5d893a6e0c29e354038bbdc5a15fdd.tar.gz
kima-0b46312b4c5d893a6e0c29e354038bbdc5a15fdd.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6981c239dedc72969f6f539afeef646a19c867c0.
Diffstat (limited to 'src/sources/uptimesrc.cpp')
-rw-r--r--src/sources/uptimesrc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sources/uptimesrc.cpp b/src/sources/uptimesrc.cpp
index a43ce92..cc9d0b5 100644
--- a/src/sources/uptimesrc.cpp
+++ b/src/sources/uptimesrc.cpp
@@ -19,7 +19,7 @@
***************************************************************************/
#include "uptimesrc.h"
-#include <textstream.h>
+#include <tqtextstream.h>
#include <klocale.h>
UptimeSrc::UptimeSrc(TQWidget* inParent, const TQFile& inSourceFile):
@@ -55,9 +55,9 @@ TQString UptimeSrc::fetchValue(){
TQString hours = TQString::number(secs / 3600 % 24).rightJustify(2, '0');
TQString days = TQString::number(secs / 86400);
if(days != "0")
- s = mTimeFormatLong.arg(days).arg(hours).arg(minutes);
+ s = mTimeFormatLong.tqarg(days).tqarg(hours).tqarg(minutes);
else
- s = mTimeFormatShort.arg(hours).arg(minutes);
+ s = mTimeFormatShort.tqarg(hours).tqarg(minutes);
mSourceFile.close();
}
return s;