diff options
Diffstat (limited to 'doc/network.doc')
-rw-r--r-- | doc/network.doc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/network.doc b/doc/network.doc index a51a1ea..f6b986d 100644 --- a/doc/network.doc +++ b/doc/network.doc @@ -148,9 +148,9 @@ void MyClass::slotOperationFinished( QNetworkOperation *op ) switch ( op->operation() ) { case QNetworkProtocol::OpMkDir: if ( op->state() == QNetworkProtocol::StFailed ) - tqDebug( "Couldn't create directory %s", op->arg( 0 ).latin1() ); + qDebug( "Couldn't create directory %s", op->arg( 0 ).latin1() ); else - tqDebug( "Successfully created directory %s", op->arg( 0 ).latin1() ); + qDebug( "Successfully created directory %s", op->arg( 0 ).latin1() ); break; // ... and so on } @@ -179,24 +179,24 @@ void MyClass::slotInsertEntries( const QValueList<QUrlInfo> &info, QNetworkOpera QValueList<QUrlInfo>::ConstIterator it = info.begin(); for ( ; it != info.end(); ++it ) { const QUrlInfo &inf = *it; - tqDebug( "Name: %s, Size: %d, Last Modified: %s", + qDebug( "Name: %s, Size: %d, Last Modified: %s", inf.name().latin1(), inf.size(), inf.lastModified().toString().latin1() ); } } void MyClass::slotStart( QNetworkOperation * ) { - tqDebug( "Start reading '%s'", op.toString().latin1() ); + qDebug( "Start reading '%s'", op.toString().latin1() ); } void MyClass::slotFinished( QNetworkOperation *operation ) { if ( operation->operation() == QNetworkProtocol::OpListChildren ) { if ( operation->state() == QNetworkProtocol::StFailed ) - tqDebug( "Couldn't read '%s'! Following error occurred: %s", + qDebug( "Couldn't read '%s'! Following error occurred: %s", op.toString().latin1(), operation->protocolDetail().latin1() ); else - tqDebug( "Finished reading '%s'!", op.toString().latin1() ); + qDebug( "Finished reading '%s'!", op.toString().latin1() ); } } |