diff options
Diffstat (limited to 'libkmime/tests/test_mdn.cpp')
-rw-r--r-- | libkmime/tests/test_mdn.cpp | 24 |
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, |