From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kabc/vcardparser/testutils.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kabc/vcardparser/testutils.cpp') diff --git a/kabc/vcardparser/testutils.cpp b/kabc/vcardparser/testutils.cpp index 086dd297e..df4b60c9c 100644 --- a/kabc/vcardparser/testutils.cpp +++ b/kabc/vcardparser/testutils.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include using namespace KABC; @@ -62,12 +62,12 @@ vcard3() QString -vcardAsText( const QString& location ) +vcardAsText( const TQString& location ) { - QString line; - QFile file( location ); + TQString line; + TQFile file( location ); if ( file.open( IO_ReadOnly ) ) { - QTextStream stream( &file ); + TQTextStream stream( &file ); if ( !stream.eof() ) { line = stream.read(); } @@ -91,7 +91,7 @@ vCardsAsAddresseeList() QString vCardsAsText() { - QString vcards = vcardAsText( "tests/vcard1.vcf" ); + TQString vcards = vcardAsText( "tests/vcard1.vcf" ); vcards += vcardAsText( "tests/vcard2.vcf" ); vcards += vcardAsText( "tests/vcard3.vcf" ); -- cgit v1.2.1