summaryrefslogtreecommitdiffstats
path: root/kabc/vcardparser/testread.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/vcardparser/testread.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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.cpp14
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();