diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:36 -0600 |
commit | 44ec35d6f3ec0bf8067f31896d7721ac3082f66f (patch) | |
tree | 36cf001e28520682c374f6721059fc0a06447525 /tar/tar.cc | |
parent | 6ea934c9e490098aa988e33aa6ee29ca924666e3 (diff) | |
download | krusader-44ec35d6f3ec0bf8067f31896d7721ac3082f66f.tar.gz krusader-44ec35d6f3ec0bf8067f31896d7721ac3082f66f.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'tar/tar.cc')
-rw-r--r-- | tar/tar.cc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 ); |