diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/vcardparser/testutils.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/vcardparser/testutils.cpp')
-rw-r--r-- | kabc/vcardparser/testutils.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 <vcardparser.h> #include <kabc/addressee.h> -#include <qfile.h> +#include <tqfile.h> 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" ); |