diff options
Diffstat (limited to 'src/network/qserversocket.cpp')
-rw-r--r-- | src/network/qserversocket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/qserversocket.cpp b/src/network/qserversocket.cpp index 840ee231c..97dd95594 100644 --- a/src/network/qserversocket.cpp +++ b/src/network/qserversocket.cpp @@ -94,7 +94,7 @@ public: value larger than 0. */ -TQServerSocket::TQServerSocket( Q_UINT16 port, int backlog, +TQServerSocket::TQServerSocket( TQ_UINT16 port, int backlog, TQObject *parent, const char *name ) : TQObject( parent, name ) { @@ -116,7 +116,7 @@ TQServerSocket::TQServerSocket( Q_UINT16 port, int backlog, value larger than 0. */ -TQServerSocket::TQServerSocket( const TQHostAddress & address, Q_UINT16 port, +TQServerSocket::TQServerSocket( const TQHostAddress & address, TQ_UINT16 port, int backlog, TQObject *parent, const char *name ) : TQObject( parent, name ) @@ -157,7 +157,7 @@ bool TQServerSocket::ok() const /* The common bit of the constructors. */ -void TQServerSocket::init( const TQHostAddress & address, Q_UINT16 port, int backlog ) +void TQServerSocket::init( const TQHostAddress & address, TQ_UINT16 port, int backlog ) { d->s = new TQSocketDevice( TQSocketDevice::Stream, address.isIPv4Address() ? TQSocketDevice::IPv4 : TQSocketDevice::IPv6, 0 ); @@ -224,7 +224,7 @@ void TQServerSocket::incomingConnection( int ) \sa address() TQSocketDevice::port() */ -Q_UINT16 TQServerSocket::port() const +TQ_UINT16 TQServerSocket::port() const { if ( !d || !d->s ) return 0; |