diff options
Diffstat (limited to 'konq-plugins/validators')
-rw-r--r-- | konq-plugins/validators/Makefile.am | 2 | ||||
-rw-r--r-- | konq-plugins/validators/plugin_validators.cpp | 8 | ||||
-rw-r--r-- | konq-plugins/validators/plugin_validators.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/validators/Makefile.am b/konq-plugins/validators/Makefile.am index 41fe2b0..e3b386f 100644 --- a/konq-plugins/validators/Makefile.am +++ b/konq-plugins/validators/Makefile.am @@ -5,7 +5,7 @@ METASOURCES = AUTO kde_module_LTLIBRARIES = libvalidatorsplugin.la libvalidatorsplugin_la_SOURCES = plugin_validators.cpp validatorsdialog.cpp -libvalidatorsplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) +libvalidatorsplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML) libvalidatorsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) pluginsdir = $(kde_datadir)/tdehtml/kpartplugins 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 " diff --git a/konq-plugins/validators/plugin_validators.h b/konq-plugins/validators/plugin_validators.h index 63df771..97e528e 100644 --- a/konq-plugins/validators/plugin_validators.h +++ b/konq-plugins/validators/plugin_validators.h @@ -60,7 +60,7 @@ private: KActionMenu *m_menu; TQGuardedPtr<ValidatorsDialog> m_configDialog; // | // +-> Order dependency. - KHTMLPart* m_part; // | + TDEHTMLPart* m_part; // | KURL m_WWWValidatorUrl, m_WWWValidatorUploadUrl; KURL m_CSSValidatorUrl, m_CSSValidatorUploadUrl; |