summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/translator
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/translator')
-rw-r--r--kopete/plugins/translator/translatorplugin.cpp6
-rw-r--r--kopete/plugins/translator/translatorprefsbase.ui2
2 files changed, 4 insertions, 4 deletions
diff --git a/kopete/plugins/translator/translatorplugin.cpp b/kopete/plugins/translator/translatorplugin.cpp
index 64f2e8e7..64febcaa 100644
--- a/kopete/plugins/translator/translatorplugin.cpp
+++ b/kopete/plugins/translator/translatorplugin.cpp
@@ -17,7 +17,7 @@
* *
*************************************************************************
Patched by Francesco Rossi <redsh@email.it> in order to support new
- google translation page tqlayout (13-sept-2007)
+ google translation page layout (13-sept-2007)
*/
#include <tqapplication.h>
@@ -284,7 +284,7 @@ TQString TranslatorPlugin::googleTranslateMessage( const TQString &msg, const TQ
while ( !m_completed[ job ] )
tqApp->processEvents();
- TQString data = TQString::tqfromLatin1( m_data[ job ] );
+ TQString data = TQString::fromLatin1( m_data[ job ] );
// After hacks, we need to clean
m_data.remove( job );
@@ -364,7 +364,7 @@ void TranslatorPlugin::sendTranslation( Kopete::Message &msg, const TQString &tr
msg.setBody( translated, msg.format() );
break;
case ShowOriginal:
- msg.setBody( i18n( "%2 \nAuto Translated: \n%1" ).tqarg( translated, msg.plainBody() ), msg.format() );
+ msg.setBody( i18n( "%2 \nAuto Translated: \n%1" ).arg( translated, msg.plainBody() ), msg.format() );
break;
case ShowDialog:
{
diff --git a/kopete/plugins/translator/translatorprefsbase.ui b/kopete/plugins/translator/translatorprefsbase.ui
index 7a8d2c5a..7a92eccc 100644
--- a/kopete/plugins/translator/translatorprefsbase.ui
+++ b/kopete/plugins/translator/translatorprefsbase.ui
@@ -178,7 +178,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>