diff options
Diffstat (limited to 'src/sources/uptimesrc.cpp')
-rw-r--r-- | src/sources/uptimesrc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sources/uptimesrc.cpp b/src/sources/uptimesrc.cpp index cc9d0b5..a43ce92 100644 --- a/src/sources/uptimesrc.cpp +++ b/src/sources/uptimesrc.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #include "uptimesrc.h" -#include <tqtextstream.h> +#include <textstream.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.tqarg(days).tqarg(hours).tqarg(minutes); + s = mTimeFormatLong.arg(days).arg(hours).arg(minutes); else - s = mTimeFormatShort.tqarg(hours).tqarg(minutes); + s = mTimeFormatShort.arg(hours).arg(minutes); mSourceFile.close(); } return s; |