summaryrefslogtreecommitdiffstats
path: root/konq-plugins/babelfish
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:28:24 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:28:24 -0600
commit20de04ce44f63fb911103d7870d39d2782d14cda (patch)
treebddd13cef2fae98892caf538dc64b5357732c517 /konq-plugins/babelfish
parent4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff)
downloadtdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz
tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konq-plugins/babelfish')
-rw-r--r--konq-plugins/babelfish/plugin_babelfish.cpp10
-rw-r--r--konq-plugins/babelfish/plugin_babelfish.h4
2 files changed, 7 insertions, 7 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
diff --git a/konq-plugins/babelfish/plugin_babelfish.h b/konq-plugins/babelfish/plugin_babelfish.h
index 78b1087..8a8bfd8 100644
--- a/konq-plugins/babelfish/plugin_babelfish.h
+++ b/konq-plugins/babelfish/plugin_babelfish.h
@@ -23,7 +23,7 @@
#include <klibloader.h>
class KURL;
-namespace KIO { class Job; }
+namespace TDEIO { class Job; }
class PluginBabelFish : public KParts::Plugin
{
@@ -37,7 +37,7 @@ public:
public slots:
void translateURL();
protected slots:
- void slotStarted( KIO::Job* );
+ void slotStarted( TDEIO::Job* );
private:
KActionMenu* m_menu;