summaryrefslogtreecommitdiffstats
path: root/konq-plugins/rellinks/plugin_rellinks.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit90363652674deb94cd07057428b24fcb1735dbce (patch)
tree35013223cb731f194f8584cc1c06a023c3c75c85 /konq-plugins/rellinks/plugin_rellinks.cpp
parent627b091fad9df13695f249588e8a58f524eda0fa (diff)
downloadtdeaddons-90363652674deb94cd07057428b24fcb1735dbce.tar.gz
tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.zip
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
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";