summaryrefslogtreecommitdiffstats
path: root/libkmime/tests/test_charfreq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/tests/test_charfreq.cpp')
-rw-r--r--libkmime/tests/test_charfreq.cpp6
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;
}