summaryrefslogtreecommitdiffstats
path: root/kmail/kmmessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmmessage.cpp')
-rw-r--r--kmail/kmmessage.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmmessage.cpp b/kmail/kmmessage.cpp
index e44d253bb..c083638d3 100644
--- a/kmail/kmmessage.cpp
+++ b/kmail/kmmessage.cpp
@@ -3183,10 +3183,10 @@ bool KMMessage::deleteBodyPart( int partIndex )
if ( !part.isComplete() )
return false;
- DwBody *tqparentNode = dynamic_cast<DwBody*>( dwpart->Parent() );
- if ( !tqparentNode )
+ DwBody *parentNode = dynamic_cast<DwBody*>( dwpart->Parent() );
+ if ( !parentNode )
return false;
- tqparentNode->RemoveBodyPart( dwpart );
+ parentNode->RemoveBodyPart( dwpart );
// add dummy part to show that a attachment has been deleted
KMMessagePart dummyPart;
@@ -3204,7 +3204,7 @@ bool KMMessage::deleteBodyPart( int partIndex )
dummyPart.setContentDisposition( "attachment" );
}
DwBodyPart* newDwPart = createDWBodyPart( &dummyPart );
- tqparentNode->AddBodyPart( newDwPart );
+ parentNode->AddBodyPart( newDwPart );
getTopLevelPart()->Assemble();
return true;
}
@@ -4306,10 +4306,10 @@ void KMMessage::updateBodyPart(const TQString partSpecifier, const TQByteArray &
} else {
// update body
mLastUpdated->Body().FromString( content );
- TQString tqparentSpec = partSpecifier.section( '.', 0, -2 );
- if ( !tqparentSpec.isEmpty() )
+ TQString parentSpec = partSpecifier.section( '.', 0, -2 );
+ if ( !parentSpec.isEmpty() )
{
- DwBodyPart* tqparent = findDwBodyPart( getFirstDwBodyPart(), tqparentSpec );
+ DwBodyPart* tqparent = findDwBodyPart( getFirstDwBodyPart(), parentSpec );
if ( tqparent && tqparent->hasHeaders() && tqparent->Headers().HasContentType() )
{
const DwMediaType& contentType = tqparent->Headers().ContentType();