From 02c9636ebca6d98672d0d14528007b48e02d265a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:13:14 -0600 Subject: Rename old tq methods that no longer need a unique name --- tar/tar.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tar/tar.cc') 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 ); -- cgit v1.2.1