summaryrefslogtreecommitdiffstats
path: root/libkmime/tests/test_mdn.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 /libkmime/tests/test_mdn.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 'libkmime/tests/test_mdn.cpp')
-rw-r--r--libkmime/tests/test_mdn.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libkmime/tests/test_mdn.cpp b/libkmime/tests/test_mdn.cpp
index 1bb387f1d..fa9290f20 100644
--- a/libkmime/tests/test_mdn.cpp
+++ b/libkmime/tests/test_mdn.cpp
@@ -1,9 +1,9 @@
#include <kmime_mdn.h>
using namespace KMime::MDN;
-#include <qcstring.h>
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqcstring.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
#include <iostream>
using std::cout;
@@ -26,14 +26,14 @@ void usage( const char * msg=0 ) {
int main( int argc, char * argv[] ) {
- QString finalRecipient;
- QString originalRecipient;
- QCString originalMessageId;
+ TQString finalRecipient;
+ TQString originalRecipient;
+ TQCString originalMessageId;
ActionMode actionMode = ManualAction;
SendingMode sendingMode = SentManually;
DispositionType dispositionType = Displayed;
- QValueList<DispositionModifier> dispositionModifiers;
- QString special;
+ TQValueList<DispositionModifier> dispositionModifiers;
+ TQString special;
while ( true ) {
int option_index = 0;
@@ -84,7 +84,7 @@ int main( int argc, char * argv[] ) {
case 'f': // --final-recipient
if ( optarg && *optarg )
- finalRecipient = QString::fromUtf8( optarg );
+ finalRecipient = TQString::fromUtf8( optarg );
else
usage( "--final-recipient is missing a value" );
break;
@@ -113,7 +113,7 @@ int main( int argc, char * argv[] ) {
case 'o': // --original-recipient
if ( optarg && *optarg )
- originalRecipient = QString::fromUtf8( optarg );
+ originalRecipient = TQString::fromUtf8( optarg );
else
usage( "--original-recipient is missing a value" );
break;
@@ -133,11 +133,11 @@ int main( int argc, char * argv[] ) {
}
if ( optind < argc )
- special = QString::fromUtf8( argv[optind++] );
+ special = TQString::fromUtf8( argv[optind++] );
if ( optind < argc )
usage( "too many arguments!" );
- QCString result = dispositionNotificationBodyContent( finalRecipient,
+ TQCString result = dispositionNotificationBodyContent( finalRecipient,
originalRecipient.latin1(),
originalMessageId,
dispositionType,