summaryrefslogtreecommitdiffstats
path: root/libkmime/tests
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-13 15:08:46 -0600
committerTimothy Pearson <[email protected]>2012-01-13 15:08:46 -0600
commitd497b1b0373d758ede3d877ab68c8d7c8ab29062 (patch)
tree00ebfc47087a5fd82949fc1abf08dd7e03c1c631 /libkmime/tests
parent639f34ef2efdec6ff0d1f47d919ca070d027fb80 (diff)
downloadtdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.tar.gz
tdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.zip
Fix inadvertent TQt changes
This closes Bug 752
Diffstat (limited to 'libkmime/tests')
-rw-r--r--libkmime/tests/test_mdn.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/libkmime/tests/test_mdn.cpp b/libkmime/tests/test_mdn.cpp
index dd1702bb1..fa9290f20 100644
--- a/libkmime/tests/test_mdn.cpp
+++ b/libkmime/tests/test_mdn.cpp
@@ -52,31 +52,31 @@ int main( int argc, char * argv[] ) {
long_options, &option_index );
if ( c == -1 ) break;
-#define ETQUALS(x) !qstricmp( optarg, x )
+#define EQUALS(x) !qstricmp( optarg, x )
switch ( c ) {
case 'a': // --action-mode
- if ( ETQUALS( "manual-action" ) )
+ if ( EQUALS( "manual-action" ) )
actionMode = ManualAction;
- else if ( ETQUALS( "automatic-action" ) )
+ else if ( EQUALS( "automatic-action" ) )
actionMode = AutomaticAction;
else
usage( "unknown action mode!" );
break;
case 'd': // --disposition-type
- if ( ETQUALS( "displayed" ) )
+ if ( EQUALS( "displayed" ) )
dispositionType = Displayed;
- else if ( ETQUALS( "deleted" ) )
+ else if ( EQUALS( "deleted" ) )
dispositionType = Deleted;
- else if ( ETQUALS( "dispatched" ) )
+ else if ( EQUALS( "dispatched" ) )
dispositionType = Dispatched;
- else if ( ETQUALS( "processed" ) )
+ else if ( EQUALS( "processed" ) )
dispositionType = Processed;
- else if ( ETQUALS( "denied" ) )
+ else if ( EQUALS( "denied" ) )
dispositionType = Denied;
- else if ( ETQUALS( "failed" ) )
+ else if ( EQUALS( "failed" ) )
dispositionType = Failed;
else
usage( "unknown disposition type!" );
@@ -97,15 +97,15 @@ int main( int argc, char * argv[] ) {
break;
case 'm': // --disposition-modifier
- if ( ETQUALS( "error" ) )
+ if ( EQUALS( "error" ) )
dispositionModifiers << Error;
- else if ( ETQUALS( "warning" ) )
+ else if ( EQUALS( "warning" ) )
dispositionModifiers << Warning;
- else if ( ETQUALS( "superseded" ) )
+ else if ( EQUALS( "superseded" ) )
dispositionModifiers << Superseded;
- else if ( ETQUALS( "expired" ) )
+ else if ( EQUALS( "expired" ) )
dispositionModifiers << Expired;
- else if ( ETQUALS( "mailbox-terminated" ) )
+ else if ( EQUALS( "mailbox-terminated" ) )
dispositionModifiers << MailboxTerminated;
else
usage( "unknwon disposition modifier!" );
@@ -119,9 +119,9 @@ int main( int argc, char * argv[] ) {
break;
case 's': // --sending-mode
- if ( ETQUALS( "MDN-sent-manually" ) )
+ if ( EQUALS( "MDN-sent-manually" ) )
sendingMode = SentManually;
- else if ( ETQUALS( "MDN-sent-automatically" ) )
+ else if ( EQUALS( "MDN-sent-automatically" ) )
sendingMode = SentAutomatically;
else
usage( "unknown sending mode" );