From 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 28 Feb 2012 22:31:39 -0600 Subject: Automated conversion from qt3 --- src/kernel/qlocalfs.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/kernel/qlocalfs.cpp') diff --git a/src/kernel/qlocalfs.cpp b/src/kernel/qlocalfs.cpp index 73a0c8a5b..95ba0dc61 100644 --- a/src/kernel/qlocalfs.cpp +++ b/src/kernel/qlocalfs.cpp @@ -73,7 +73,7 @@ \endcode This code will only work if the TQLocalFs class is registered; to - register the class, you must call qInitNetworkProtocols() before + register the class, you must call tqInitNetworkProtocols() before using a TQUrlOperator with TQLocalFs. If you really need to use TQLocalFs directly, don't forget @@ -122,7 +122,7 @@ static int convertPermissions(TQFileInfo *fi) void TQLocalFs::operationListChildren( TQNetworkOperation *op ) { #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: operationListChildren" ); + tqDebug( "TQLocalFs: operationListChildren" ); #endif op->setState( StInProgress ); @@ -171,7 +171,7 @@ void TQLocalFs::operationListChildren( TQNetworkOperation *op ) void TQLocalFs::operationMkDir( TQNetworkOperation *op ) { #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: operationMkDir" ); + tqDebug( "TQLocalFs: operationMkDir" ); #endif op->setState( StInProgress ); TQString dirname = op->arg( 0 ); @@ -202,7 +202,7 @@ void TQLocalFs::operationMkDir( TQNetworkOperation *op ) void TQLocalFs::operationRemove( TQNetworkOperation *op ) { #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: operationRemove" ); + tqDebug( "TQLocalFs: operationRemove" ); #endif op->setState( StInProgress ); TQString name = TQUrl( op->arg( 0 ) ).path(); @@ -236,7 +236,7 @@ void TQLocalFs::operationRemove( TQNetworkOperation *op ) void TQLocalFs::operationRename( TQNetworkOperation *op ) { #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: operationRename" ); + tqDebug( "TQLocalFs: operationRename" ); #endif op->setState( StInProgress ); TQString oldname = op->arg( 0 ); @@ -263,7 +263,7 @@ void TQLocalFs::operationRename( TQNetworkOperation *op ) void TQLocalFs::operationGet( TQNetworkOperation *op ) { #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: operationGet" ); + tqDebug( "TQLocalFs: operationGet" ); #endif op->setState( StInProgress ); TQString from = TQUrl( op->arg( 0 ) ).path(); @@ -271,7 +271,7 @@ void TQLocalFs::operationGet( TQNetworkOperation *op ) TQFile f( from ); if ( !f.open( IO_ReadOnly ) ) { #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: could not open %s", from.latin1() ); + tqDebug( "TQLocalFs: could not open %s", from.latin1() ); #endif TQString msg = tr( "Could not open\n%1" ).arg( from ); op->setState( StFailed ); @@ -291,7 +291,7 @@ void TQLocalFs::operationGet( TQNetworkOperation *op ) emit data( s, op ); emit dataTransferProgress( f.size(), f.size(), op ); #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: got all %d bytes at once", f.size() ); + tqDebug( "TQLocalFs: got all %d bytes at once", f.size() ); #endif } else { s.resize( blockSize ); @@ -317,7 +317,7 @@ void TQLocalFs::operationGet( TQNetworkOperation *op ) if (!that) return; #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: got all %d bytes step by step", f.size() ); + tqDebug( "TQLocalFs: got all %d bytes step by step", f.size() ); #endif emit dataTransferProgress( f.size(), f.size(), op ); } @@ -334,7 +334,7 @@ void TQLocalFs::operationGet( TQNetworkOperation *op ) void TQLocalFs::operationPut( TQNetworkOperation *op ) { #ifdef TQLOCALFS_DEBUG - qDebug( "TQLocalFs: operationPut" ); + tqDebug( "TQLocalFs: operationPut" ); #endif op->setState( StInProgress ); TQString to = TQUrl( op->arg( 0 ) ).path(); -- cgit v1.2.1