summaryrefslogtreecommitdiffstats
path: root/ktnef/tests/parsertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktnef/tests/parsertest.cpp')
-rw-r--r--ktnef/tests/parsertest.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/ktnef/tests/parsertest.cpp b/ktnef/tests/parsertest.cpp
index 2cbe11e91..9cbce6d52 100644
--- a/ktnef/tests/parsertest.cpp
+++ b/ktnef/tests/parsertest.cpp
@@ -33,13 +33,13 @@ void ParserTest::testSingleAttachment()
KTNEFMessage *msg = parser.message();
assert( msg != 0 );
- QPtrList<KTNEFAttach> atts = msg->attachmentList();
+ TQPtrList<KTNEFAttach> atts = msg->attachmentList();
assert( atts.count() == 1 );
KTNEFAttach* att = atts.first();
assert( att != 0 );
assert( att->size() == 244 );
- assert( att->name() == QString( "AUTHORS" ) );
+ assert( att->name() == TQString( "AUTHORS" ) );
}
void ParserTest::testTwoAttachments()
@@ -50,18 +50,18 @@ void ParserTest::testTwoAttachments()
KTNEFMessage *msg = parser.message();
assert( msg != 0 );
- QPtrList<KTNEFAttach> atts = msg->attachmentList();
+ TQPtrList<KTNEFAttach> atts = msg->attachmentList();
assert( atts.count() == 2 );
KTNEFAttach* att = atts.at( 0 );
assert( att != 0 );
assert( att->size() == 244 );
- assert( att->name() == QString( "AUTHORS" ) );
+ assert( att->name() == TQString( "AUTHORS" ) );
att = atts.at( 1 );
assert( att != 0 );
assert( att->size() == 893 );
- assert( att->name() == QString( "README" ) );
+ assert( att->name() == TQString( "README" ) );
}
void ParserTest::testMAPIAttachments()
@@ -72,23 +72,23 @@ void ParserTest::testMAPIAttachments()
KTNEFMessage *msg = parser.message();
assert( msg != 0 );
- QPtrList<KTNEFAttach> atts = msg->attachmentList();
+ TQPtrList<KTNEFAttach> atts = msg->attachmentList();
assert( atts.count() == 3 );
KTNEFAttach* att = atts.at( 0 );
assert( att != 0 );
assert( att->size() == 61952 );
- assert( att->name() == QString( "VIA_Nytt_1402.doc" ) );
+ assert( att->name() == TQString( "VIA_Nytt_1402.doc" ) );
att = atts.at( 1 );
assert( att != 0 );
assert( att->size() == 213688 );
- assert( att->name() == QString( "VIA_Nytt_1402.pdf" ) );
+ assert( att->name() == TQString( "VIA_Nytt_1402.pdf" ) );
att = atts.at( 2 );
assert( att != 0 );
assert( att->size() == 68920 );
- assert( att->name() == QString( "VIA_Nytt_14021.htm" ) );
+ assert( att->name() == TQString( "VIA_Nytt_14021.htm" ) );
}
#include <kinstance.h>