summaryrefslogtreecommitdiffstats
path: root/tar/tar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tar/tar.cc')
-rw-r--r--tar/tar.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/tar/tar.cc b/tar/tar.cc
index cc0e804..26a51fe 100644
--- a/tar/tar.cc
+++ b/tar/tar.cc
@@ -79,7 +79,7 @@ void ArchiveProtocol::put( const KURL& url, int, bool, bool resume ){
if( !m_archiveFile->prepareWriting(filename,user,group,size) ){
error(ERR_UNSUPPORTED_ACTION,
- i18n("Writing to %1 is not supported").tqarg(filename) );
+ i18n("Writing to %1 is not supported").arg(filename) );
return;
}
while( (temp=buffer.dequeue()) ){
@@ -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();
@@ -259,7 +259,7 @@ void ArchiveProtocol::listDir( const KURL & url ) {
const KArchiveDirectory* root = m_archiveFile->directory();
const KArchiveDirectory* dir;
if ( !path.isEmpty() && path != "/" ) {
- kdDebug( 7109 ) << TQString( "Looking for entry %1" ).tqarg( path ) << endl;
+ kdDebug( 7109 ) << TQString( "Looking for entry %1" ).arg( path ) << endl;
const KArchiveEntry* e = root->entry( path );
if ( !e ) {
error( KIO::ERR_DOES_NOT_EXIST, url.prettyURL() );
@@ -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 );