diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:01:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:01:57 -0600 |
commit | a5a7573f3597f76e3cf9ebfb5a38416906289ff3 (patch) | |
tree | beabf7411b6bfeb386bea8016fa48eebf61db192 /konq-plugins/rellinks | |
parent | f21b0182707822a0aeaedd00578eb18ce191c47d (diff) | |
download | tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.tar.gz tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.zip |
Rename kiobuffer and KHTML
Diffstat (limited to 'konq-plugins/rellinks')
-rw-r--r-- | konq-plugins/rellinks/ChangeLog | 2 | ||||
-rw-r--r-- | konq-plugins/rellinks/Makefile.am | 2 | ||||
-rw-r--r-- | konq-plugins/rellinks/plugin_rellinks.cpp | 8 | ||||
-rw-r--r-- | konq-plugins/rellinks/plugin_rellinks.h | 12 |
4 files changed, 12 insertions, 12 deletions
diff --git a/konq-plugins/rellinks/ChangeLog b/konq-plugins/rellinks/ChangeLog index bc62fdf..86b4b48 100644 --- a/konq-plugins/rellinks/ChangeLog +++ b/konq-plugins/rellinks/ChangeLog @@ -26,6 +26,6 @@ Sun Mar 21 16:23 CET 2004 - Franck Quélain <shift@free.fr> o Distinction between "rel" and "rev" relations Tue Jun 22 23:05 CET 2004 - Kevin Krammer <kevin.krammer@gmx.at> o Move toolbar creation from XML GUI to code as a workaround - because KHTML loads the plugins before it initializes its + because TDEHTML loads the plugins before it initializes its d pointer and so there is no way to get to either the view or the toolbar in the plugin's contructor. diff --git a/konq-plugins/rellinks/Makefile.am b/konq-plugins/rellinks/Makefile.am index f320d96..cb2540d 100644 --- a/konq-plugins/rellinks/Makefile.am +++ b/konq-plugins/rellinks/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(all_includes) METASOURCES = AUTO kde_module_LTLIBRARIES = librellinksplugin.la librellinksplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -librellinksplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) +librellinksplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML) librellinksplugin_la_SOURCES = plugin_rellinks.cpp plugins_DATA = plugin_rellinks.rc plugin_rellinks.desktop pluginsdir = $(kde_datadir)/tdehtml/kpartplugins diff --git a/konq-plugins/rellinks/plugin_rellinks.cpp b/konq-plugins/rellinks/plugin_rellinks.cpp index 69a8e11..6bb3cbd 100644 --- a/konq-plugins/rellinks/plugin_rellinks.cpp +++ b/konq-plugins/rellinks/plugin_rellinks.cpp @@ -175,7 +175,7 @@ RelLinksPlugin::RelLinksPlugin(TQObject *parent, const char *name, const TQStrin disableAll(); // When the rendering of the HTML is done, we update the site navigation bar - m_part = dynamic_cast<KHTMLPart *>(parent); + m_part = dynamic_cast<TDEHTMLPart *>(parent); if (!m_part) return; @@ -364,7 +364,7 @@ void RelLinksPlugin::updateToolbar() { void RelLinksPlugin::guessRelations() { - m_part = dynamic_cast<KHTMLPart *>(parent()); + m_part = dynamic_cast<TDEHTMLPart *>(parent()); if (!m_part || m_part->document().isNull() ) return; @@ -421,8 +421,8 @@ void RelLinksPlugin::guessRelations() /** Menu links */ void RelLinksPlugin::goToLink(const TQString & rel, int id) { - // have the KHTML part open it - KHTMLPart *part = dynamic_cast<KHTMLPart *>(parent()); + // have the TDEHTML part open it + TDEHTMLPart *part = dynamic_cast<TDEHTMLPart *>(parent()); if (!part) return; diff --git a/konq-plugins/rellinks/plugin_rellinks.h b/konq-plugins/rellinks/plugin_rellinks.h index d791eb9..e8e5adb 100644 --- a/konq-plugins/rellinks/plugin_rellinks.h +++ b/konq-plugins/rellinks/plugin_rellinks.h @@ -44,8 +44,8 @@ typedef TQMap<TQString, KActionMenu*> KActionMenuMap; // forward declarations class KActionMenu; -class KHTMLPart; -class KHTMLView; +class TDEHTMLPart; +class TDEHTMLView; class KToolBar; class KURL; class TQTimer; @@ -70,13 +70,13 @@ private slots: void delayedSetup(); /** - * KHTMLPart has created a new document, disable actions and + * TDEHTMLPart has created a new document, disable actions and * start polling for links */ void newDocument(); /** - * KHTMLPart has finished loading, stop the poller and + * TDEHTMLPart has finished loading, stop the poller and * parse the document a last time. */ void loadingFinished(); @@ -149,8 +149,8 @@ private: void goToLink(const TQString & rel, int id=0); private: - KHTMLPart* m_part; - KHTMLView* m_view; + TDEHTMLPart* m_part; + TDEHTMLView* m_view; bool m_viewVisible; KActionMenu *m_document; |