diff options
Diffstat (limited to 'konq-plugins/uachanger')
-rw-r--r-- | konq-plugins/uachanger/Makefile.am | 2 | ||||
-rw-r--r-- | konq-plugins/uachanger/uachangerplugin.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/uachanger/uachangerplugin.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/uachanger/Makefile.am b/konq-plugins/uachanger/Makefile.am index 61dcc36..169a700 100644 --- a/konq-plugins/uachanger/Makefile.am +++ b/konq-plugins/uachanger/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = $(all_includes) METASOURCES = AUTO libuachangerplugin_la_SOURCES = uachangerplugin.cpp -libuachangerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) +libuachangerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML) libuachangerplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) pluginsdir = $(kde_datadir)/tdehtml/kpartplugins diff --git a/konq-plugins/uachanger/uachangerplugin.cpp b/konq-plugins/uachanger/uachangerplugin.cpp index b61036c..bf389ee 100644 --- a/konq-plugins/uachanger/uachangerplugin.cpp +++ b/konq-plugins/uachanger/uachangerplugin.cpp @@ -65,9 +65,9 @@ UAChangerPlugin::UAChangerPlugin( TQObject* parent, const char* name, m_pUAMenu->setEnabled ( false ); - if ( parent && parent->inherits( "KHTMLPart" ) ) + if ( parent && parent->inherits( "TDEHTMLPart" ) ) { - m_part = static_cast<KHTMLPart*>(parent); + m_part = static_cast<TDEHTMLPart*>(parent); connect( m_part, TQT_SIGNAL(started(TDEIO::Job*)), this, TQT_SLOT(slotStarted(TDEIO::Job*)) ); } diff --git a/konq-plugins/uachanger/uachangerplugin.h b/konq-plugins/uachanger/uachangerplugin.h index fc5b707..d90ac76 100644 --- a/konq-plugins/uachanger/uachangerplugin.h +++ b/konq-plugins/uachanger/uachangerplugin.h @@ -29,7 +29,7 @@ #include <klibloader.h> #include <tdeparts/plugin.h> -class KHTMLPart; +class TDEHTMLPart; class KActionMenu; class TDEConfig; @@ -72,7 +72,7 @@ private: bool m_bApplyToDomain; bool m_bSettingsLoaded; - KHTMLPart* m_part; + TDEHTMLPart* m_part; KActionMenu* m_pUAMenu; TDEConfig* m_config; |