summaryrefslogtreecommitdiffstats
path: root/src/network/qsocketdevice_unix.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/network/qsocketdevice_unix.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 a5adfef06..2d359f218 100644
--- a/src/network/qsocketdevice_unix.cpp
+++ b/src/network/qsocketdevice_unix.cpp
@@ -224,7 +224,7 @@ void TQSocketDevice::close()
setState( 0 );
::close( fd );
#if defined(TQSOCKETDEVICE_DEBUG)
- qDebug( "TQSocketDevice::close: Closed socket %x", fd );
+ tqDebug( "TQSocketDevice::close: Closed socket %x", fd );
#endif
fd = -1;
fetchConnectionParameters();
@@ -268,7 +268,7 @@ bool TQSocketDevice::blocking() const
void TQSocketDevice::setBlocking( bool enable )
{
#if defined(TQSOCKETDEVICE_DEBUG)
- qDebug( "TQSocketDevice::setBlocking( %d )", enable );
+ tqDebug( "TQSocketDevice::setBlocking( %d )", enable );
#endif
if ( !isValid() )
return;
@@ -760,20 +760,20 @@ Q_LONG TQSocketDevice::readBlock( char *data, Q_ULONG maxlen )
{
#if defined(QT_CHECK_NULL)
if ( data == 0 && maxlen != 0 ) {
- qWarning( "TQSocketDevice::readBlock: Null pointer error" );
+ tqWarning( "TQSocketDevice::readBlock: Null pointer error" );
}
#endif
#if defined(QT_CHECK_STATE)
if ( !isValid() ) {
- qWarning( "TQSocketDevice::readBlock: Invalid socket" );
+ tqWarning( "TQSocketDevice::readBlock: Invalid socket" );
return -1;
}
if ( !isOpen() ) {
- qWarning( "TQSocketDevice::readBlock: Device is not open" );
+ tqWarning( "TQSocketDevice::readBlock: Device is not open" );
return -1;
}
if ( !isReadable() ) {
- qWarning( "TQSocketDevice::readBlock: Read operation not permitted" );
+ tqWarning( "TQSocketDevice::readBlock: Read operation not permitted" );
return -1;
}
#endif
@@ -851,25 +851,25 @@ Q_LONG TQSocketDevice::writeBlock( const char *data, Q_ULONG len )
{
if ( data == 0 && len != 0 ) {
#if defined(QT_CHECK_NULL) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::writeBlock: Null pointer error" );
+ tqWarning( "TQSocketDevice::writeBlock: Null pointer error" );
#endif
return -1;
}
if ( !isValid() ) {
#if defined(QT_CHECK_STATE) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::writeBlock: Invalid socket" );
+ tqWarning( "TQSocketDevice::writeBlock: Invalid socket" );
#endif
return -1;
}
if ( !isOpen() ) {
#if defined(QT_CHECK_STATE) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::writeBlock: Device is not open" );
+ tqWarning( "TQSocketDevice::writeBlock: Device is not open" );
#endif
return -1;
}
if ( !isWritable() ) {
#if defined(QT_CHECK_STATE) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::writeBlock: Write operation not permitted" );
+ tqWarning( "TQSocketDevice::writeBlock: Write operation not permitted" );
#endif
return -1;
}
@@ -939,32 +939,32 @@ Q_LONG TQSocketDevice::writeBlock( const char * data, Q_ULONG len,
{
if ( t != Datagram ) {
#if defined(QT_CHECK_STATE) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::sendBlock: Not datagram" );
+ tqWarning( "TQSocketDevice::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(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::sendBlock: Null pointer error" );
+ tqWarning( "TQSocketDevice::sendBlock: Null pointer error" );
#endif
return -1;
}
if ( !isValid() ) {
#if defined(QT_CHECK_STATE) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::sendBlock: Invalid socket" );
+ tqWarning( "TQSocketDevice::sendBlock: Invalid socket" );
#endif
return -1;
}
if ( !isOpen() ) {
#if defined(QT_CHECK_STATE) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::sendBlock: Device is not open" );
+ tqWarning( "TQSocketDevice::sendBlock: Device is not open" );
#endif
return -1;
}
if ( !isWritable() ) {
#if defined(QT_CHECK_STATE) || defined(TQSOCKETDEVICE_DEBUG)
- qWarning( "TQSocketDevice::sendBlock: Write operation not permitted" );
+ tqWarning( "TQSocketDevice::sendBlock: Write operation not permitted" );
#endif
return -1;
}