summaryrefslogtreecommitdiffstats
path: root/ktnef/tests/parsertest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /ktnef/tests/parsertest.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 '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>