summaryrefslogtreecommitdiffstats
path: root/kmail/objecttreeparser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:34:45 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /kmail/objecttreeparser.cpp
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kmail/objecttreeparser.cpp')
-rw-r--r--kmail/objecttreeparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/objecttreeparser.cpp b/kmail/objecttreeparser.cpp
index 0e5103e29..518610d99 100644
--- a/kmail/objecttreeparser.cpp
+++ b/kmail/objecttreeparser.cpp
@@ -272,7 +272,7 @@ namespace KMail {
ProcessResult processResult;
if ( mReader ) {
- htmlWriter()->queue( TQString::tqfromLatin1("<a name=\"att%1\"/>").tqarg( node->nodeId() ) );
+ htmlWriter()->queue( TQString::fromLatin1("<a name=\"att%1\"/>").tqarg( node->nodeId() ) );
}
if ( const Interface::BodyPartFormatter * formatter
@@ -391,7 +391,7 @@ namespace KMail {
//////////////////
//////////////////
- static int signatureTotqStatus( const GpgME::Signature &sig )
+ static int signatureToStatus( const GpgME::Signature &sig )
{
switch ( sig.status().code() ) {
case GPG_ERR_NO_ERROR:
@@ -586,10 +586,10 @@ namespace KMail {
//kdDebug(5006) << "\nObjectTreeParser::writeOpaqueOrMultipartSignedData: found signature" << endl;
GpgME::Signature signature = signatures[0];
- messagePart.status_code = signatureTotqStatus( signature );
+ messagePart.status_code = signatureToStatus( signature );
messagePart.status = TQString::fromUtf8( signature.status().asString() );
for ( uint i = 1; i < signatures.size(); ++i ) {
- if ( signatureTotqStatus( signatures[i] ) != messagePart.status_code ) {
+ if ( signatureToStatus( signatures[i] ) != messagePart.status_code ) {
messagePart.status_code = GPGME_SIG_STAT_DIFF;
messagePart.status = i18n("Different results for signatures");
}