summaryrefslogtreecommitdiffstats
path: root/tar/tar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tar/tar.cc')
-rw-r--r--tar/tar.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tar/tar.cc b/tar/tar.cc
index cc0e804..74b0a3d 100644
--- a/tar/tar.cc
+++ b/tar/tar.cc
@@ -148,7 +148,7 @@ bool ArchiveProtocol::checkNewFile( const KURL & url, TQString & path ) {
if ( path[ len - 1 ] == '/' )
path.truncate( len - 1 );
} else
- path = TQString::tqfromLatin1( "/" );
+ path = TQString::fromLatin1( "/" );
kdDebug( 7109 ) << "Found. archiveFile=" << archiveFile << " path=" << path << endl;
break;
}
@@ -246,9 +246,9 @@ void ArchiveProtocol::listDir( const KURL & url ) {
}
if ( path.isEmpty() ) {
- KURL redir( url.protocol() + TQString::tqfromLatin1( ":/" ) );
+ KURL redir( url.protocol() + TQString::fromLatin1( ":/" ) );
kdDebug( 7109 ) << "url.path()==" << url.path() << endl;
- redir.setPath( url.path() + TQString::tqfromLatin1( "/" ) );
+ redir.setPath( url.path() + TQString::fromLatin1( "/" ) );
kdDebug( 7109 ) << "ArchiveProtocol::listDir: redirection " << redir.url() << endl;
redirection( redir );
finished();
@@ -333,7 +333,7 @@ void ArchiveProtocol::stat( const KURL & url ) {
const KArchiveDirectory* root = m_archiveFile->directory();
const KArchiveEntry* archiveEntry;
if ( path.isEmpty() ) {
- path = TQString::tqfromLatin1( "/" );
+ path = TQString::fromLatin1( "/" );
archiveEntry = root;
} else {
archiveEntry = root->entry( path );