From 45971e65a6114fbd1f91ae354da485450001166f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 3 Sep 2013 20:02:44 +0200 Subject: Additional k => tde renaming and fixes --- kopete/plugins/translator/Makefile.am | 8 ++++---- kopete/plugins/translator/translatorplugin.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kopete/plugins/translator') diff --git a/kopete/plugins/translator/Makefile.am b/kopete/plugins/translator/Makefile.am index fd58d26f..8c8be5bc 100644 --- a/kopete/plugins/translator/Makefile.am +++ b/kopete/plugins/translator/Makefile.am @@ -6,12 +6,12 @@ kde_module_LTLIBRARIES = kopete_translator.la kcm_kopete_translator.la kopete_translator_la_SOURCES = translatorplugin.cpp \ translatordialog.cpp translatorguiclient.cpp translatorlanguages.cpp -kopete_translator_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -kopete_translator_la_LIBADD = ../../libkopete/libkopete.la $(LIB_KIO) +kopete_translator_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor +kopete_translator_la_LIBADD = ../../libkopete/libkopete.la $(LIB_TDEIO) kcm_kopete_translator_la_SOURCES = translatorprefsbase.ui translatorprefs.cpp translatorlanguages.cpp -kcm_kopete_translator_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -kcm_kopete_translator_la_LIBADD = ../../libkopete/libkopete.la $(LIB_KUTILS) +kcm_kopete_translator_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor +kcm_kopete_translator_la_LIBADD = ../../libkopete/libkopete.la $(LIB_TDEUTILS) service_DATA = kopete_translator.desktop servicedir = $(kde_servicesdir) diff --git a/kopete/plugins/translator/translatorplugin.cpp b/kopete/plugins/translator/translatorplugin.cpp index 223d1d70..d5102bb9 100644 --- a/kopete/plugins/translator/translatorplugin.cpp +++ b/kopete/plugins/translator/translatorplugin.cpp @@ -278,7 +278,7 @@ TQString TranslatorPlugin::googleTranslateMessage( const TQString &msg, const TQ TQObject::connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQT_SLOT( slotDataReceived( TDEIO::Job *, const TQByteArray & ) ) ); TQObject::connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobDone( TDEIO::Job * ) ) ); - // KIO is async and we use a sync API, so use the processEvents hack to work around that + // TDEIO is async and we use a sync API, so use the processEvents hack to work around that // FIXME: We need to make the libkopete API async to get rid of this processEvents. // It often causes crashes in the code. - Martijn while ( !m_completed[ job ] ) @@ -314,7 +314,7 @@ TQString TranslatorPlugin::babelTranslateMessage( const TQString &msg, const TQS TQObject::connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), this, TQT_SLOT( slotDataReceived( TDEIO::Job *, const TQByteArray & ) ) ); TQObject::connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobDone( TDEIO::Job * ) ) ); - // KIO is async and we use a sync API, so use the processEvents hack to work around that + // TDEIO is async and we use a sync API, so use the processEvents hack to work around that // FIXME: We need to make the libkopete API async to get rid of this processEvents. // It often causes crashes in the code. - Martijn while ( !m_completed[ job ] ) -- cgit v1.2.1