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/testread.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/testread.cpp')
-rw-r--r-- | kabc/vcardparser/testread.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kabc/vcardparser/testread.cpp b/kabc/vcardparser/testread.cpp index 52fe81a11..bad2ceb78 100644 --- a/kabc/vcardparser/testread.cpp +++ b/kabc/vcardparser/testread.cpp @@ -20,8 +20,8 @@ #include <iostream> #include <stdlib.h> -#include <qfile.h> -#include <qtextstream.h> +#include <tqfile.h> +#include <tqtextstream.h> #include <kprocess.h> #include <kdebug.h> @@ -59,18 +59,18 @@ int main( int argc, char **argv ) return 1; } - QString inputFile( args->arg( 0 ) ); + TQString inputFile( args->arg( 0 ) ); - QFile file( inputFile ); + TQFile file( inputFile ); if ( !file.open( IO_ReadOnly ) ) { qDebug( "Unable to open file '%s' for reading!", file.name().latin1() ); return 1; } - QString text; + TQString text; - QTextStream s( &file ); - s.setEncoding( QTextStream::Latin1 ); + TQTextStream s( &file ); + s.setEncoding( TQTextStream::Latin1 ); text = s.read(); file.close(); |