summaryrefslogtreecommitdiffstats
path: root/kmail/messagecomposer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/messagecomposer.cpp')
-rw-r--r--kmail/messagecomposer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/messagecomposer.cpp b/kmail/messagecomposer.cpp
index c69aa525b..dadc653f4 100644
--- a/kmail/messagecomposer.cpp
+++ b/kmail/messagecomposer.cpp
@@ -75,8 +75,8 @@
#include <kdebug.h>
#include <kaction.h>
#include <tqfile.h>
-#include <tqtextcodec.h>
-#include <tqtextedit.h>
+#include <textcodec.h>
+#include <textedit.h>
#include <tqtimer.h>
#include <gpgmepp/key.h>
@@ -599,7 +599,7 @@ void MessageComposer::chiasmusEncryptAllAttachments() {
for ( TQValueVector<Attachment>::iterator it = mAttachments.begin(), end = mAttachments.end() ; it != end ; ++it ) {
KMMessagePart * part = it->part;
const TQString filename = part->fileName();
- if ( filename.tqendsWith( ".xia", false ) )
+ if ( filename.endsWith( ".xia", false ) )
continue; // already encrypted
const TQByteArray body = part->bodyDecodedBinary();
TQByteArray resultData;
@@ -2038,7 +2038,7 @@ bool MessageComposer::processStructuringInfo( const TQString bugURL,
i18n( "<qt><p>Error: The backend did not return "
"any encoded data.</p>"
"<p>Please report this bug:<br>%2</p></qt>" )
- .tqarg( bugURL ) );
+ .arg( bugURL ) );
bOk = false;
}
resultingPart.setBodyEncodedBinary( resultingBody );
@@ -2092,7 +2092,7 @@ TQByteArray MessageComposer::breakLinesAndApplyCodec()
if( mCharset == "us-ascii" ) {
cText = KMMsgBase::toUsAscii( text );
- newText = TQString::tqfromLatin1( cText );
+ newText = TQString::fromLatin1( cText );
} else if( codec == 0 ) {
kdDebug(5006) << "Something is wrong and I can not get a codec." << endl;
cText = text.local8Bit();