From 0a6e0958c03e41c87b15557b6f407874f20c2f8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:39:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ktouch/src/ktouchutils.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ktouch/src/ktouchutils.cpp') diff --git a/ktouch/src/ktouchutils.cpp b/ktouch/src/ktouchutils.cpp index af039f2c..a59dbfd9 100644 --- a/ktouch/src/ktouchutils.cpp +++ b/ktouch/src/ktouchutils.cpp @@ -10,25 +10,25 @@ * (at your option) any later version. * ***************************************************************************/ -#include -#include -#include +#include +#include +#include #include #include "ktouchutils.h" -QString format_speed(double speed) { +TQString format_speed(double speed) { unsigned int mins = static_cast(speed); unsigned int secs = static_cast(speed*60) - mins*60; - return QString("%1' %2''").arg(mins).arg(secs); + return TQString("%1' %2''").arg(mins).arg(secs); } -void sort_lists(QStringList& text, QStringList& data) { +void sort_lists(TQStringList& text, TQStringList& data) { if (text.count() != data.count()) return; // invalid input, no sorting possible - QMap sort_map; - QStringList::const_iterator key_it = text.constBegin(); - QStringList::const_iterator val_it = data.constBegin(); + TQMap sort_map; + TQStringList::const_iterator key_it = text.constBegin(); + TQStringList::const_iterator val_it = data.constBegin(); while (key_it != text.constEnd()) { // kdDebug() << *key_it << " " << *val_it << endl; sort_map[*key_it++] = *val_it++; -- cgit v1.2.1