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 dadc653f4..c69aa525b 100644
--- a/kmail/messagecomposer.cpp
+++ b/kmail/messagecomposer.cpp
@@ -75,8 +75,8 @@
#include <kdebug.h>
#include <kaction.h>
#include <tqfile.h>
-#include <textcodec.h>
-#include <textedit.h>
+#include <tqtextcodec.h>
+#include <tqtextedit.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.endsWith( ".xia", false ) )
+ if ( filename.tqendsWith( ".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>" )
- .arg( bugURL ) );
+ .tqarg( bugURL ) );
bOk = false;
}
resultingPart.setBodyEncodedBinary( resultingBody );
@@ -2092,7 +2092,7 @@ TQByteArray MessageComposer::breakLinesAndApplyCodec()
if( mCharset == "us-ascii" ) {
cText = KMMsgBase::toUsAscii( text );
- newText = TQString::fromLatin1( cText );
+ newText = TQString::tqfromLatin1( cText );
} else if( codec == 0 ) {
kdDebug(5006) << "Something is wrong and I can not get a codec." << endl;
cText = text.local8Bit();