From 90363652674deb94cd07057428b24fcb1735dbce Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konq-plugins/rellinks/plugin_rellinks.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'konq-plugins/rellinks/plugin_rellinks.cpp') diff --git a/konq-plugins/rellinks/plugin_rellinks.cpp b/konq-plugins/rellinks/plugin_rellinks.cpp index d3576d7..7b2d61b 100644 --- a/konq-plugins/rellinks/plugin_rellinks.cpp +++ b/konq-plugins/rellinks/plugin_rellinks.cpp @@ -61,8 +61,8 @@ K_EXPORT_COMPONENT_FACTORY( librellinksplugin, RelLinksFactory("rellinks") ) #endif /** Constructor of the plugin. */ -RelLinksPlugin::RelLinksPlugin(TQObject *tqparent, const char *name, const TQStringList &) - : KParts::Plugin( tqparent, name ), +RelLinksPlugin::RelLinksPlugin(TQObject *parent, const char *name, const TQStringList &) + : KParts::Plugin( parent, name ), m_part(0), m_viewVisible(false) { @@ -74,7 +74,7 @@ RelLinksPlugin::RelLinksPlugin(TQObject *tqparent, const char *name, const TQStr kaction_map["home"]->setWhatsThis( i18n("

This link references a home page or the top of some hierarchy.

") ); kaction_map["up"] = new KAction( i18n("&Up"), "1uparrow", KShortcut("Ctrl+Alt+U"), this, TQT_SLOT(goUp()), actionCollection(), "rellinks_up" ); - kaction_map["up"]->setWhatsThis( i18n("

This link references the immediate tqparent of the current document.

") ); + kaction_map["up"]->setWhatsThis( i18n("

This link references the immediate parent of the current document.

") ); bool isRTL = TQApplication::reverseLayout(); @@ -175,7 +175,7 @@ RelLinksPlugin::RelLinksPlugin(TQObject *tqparent, const char *name, const TQStr disableAll(); // When the rendering of the HTML is done, we update the site navigation bar - m_part = dynamic_cast(tqparent); + m_part = dynamic_cast(parent); if (!m_part) return; @@ -364,7 +364,7 @@ void RelLinksPlugin::updateToolbar() { void RelLinksPlugin::guessRelations() { - m_part = dynamic_cast(tqparent()); + m_part = dynamic_cast(parent()); if (!m_part || m_part->document().isNull() ) return; @@ -422,7 +422,7 @@ void RelLinksPlugin::guessRelations() /** Menu links */ void RelLinksPlugin::goToLink(const TQString & rel, int id) { // have the KHTML part open it - KHTMLPart *part = dynamic_cast(tqparent()); + KHTMLPart *part = dynamic_cast(parent()); if (!part) return; @@ -571,7 +571,7 @@ TQString RelLinksPlugin::getLinkType(const TQString &lrel) { // ...known relations... if (lrel == "top" || lrel == "origin" || lrel == "start") return "home"; - if (lrel == "tqparent") + if (lrel == "parent") return "up"; if (lrel == "first") return "begin"; -- cgit v1.2.1