summaryrefslogtreecommitdiffstats
path: root/src/network/qsocketdevice_unix.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /src/network/qsocketdevice_unix.cpp
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'src/network/qsocketdevice_unix.cpp')
-rw-r--r--src/network/qsocketdevice_unix.cpp30
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;
}