summaryrefslogtreecommitdiffstats
path: root/libkmime
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime')
-rw-r--r--libkmime/kmime_util.h4
-rw-r--r--libkmime/tests/test_mdn.cpp32
2 files changed, 18 insertions, 18 deletions
diff --git a/libkmime/kmime_util.h b/libkmime/kmime_util.h
index e561eb0d8..34f8bd5d7 100644
--- a/libkmime/kmime_util.h
+++ b/libkmime/kmime_util.h
@@ -154,13 +154,13 @@ namespace KMime {
*/
extern TQCString LFtoCRLF(const TQCString &s) KDE_EXPORT;
- /** Removes quote (DTQUOTE) characters and decodes "quoted-pairs"
+ /** Removes quote (DQUOTE) characters and decodes "quoted-pairs"
(ie. backslash-escaped characters)
@param str the string to work on.
@see addQuotes
*/
KDE_EXPORT extern void removeQuots(TQCString &str);
- /** Removes quote (DTQUOTE) characters and decodes "quoted-pairs"
+ /** Removes quote (DQUOTE) characters and decodes "quoted-pairs"
(ie. backslash-escaped characters)
@param str the string to work on.
@see addQuotes
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" );