diff options
Diffstat (limited to 'src/network/qsocketdevice_unix.cpp')
-rw-r--r-- | src/network/qsocketdevice_unix.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/network/qsocketdevice_unix.cpp b/src/network/qsocketdevice_unix.cpp index d773a0d..81f21c8 100644 --- a/src/network/qsocketdevice_unix.cpp +++ b/src/network/qsocketdevice_unix.cpp @@ -224,7 +224,7 @@ void QSocketDevice::close() setState( 0 ); ::close( fd ); #if defined(QSOCKETDEVICE_DEBUG) - qDebug( "QSocketDevice::close: Closed socket %x", fd ); + tqDebug( "QSocketDevice::close: Closed socket %x", fd ); #endif fd = -1; fetchConnectionParameters(); @@ -268,7 +268,7 @@ bool QSocketDevice::blocking() const void QSocketDevice::setBlocking( bool enable ) { #if defined(QSOCKETDEVICE_DEBUG) - qDebug( "QSocketDevice::setBlocking( %d )", enable ); + tqDebug( "QSocketDevice::setBlocking( %d )", enable ); #endif if ( !isValid() ) return; @@ -760,20 +760,20 @@ Q_LONG QSocketDevice::readBlock( char *data, Q_ULONG maxlen ) { #if defined(QT_CHECK_NULL) if ( data == 0 && maxlen != 0 ) { - qWarning( "QSocketDevice::readBlock: Null pointer error" ); + tqWarning( "QSocketDevice::readBlock: Null pointer error" ); } #endif #if defined(QT_CHECK_STATE) if ( !isValid() ) { - qWarning( "QSocketDevice::readBlock: Invalid socket" ); + tqWarning( "QSocketDevice::readBlock: Invalid socket" ); return -1; } if ( !isOpen() ) { - qWarning( "QSocketDevice::readBlock: Device is not open" ); + tqWarning( "QSocketDevice::readBlock: Device is not open" ); return -1; } if ( !isReadable() ) { - qWarning( "QSocketDevice::readBlock: Read operation not permitted" ); + tqWarning( "QSocketDevice::readBlock: Read operation not permitted" ); return -1; } #endif @@ -851,25 +851,25 @@ Q_LONG QSocketDevice::writeBlock( const char *data, Q_ULONG len ) { if ( data == 0 && len != 0 ) { #if defined(QT_CHECK_NULL) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::writeBlock: Null pointer error" ); + tqWarning( "QSocketDevice::writeBlock: Null pointer error" ); #endif return -1; } if ( !isValid() ) { #if defined(QT_CHECK_STATE) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::writeBlock: Invalid socket" ); + tqWarning( "QSocketDevice::writeBlock: Invalid socket" ); #endif return -1; } if ( !isOpen() ) { #if defined(QT_CHECK_STATE) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::writeBlock: Device is not open" ); + tqWarning( "QSocketDevice::writeBlock: Device is not open" ); #endif return -1; } if ( !isWritable() ) { #if defined(QT_CHECK_STATE) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::writeBlock: Write operation not permitted" ); + tqWarning( "QSocketDevice::writeBlock: Write operation not permitted" ); #endif return -1; } @@ -939,32 +939,32 @@ Q_LONG QSocketDevice::writeBlock( const char * data, Q_ULONG len, { if ( t != Datagram ) { #if defined(QT_CHECK_STATE) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::sendBlock: Not datagram" ); + tqWarning( "QSocketDevice::sendBlock: Not datagram" ); #endif return -1; // for now - later we can do t/tcp } if ( data == 0 && len != 0 ) { #if defined(QT_CHECK_NULL) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::sendBlock: Null pointer error" ); + tqWarning( "QSocketDevice::sendBlock: Null pointer error" ); #endif return -1; } if ( !isValid() ) { #if defined(QT_CHECK_STATE) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::sendBlock: Invalid socket" ); + tqWarning( "QSocketDevice::sendBlock: Invalid socket" ); #endif return -1; } if ( !isOpen() ) { #if defined(QT_CHECK_STATE) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::sendBlock: Device is not open" ); + tqWarning( "QSocketDevice::sendBlock: Device is not open" ); #endif return -1; } if ( !isWritable() ) { #if defined(QT_CHECK_STATE) || defined(QSOCKETDEVICE_DEBUG) - qWarning( "QSocketDevice::sendBlock: Write operation not permitted" ); + tqWarning( "QSocketDevice::sendBlock: Write operation not permitted" ); #endif return -1; } |