summaryrefslogtreecommitdiffstats
path: root/konq-plugins/rellinks/plugin_rellinks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/rellinks/plugin_rellinks.cpp')
-rw-r--r--konq-plugins/rellinks/plugin_rellinks.cpp14
1 files changed, 7 insertions, 7 deletions
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("<p>This link references a home page or the top of some hierarchy.</p>") );
kaction_map["up"] = new KAction( i18n("&Up"), "1uparrow", KShortcut("Ctrl+Alt+U"), this, TQT_SLOT(goUp()), actionCollection(), "rellinks_up" );
- kaction_map["up"]->setWhatsThis( i18n("<p>This link references the immediate tqparent of the current document.</p>") );
+ kaction_map["up"]->setWhatsThis( i18n("<p>This link references the immediate parent of the current document.</p>") );
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<KHTMLPart *>(tqparent);
+ m_part = dynamic_cast<KHTMLPart *>(parent);
if (!m_part)
return;
@@ -364,7 +364,7 @@ void RelLinksPlugin::updateToolbar() {
void RelLinksPlugin::guessRelations()
{
- m_part = dynamic_cast<KHTMLPart *>(tqparent());
+ m_part = dynamic_cast<KHTMLPart *>(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<KHTMLPart *>(tqparent());
+ KHTMLPart *part = dynamic_cast<KHTMLPart *>(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";