summaryrefslogtreecommitdiffstats
path: root/lib/util/rurl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /lib/util/rurl.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/util/rurl.cpp')
-rw-r--r--lib/util/rurl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/util/rurl.cpp b/lib/util/rurl.cpp
index 86ca920a..05dac07d 100644
--- a/lib/util/rurl.cpp
+++ b/lib/util/rurl.cpp
@@ -113,9 +113,9 @@ TQString Name::extension( bool complete ) const
{
TQString temp = fileName();
if (complete)
- return temp.mid(temp.tqfind('.')+1);
+ return temp.mid(temp.find('.')+1);
else
- return temp.mid(temp.tqfindRev('.')+1);
+ return temp.mid(temp.findRev('.')+1);
}
return TQString();
}
@@ -129,10 +129,10 @@ TQString Name::fileName( ) const
TQString Name::directory( ) const
{
- if ( (m_type == File) && (m_rurl.tqfindRev('/') == -1) )
+ if ( (m_type == File) && (m_rurl.findRev('/') == -1) )
return TQString();
- return m_rurl.mid(0, m_rurl.tqfindRev('/')+1);
+ return m_rurl.mid(0, m_rurl.findRev('/')+1);
}
bool Name::isFile( ) const
@@ -159,7 +159,7 @@ bool Name::isValid( ) const
{
if (m_rurl.startsWith("/"))
return false;
- if (m_rurl.tqcontains("//"))
+ if (m_rurl.contains("//"))
return false;
if ( (m_rurl.endsWith("/")) && (m_type == File) )
return false;