summaryrefslogtreecommitdiffstats
path: root/libkmime
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-13 15:08:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-13 15:08:46 -0600
commitd497b1b0373d758ede3d877ab68c8d7c8ab29062 (patch)
tree00ebfc47087a5fd82949fc1abf08dd7e03c1c631 /libkmime
parent639f34ef2efdec6ff0d1f47d919ca070d027fb80 (diff)
downloadtdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.tar.gz
tdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.zip
Fix inadvertent TQt changes
This closes Bug 752
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" );