summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchutils.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /ktouch/src/ktouchutils.cpp
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ktouch/src/ktouchutils.cpp')
-rw-r--r--ktouch/src/ktouchutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ktouch/src/ktouchutils.cpp b/ktouch/src/ktouchutils.cpp
index 26686a09..79c3ace4 100644
--- a/ktouch/src/ktouchutils.cpp
+++ b/ktouch/src/ktouchutils.cpp
@@ -10,7 +10,7 @@
* (at your option) any later version. *
***************************************************************************/
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqstringlist.h>
#include <tqmap.h>
@@ -21,7 +21,7 @@
TQString format_speed(double speed) {
unsigned int mins = static_cast<unsigned int>(speed);
unsigned int secs = static_cast<unsigned int>(speed*60) - mins*60;
- return TQString("%1' %2''").tqarg(mins).tqarg(secs);
+ return TQString("%1' %2''").arg(mins).arg(secs);
}
void sort_lists(TQStringList& text, TQStringList& data) {