summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kpartplugin/plugin_app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kpartplugin/plugin_app.cpp')
-rw-r--r--languages/cpp/app_templates/kpartplugin/plugin_app.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/kpartplugin/plugin_app.cpp b/languages/cpp/app_templates/kpartplugin/plugin_app.cpp
index c9717c29..b6297139 100644
--- a/languages/cpp/app_templates/kpartplugin/plugin_app.cpp
+++ b/languages/cpp/app_templates/kpartplugin/plugin_app.cpp
@@ -24,10 +24,10 @@ Plugin%{APPNAME}::~Plugin%{APPNAME}()
void Plugin%{APPNAME}::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 "
@@ -39,7 +39,7 @@ void Plugin%{APPNAME}::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.