summaryrefslogtreecommitdiffstats
path: root/kmail/vacation.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/vacation.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kmail/vacation.cpp')
-rw-r--r--kmail/vacation.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/vacation.cpp b/kmail/vacation.cpp
index d3d374aea..fbcf46c82 100644
--- a/kmail/vacation.cpp
+++ b/kmail/vacation.cpp
@@ -469,21 +469,21 @@ namespace KMail {
}
addressesArgument += sl.join( ", " ) + " ] ";
}
- TQString script = TQString::fromLatin1("require \"vacation\";\n\n" );
+ TQString script = TQString::tqfromLatin1("require \"vacation\";\n\n" );
if ( !sendForSpam )
- script += TQString::fromLatin1( "if header :contains \"X-Spam-Flag\" \"YES\""
+ script += TQString::tqfromLatin1( "if header :contains \"X-Spam-Flag\" \"YES\""
" { keep; stop; }\n" ); // FIXME?
if ( !domain.isEmpty() ) // FIXME
- script += TQString::fromLatin1( "if not address :domain :contains \"from\" \"%1\" { keep; stop; }\n" ).arg( domain );
+ script += TQString::tqfromLatin1( "if not address :domain :contains \"from\" \"%1\" { keep; stop; }\n" ).tqarg( domain );
script += "vacation ";
script += addressesArgument;
if ( notificationInterval > 0 )
- script += TQString::fromLatin1(":days %1 ").arg( notificationInterval );
- script += TQString::fromLatin1("text:\n");
+ script += TQString::tqfromLatin1(":days %1 ").tqarg( notificationInterval );
+ script += TQString::tqfromLatin1("text:\n");
script += dotstuff( messageText.isEmpty() ? defaultMessageText() : messageText );
- script += TQString::fromLatin1( "\n.\n;\n" );
+ script += TQString::tqfromLatin1( "\n.\n;\n" );
return script;
}
@@ -573,7 +573,7 @@ namespace KMail {
"\n"
"Yours sincerely,\n"
"-- <enter your name and email address here>\n")
- .arg( KGlobal::locale()->formatDate( TQDate::currentDate().addDays( 1 ) ) );
+ .tqarg( KGlobal::locale()->formatDate( TQDate::tqcurrentDate().addDays( 1 ) ) );
}
int Vacation::defaultNotificationInterval() {