diff options
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 e6017f6..e3b4334 100644 --- a/src/kernel/qlocalfs.cpp +++ b/src/kernel/qlocalfs.cpp @@ -73,7 +73,7 @@ \endcode This code will only work if the QLocalFs class is registered; to - register the class, you must call qInitNetworkProtocols() before + register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with QLocalFs. If you really need to use QLocalFs directly, don't forget @@ -122,7 +122,7 @@ static int convertPermissions(QFileInfo *fi) void QLocalFs::operationListChildren( QNetworkOperation *op ) { #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: operationListChildren" ); + tqDebug( "QLocalFs: operationListChildren" ); #endif op->setState( StInProgress ); @@ -171,7 +171,7 @@ void QLocalFs::operationListChildren( QNetworkOperation *op ) void QLocalFs::operationMkDir( QNetworkOperation *op ) { #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: operationMkDir" ); + tqDebug( "QLocalFs: operationMkDir" ); #endif op->setState( StInProgress ); QString dirname = op->arg( 0 ); @@ -202,7 +202,7 @@ void QLocalFs::operationMkDir( QNetworkOperation *op ) void QLocalFs::operationRemove( QNetworkOperation *op ) { #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: operationRemove" ); + tqDebug( "QLocalFs: operationRemove" ); #endif op->setState( StInProgress ); QString name = QUrl( op->arg( 0 ) ).path(); @@ -236,7 +236,7 @@ void QLocalFs::operationRemove( QNetworkOperation *op ) void QLocalFs::operationRename( QNetworkOperation *op ) { #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: operationRename" ); + tqDebug( "QLocalFs: operationRename" ); #endif op->setState( StInProgress ); QString oldname = op->arg( 0 ); @@ -263,7 +263,7 @@ void QLocalFs::operationRename( QNetworkOperation *op ) void QLocalFs::operationGet( QNetworkOperation *op ) { #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: operationGet" ); + tqDebug( "QLocalFs: operationGet" ); #endif op->setState( StInProgress ); QString from = QUrl( op->arg( 0 ) ).path(); @@ -271,7 +271,7 @@ void QLocalFs::operationGet( QNetworkOperation *op ) QFile f( from ); if ( !f.open( IO_ReadOnly ) ) { #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: could not open %s", from.latin1() ); + tqDebug( "QLocalFs: could not open %s", from.latin1() ); #endif QString msg = tr( "Could not open\n%1" ).arg( from ); op->setState( StFailed ); @@ -291,7 +291,7 @@ void QLocalFs::operationGet( QNetworkOperation *op ) emit data( s, op ); emit dataTransferProgress( f.size(), f.size(), op ); #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: got all %d bytes at once", f.size() ); + tqDebug( "QLocalFs: got all %d bytes at once", f.size() ); #endif } else { s.resize( blockSize ); @@ -317,7 +317,7 @@ void QLocalFs::operationGet( QNetworkOperation *op ) if (!that) return; #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: got all %d bytes step by step", f.size() ); + tqDebug( "QLocalFs: got all %d bytes step by step", f.size() ); #endif emit dataTransferProgress( f.size(), f.size(), op ); } @@ -334,7 +334,7 @@ void QLocalFs::operationGet( QNetworkOperation *op ) void QLocalFs::operationPut( QNetworkOperation *op ) { #ifdef QLOCALFS_DEBUG - qDebug( "QLocalFs: operationPut" ); + tqDebug( "QLocalFs: operationPut" ); #endif op->setState( StInProgress ); QString to = QUrl( op->arg( 0 ) ).path(); |