diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkmime/tests/test_charfreq.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkmime/tests/test_charfreq.cpp')
-rw-r--r-- | libkmime/tests/test_charfreq.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkmime/tests/test_charfreq.cpp b/libkmime/tests/test_charfreq.cpp index c5b708819..50f2809d8 100644 --- a/libkmime/tests/test_charfreq.cpp +++ b/libkmime/tests/test_charfreq.cpp @@ -6,7 +6,7 @@ #include <iostream> -#include <qfile.h> +#include <tqfile.h> using namespace std; using namespace KMime; @@ -28,12 +28,12 @@ static const char * typeToString( int type ) { int main( int argc, char **argv ) { for ( int i = 1 /*not program*/ ; i < argc ; i++ ) { - QFile in( argv[i] ); + TQFile in( argv[i] ); if ( !in.open( IO_ReadOnly ) ) { cerr << argv[i] << ": does not exist!" << endl; continue; } - QByteArray ba = in.readAll(); + TQByteArray ba = in.readAll(); CharFreq cf( ba ); cout << argv[i] << ": " << typeToString(cf.type()) << endl; } |