summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer/korganizerplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/korganizer/korganizerplugin.cpp')
-rw-r--r--kontact/plugins/korganizer/korganizerplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp
index 7c2140b36..6d39d413a 100644
--- a/kontact/plugins/korganizer/korganizerplugin.cpp
+++ b/kontact/plugins/korganizer/korganizerplugin.cpp
@@ -224,8 +224,8 @@ void KOrganizerPlugin::processDropEvent( TQDropEvent *event )
KTempFile tf;
tf.setAutoDelete( true );
- TQString uri = TQString::tqfromLatin1("kmail:") + TQString::number( mail.serialNumber() );
- tf.file()->writeBlock( event->tqencodedData( "message/rfc822" ) );
+ TQString uri = TQString::fromLatin1("kmail:") + TQString::number( mail.serialNumber() );
+ tf.file()->writeBlock( event->encodedData( "message/rfc822" ) );
tf.close();
interface()->openEventEditor( i18n("Mail: %1").tqarg( mail.subject() ), txt,
uri, tf.name(), TQStringList(), "message/rfc822" );