summaryrefslogtreecommitdiffstats
path: root/src/sources/uptimesrc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:30:39 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:30:39 -0600
commit6981c239dedc72969f6f539afeef646a19c867c0 (patch)
tree44e5e93a8ed355a26920da44467d4b18be8fcc05 /src/sources/uptimesrc.cpp
parentdfe4a152e1587751bbb3e63e46c4d727e318caaf (diff)
downloadkima-6981c239dedc72969f6f539afeef646a19c867c0.tar.gz
kima-6981c239dedc72969f6f539afeef646a19c867c0.zip
Rename a number of old tq methods that are no longer tq specific
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 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;