summaryrefslogtreecommitdiffstats
path: root/lib/util/urlutil.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
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /lib/util/urlutil.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/util/urlutil.cpp')
-rw-r--r--lib/util/urlutil.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/util/urlutil.cpp b/lib/util/urlutil.cpp
index d3cbc5e3..a31aa789 100644
--- a/lib/util/urlutil.cpp
+++ b/lib/util/urlutil.cpp
@@ -82,22 +82,22 @@ TQString URLUtil::getRelativePath(const TQString& basepath, const TQString& dest
///////////////////////////////////////////////////////////////////////////////
-TQString URLUtil::relativePath(const KURL & tqparent, const KURL & child, uint slashPolicy) {
+TQString URLUtil::relativePath(const KURL & parent, const KURL & child, uint slashPolicy) {
bool slashPrefix = slashPolicy & SLASH_PREFIX;
bool slashSuffix = slashPolicy & SLASH_SUFFIX;
- if (tqparent.equals(child,true))
+ if (parent.equals(child,true))
return slashPrefix ? TQString("/") : TQString("");
- if (!tqparent.isParentOf(child)) return TQString();
+ if (!parent.isParentOf(child)) return TQString();
int a=slashPrefix ? -1 : 1;
int b=slashSuffix ? 1 : -1;
- return child.path(b).mid(tqparent.path(a).length());
+ return child.path(b).mid(parent.path(a).length());
}
///////////////////////////////////////////////////////////////////////////////
-TQString URLUtil::relativePath(const TQString & tqparent, const TQString & child, uint slashPolicy) {
- return relativePath(KURL(tqparent), KURL(child), slashPolicy);
+TQString URLUtil::relativePath(const TQString & parent, const TQString & child, uint slashPolicy) {
+ return relativePath(KURL(parent), KURL(child), slashPolicy);
}
///////////////////////////////////////////////////////////////////////////////