diff options
author | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /src/kernel/qlocalfs.cpp | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'src/kernel/qlocalfs.cpp')
-rw-r--r-- | src/kernel/qlocalfs.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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(); |