summaryrefslogtreecommitdiffstats
path: root/konq-plugins/validators/plugin_validators.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/validators/plugin_validators.cpp')
-rw-r--r--konq-plugins/validators/plugin_validators.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/validators/plugin_validators.cpp b/konq-plugins/validators/plugin_validators.cpp
index 3d6514a..c411038 100644
--- a/konq-plugins/validators/plugin_validators.cpp
+++ b/konq-plugins/validators/plugin_validators.cpp
@@ -71,14 +71,14 @@ PluginValidators::PluginValidators( TQObject* parent, const char* name,
m_menu->setEnabled( false );
- if ( parent && parent->inherits( "KHTMLPart" ))
+ if ( parent && parent->inherits( "TDEHTMLPart" ))
{
m_menu->insert( new KAction( i18n( "C&onfigure Validator..." ),
"configure", 0,
this, TQT_SLOT(slotConfigure()),
actionCollection(), "configure") );
- m_part = static_cast<KHTMLPart *>( parent );
+ m_part = static_cast<TDEHTMLPart *>( parent );
m_configDialog = new ValidatorsDialog( m_part->widget() );
setURLs();
@@ -140,8 +140,8 @@ void PluginValidators::slotConfigure()
void PluginValidators::validateURL(const KURL &url, const KURL &uploadUrl)
{
- // The parent is assumed to be a KHTMLPart
- if ( !parent()->inherits("KHTMLPart") )
+ // The parent is assumed to be a TDEHTMLPart
+ if ( !parent()->inherits("TDEHTMLPart") )
{
TQString title = i18n( "Cannot Validate Source" );
TQString text = i18n( "You cannot validate anything except web pages with "