summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/tools/tqfileinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/src/tools/tqfileinfo.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/tools/tqfileinfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/tqtinterface/qt4/src/tools/tqfileinfo.cpp b/experimental/tqtinterface/qt4/src/tools/tqfileinfo.cpp
index fbc1278dd..0c937ebab 100644
--- a/experimental/tqtinterface/qt4/src/tools/tqfileinfo.cpp
+++ b/experimental/tqtinterface/qt4/src/tools/tqfileinfo.cpp
@@ -128,8 +128,8 @@ extern bool qt_file_access( const TQString& fn, int t );
unfortunately not platform independent: on Unix, the rights of the owner of
the file are returned and on Windows the rights of the current user are
returned. This behavior might change in a future TQt version. If you want to
- tqfind the rights of the owner of the file, you should use the flags \c
- ReadOwner, \c WriteOwner and \c ExeOwner. If you want to tqfind out the
+ find the rights of the owner of the file, you should use the flags \c
+ ReadOwner, \c WriteOwner and \c ExeOwner. If you want to find out the
rights of the current user, you should use isReadable(), isWritable() and
isExecutable().
*/
@@ -435,7 +435,7 @@ TQString TQFileInfo::filePath() const
TQString TQFileInfo::baseName( bool complete ) const
{
TQString tmp = fileName();
- int pos = complete ? tmp.tqfindRev( '.' ) : tmp.tqfind( '.' );
+ int pos = complete ? tmp.findRev( '.' ) : tmp.find( '.' );
if ( pos == -1 )
return tmp;
else
@@ -466,7 +466,7 @@ TQString TQFileInfo::baseName( bool complete ) const
TQString TQFileInfo::extension( bool complete ) const
{
TQString s = fileName();
- int pos = complete ? s.tqfind( '.' ) : s.tqfindRev( '.' );
+ int pos = complete ? s.find( '.' ) : s.findRev( '.' );
if ( pos < 0 )
return TQString::tqfromLatin1( "" );
else