summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kpartplugin
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate/kpartplugin')
-rw-r--r--kapptemplate/kpartplugin/plugin-Makefile.am8
-rw-r--r--kapptemplate/kpartplugin/plugin_app.cpp6
2 files changed, 7 insertions, 7 deletions
diff --git a/kapptemplate/kpartplugin/plugin-Makefile.am b/kapptemplate/kpartplugin/plugin-Makefile.am
index 21b5ccdd..7c01ef75 100644
--- a/kapptemplate/kpartplugin/plugin-Makefile.am
+++ b/kapptemplate/kpartplugin/plugin-Makefile.am
@@ -8,13 +8,13 @@ KDE_ICON = ${APP_NAME_LC}
# Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = lib${APP_NAME_LC}plugin.la
-# This is all standard. Remove the LIB_KHTML reference if you are not
-# using the KHTML Part
+# This is all standard. Remove the LIB_TDEHTML reference if you are not
+# using the TDEHTML Part
lib${APP_NAME_LC}plugin_la_SOURCES = plugin_${APP_NAME_LC}.cpp
-lib${APP_NAME_LC}plugin_la_LIBADD = \$(LIB_KPARTS) \$(LIB_KHTML)
+lib${APP_NAME_LC}plugin_la_LIBADD = \$(LIB_KPARTS) \$(LIB_TDEHTML)
lib${APP_NAME_LC}plugin_la_LDFLAGS = -module \$(KDE_PLUGIN) \$(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part
-# is KHTMLPart)
+# is TDEHTMLPart)
pluginsdir = \$(kde_datadir)/tdehtml/kpartplugins
plugins_DATA = plugin_${APP_NAME_LC}.rc
diff --git a/kapptemplate/kpartplugin/plugin_app.cpp b/kapptemplate/kpartplugin/plugin_app.cpp
index 98a44cad..29388b46 100644
--- a/kapptemplate/kpartplugin/plugin_app.cpp
+++ b/kapptemplate/kpartplugin/plugin_app.cpp
@@ -30,10 +30,10 @@ Plugin${APP_NAME}::~Plugin${APP_NAME}()
void Plugin${APP_NAME}::slotAction()
{
- // This plugin assumes KHTMLPart. If your plugin can handle more
+ // This plugin assumes TDEHTMLPart. If your plugin can handle more
// than this or a different Part than this, simply delete or
// change the following block.
- if ( !parent()->inherits("KHTMLPart") )
+ if ( !parent()->inherits("TDEHTMLPart") )
{
TQString title( i18n( "Cannot Translate Source" ) );
TQString text( i18n( "You cannot translate anything except web pages "
@@ -45,7 +45,7 @@ void Plugin${APP_NAME}::slotAction()
// Get a handle on our parent so we may get the necessary data for
// processing
- KHTMLPart *part = dynamic_cast<KHTMLPart *>(parent());
+ TDEHTMLPart *part = dynamic_cast<TDEHTMLPart *>(parent());
// This plugin only uses the URL. You may use whatever data you
// need.