summaryrefslogtreecommitdiffstats
path: root/kstartperf
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kstartperf
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstartperf')
-rw-r--r--kstartperf/kstartperf.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kstartperf/kstartperf.cpp b/kstartperf/kstartperf.cpp
index 3f029b62..80655dac 100644
--- a/kstartperf/kstartperf.cpp
+++ b/kstartperf/kstartperf.cpp
@@ -15,9 +15,9 @@
#include <errno.h>
#include <sys/time.h>
-#include <qstring.h>
-#include <qtextstream.h>
-#include <qfile.h>
+#include <tqstring.h>
+#include <tqtextstream.h>
+#include <tqfile.h>
#include <kapplication.h>
#include <kaboutdata.h>
@@ -33,20 +33,20 @@ static KCmdLineOptions options[] =
};
-QString libkstartperf()
+TQString libkstartperf()
{
- QString lib = QString::null;
- QString la_file = locate("lib", "libkstartperf.la");
+ TQString lib = TQString::null;
+ TQString la_file = locate("lib", "libkstartperf.la");
if (la_file.isEmpty())
return lib;
// Find the name of the .so file by reading the .la file
- QFile la(la_file);
+ TQFile la(la_file);
if (la.open(IO_ReadOnly))
{
- QTextStream is(&la);
- QString line;
+ TQTextStream is(&la);
+ TQString line;
while (!is.atEnd())
{