summaryrefslogtreecommitdiffstats
path: root/kmail/kmreaderwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmreaderwin.cpp')
-rw-r--r--kmail/kmreaderwin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmreaderwin.cpp b/kmail/kmreaderwin.cpp
index 3c2e16ee0..b8937dc06 100644
--- a/kmail/kmreaderwin.cpp
+++ b/kmail/kmreaderwin.cpp
@@ -274,7 +274,7 @@ void KMReaderWin::objectTreeToDecryptedMsg( partNode* node,
DwHeaders * headers(
(part && part->hasHeaders())
? &part->Headers()
- : ( (weAreReplacingTheRootNode || !dataNode->tqparentNode())
+ : ( (weAreReplacingTheRootNode || !dataNode->parentNode())
? &rootHeaders
: 0 ) );
if( dataNode == curNode ) {
@@ -284,7 +284,7 @@ kdDebug(5006) << "dataNode == curNode: Save curNode without replacing it." << e
// AND we are not replacing a node that already *has* replaced
// the root node in previous recursion steps of this function...
if( headers ) {
- if( dataNode->tqparentNode() && !weAreReplacingTheRootNode ) {
+ if( dataNode->parentNode() && !weAreReplacingTheRootNode ) {
kdDebug(5006) << "dataNode is NOT replacing the root node: Store the headers." << endl;
resultingData += headers->AsString().c_str();
} else if( weAreReplacingTheRootNode && part && part->hasHeaders() ){
@@ -345,7 +345,7 @@ kdDebug(5006) << "is Simple part or invalid Multipart, storing body data .. DONE
}
} else {
kdDebug(5006) << "dataNode != curNode: Replace curNode by dataNode." << endl;
- bool rootNodeReplaceFlag = weAreReplacingTheRootNode || !curNode->tqparentNode();
+ bool rootNodeReplaceFlag = weAreReplacingTheRootNode || !curNode->parentNode();
if( rootNodeReplaceFlag ) {
kdDebug(5006) << " Root node will be replaced." << endl;
} else {