summaryrefslogtreecommitdiffstats
path: root/lib/util/rurl.cpp
diff options
context:
space:
mode:
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;