summaryrefslogtreecommitdiffstats
path: root/tar/tar.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:07 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:07 -0600
commit644e85d451b96982107f4e70977f0ff08b91291d (patch)
tree1d48dc166787231440da12a553a0195177858d8d /tar/tar.cc
parent44ec35d6f3ec0bf8067f31896d7721ac3082f66f (diff)
downloadkrusader-644e85d451b96982107f4e70977f0ff08b91291d.tar.gz
krusader-644e85d451b96982107f4e70977f0ff08b91291d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 44ec35d6f3ec0bf8067f31896d7721ac3082f66f.
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 26a51fe..cc0e804 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").arg(filename) );
+ i18n("Writing to %1 is not supported").tqarg(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::fromLatin1( "/" );
+ path = TQString::tqfromLatin1( "/" );
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::fromLatin1( ":/" ) );
+ KURL redir( url.protocol() + TQString::tqfromLatin1( ":/" ) );
kdDebug( 7109 ) << "url.path()==" << url.path() << endl;
- redir.setPath( url.path() + TQString::fromLatin1( "/" ) );
+ redir.setPath( url.path() + TQString::tqfromLatin1( "/" ) );
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" ).arg( path ) << endl;
+ kdDebug( 7109 ) << TQString( "Looking for entry %1" ).tqarg( 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::fromLatin1( "/" );
+ path = TQString::tqfromLatin1( "/" );
archiveEntry = root;
} else {
archiveEntry = root->entry( path );