summaryrefslogtreecommitdiffstats
path: root/kmail/kmmsgpartdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmmsgpartdlg.cpp')
-rw-r--r--kmail/kmmsgpartdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmmsgpartdlg.cpp b/kmail/kmmsgpartdlg.cpp
index a56bee17..167ff8de 100644
--- a/kmail/kmmsgpartdlg.cpp
+++ b/kmail/kmmsgpartdlg.cpp
@@ -370,7 +370,7 @@ void KMMsgPartDialogCompat::setMsgPart( KMMessagePart * aMsgPart )
setMimeType( mMsgPart->typeStr(), mMsgPart->subtypeStr() );
setSize( mMsgPart->decodedSize() );
setInline( mMsgPart->contentDisposition()
- .tqfind( TQRegExp("^\\s*inline", false) ) >= 0 );
+ .find( TQRegExp("^\\s*inline", false) ) >= 0 );
}
@@ -396,7 +396,7 @@ void KMMsgPartDialogCompat::applyChanges()
if ( name != TQString( encName ) )
cDisp += "*=" + encName;
else
- cDisp += "=\"" + encName.tqreplace( '\\', "\\\\" ).tqreplace( '"', "\\\"" ) + '"';
+ cDisp += "=\"" + encName.replace( '\\', "\\\\" ).replace( '"', "\\\"" ) + '"';
mMsgPart->setContentDisposition( cDisp );
}
@@ -408,7 +408,7 @@ void KMMsgPartDialogCompat::applyChanges()
// apply Content-Type:
TQCString type = mimeType().latin1();
TQCString subtype;
- int idx = type.tqfind('/');
+ int idx = type.find('/');
if ( idx < 0 )
subtype = "";
else {