diff options
Diffstat (limited to 'konq-plugins/babelfish/plugin_babelfish.cpp')
-rw-r--r-- | konq-plugins/babelfish/plugin_babelfish.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/babelfish/plugin_babelfish.cpp b/konq-plugins/babelfish/plugin_babelfish.cpp index 3848f3b..c4d3f68 100644 --- a/konq-plugins/babelfish/plugin_babelfish.cpp +++ b/konq-plugins/babelfish/plugin_babelfish.cpp @@ -2,7 +2,7 @@ Copyright (C) 2001 Kurt Granroth <[email protected]> Original code: plugin code, connecting to Babelfish and support for selected text Copyright (C) 2003 Rand2342 <[email protected]> - Submenus, KConfig file and support for other translation engines + Submenus, TDEConfig file and support for other translation engines This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public @@ -181,8 +181,8 @@ PluginBabelFish::PluginBabelFish( TQObject* parent, const char* name, if ( parent && parent->inherits( "KHTMLPart" ) ) { KParts::ReadOnlyPart* part = static_cast<KParts::ReadOnlyPart *>(parent); - connect( part, TQT_SIGNAL(started(KIO::Job*)), this, - TQT_SLOT(slotStarted(KIO::Job*)) ); + connect( part, TQT_SIGNAL(started(TDEIO::Job*)), this, + TQT_SLOT(slotStarted(TDEIO::Job*)) ); } } @@ -191,7 +191,7 @@ PluginBabelFish::~PluginBabelFish() delete m_menu; } -void PluginBabelFish::slotStarted( KIO::Job* ) +void PluginBabelFish::slotStarted( TDEIO::Job* ) { if ( parent()->inherits("KHTMLPart") && // Babelfish wants http URLs only. No https. @@ -223,7 +223,7 @@ void PluginBabelFish::translateURL() } // Select engine - KConfig cfg( "translaterc", true ); + TDEConfig cfg( "translaterc", true ); TQString engine = cfg.readEntry( TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(), "babelfish" ); // Get URL |