summaryrefslogtreecommitdiffstats
path: root/konqueror/kttsplugin
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/kttsplugin')
-rw-r--r--konqueror/kttsplugin/Makefile.am2
-rw-r--r--konqueror/kttsplugin/tdehtmlkttsd.cpp18
-rw-r--r--konqueror/kttsplugin/tdehtmlkttsd.h12
3 files changed, 16 insertions, 16 deletions
diff --git a/konqueror/kttsplugin/Makefile.am b/konqueror/kttsplugin/Makefile.am
index d82a56fc2..faa445143 100644
--- a/konqueror/kttsplugin/Makefile.am
+++ b/konqueror/kttsplugin/Makefile.am
@@ -5,7 +5,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libtdehtmlkttsdplugin.la
libtdehtmlkttsdplugin_la_SOURCES = tdehtmlkttsd.cpp
-libtdehtmlkttsdplugin_la_LIBADD = $(LIB_KHTML)
+libtdehtmlkttsdplugin_la_LIBADD = $(LIB_TDEHTML)
libtdehtmlkttsdplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins
diff --git a/konqueror/kttsplugin/tdehtmlkttsd.cpp b/konqueror/kttsplugin/tdehtmlkttsd.cpp
index 80b756a8b..6d643dd9b 100644
--- a/konqueror/kttsplugin/tdehtmlkttsd.cpp
+++ b/konqueror/kttsplugin/tdehtmlkttsd.cpp
@@ -33,7 +33,7 @@
#include <dcopclient.h>
#include <ktrader.h>
-KHTMLPluginKTTSD::KHTMLPluginKTTSD( TQObject* parent, const char* name, const TQStringList& )
+TDEHTMLPluginKTTSD::TDEHTMLPluginKTTSD( TQObject* parent, const char* name, const TQStringList& )
: Plugin( parent, name )
{
// If KTTSD is not installed, hide action.
@@ -46,17 +46,17 @@ KHTMLPluginKTTSD::KHTMLPluginKTTSD( TQObject* parent, const char* name, const TQ
actionCollection(), "tools_kttsd" );
}
else
- kdDebug() << "KHTMLPLuginKTTSD::KHTMLPluginKTTSD: KTrader did not find KTTSD." << endl;
+ kdDebug() << "TDEHTMLPLuginKTTSD::TDEHTMLPluginKTTSD: KTrader did not find KTTSD." << endl;
}
-KHTMLPluginKTTSD::~KHTMLPluginKTTSD()
+TDEHTMLPluginKTTSD::~TDEHTMLPluginKTTSD()
{
}
-void KHTMLPluginKTTSD::slotReadOut()
+void TDEHTMLPluginKTTSD::slotReadOut()
{
- // The parent is assumed to be a KHTMLPart
- if ( !parent()->inherits("KHTMLPart") )
+ // The parent is assumed to be a TDEHTMLPart
+ if ( !parent()->inherits("TDEHTMLPart") )
TQMessageBox::warning( 0, i18n( "Cannot Read source" ),
i18n( "You cannot read anything except web pages with\n"
"this plugin, sorry." ));
@@ -91,7 +91,7 @@ void KHTMLPluginKTTSD::slotReadOut()
reply >> supportsXhtml;
}
- KHTMLPart *part = (KHTMLPart *) parent();
+ TDEHTMLPart *part = (TDEHTMLPart *) parent();
TQString query;
if (supportsXhtml)
@@ -116,7 +116,7 @@ void KHTMLPluginKTTSD::slotReadOut()
else
query = part->htmlDocument().body().innerText().string();
}
- // kdDebug() << "KHTMLPluginKTTSD::slotReadOut: query = " << query << endl;
+ // kdDebug() << "TDEHTMLPluginKTTSD::slotReadOut: query = " << query << endl;
dataBuf.at(0); // reset data
arg << query << "";
@@ -133,6 +133,6 @@ void KHTMLPluginKTTSD::slotReadOut()
}
}
-K_EXPORT_COMPONENT_FACTORY( libtdehtmlkttsdplugin, KGenericFactory<KHTMLPluginKTTSD>("tdehtmlkttsd") )
+K_EXPORT_COMPONENT_FACTORY( libtdehtmlkttsdplugin, KGenericFactory<TDEHTMLPluginKTTSD>("tdehtmlkttsd") )
#include "tdehtmlkttsd.moc"
diff --git a/konqueror/kttsplugin/tdehtmlkttsd.h b/konqueror/kttsplugin/tdehtmlkttsd.h
index f42c9b03e..f9e606c16 100644
--- a/konqueror/kttsplugin/tdehtmlkttsd.h
+++ b/konqueror/kttsplugin/tdehtmlkttsd.h
@@ -14,8 +14,8 @@
***************************************************************************/
-#ifndef KHTMLKTTSD_H
-#define KHTMLKTTSD_H
+#ifndef TDEHTMLKTTSD_H
+#define TDEHTMLKTTSD_H
#include <tdeparts/plugin.h>
@@ -23,9 +23,9 @@ class KURL;
class TDEInstance;
/**
- * KHTML KParts Plugin
+ * TDEHTML KParts Plugin
*/
-class KHTMLPluginKTTSD : public KParts::Plugin
+class TDEHTMLPluginKTTSD : public KParts::Plugin
{
Q_OBJECT
public:
@@ -33,12 +33,12 @@ public:
/**
* Construct a new KParts plugin.
*/
- KHTMLPluginKTTSD( TQObject* parent, const char* name, const TQStringList& );
+ TDEHTMLPluginKTTSD( TQObject* parent, const char* name, const TQStringList& );
/**
* Destructor.
*/
- virtual ~KHTMLPluginKTTSD();
+ virtual ~TDEHTMLPluginKTTSD();
public slots:
void slotReadOut();
};