summaryrefslogtreecommitdiffstats
path: root/src/network/ntqsocketdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/ntqsocketdevice.h')
-rw-r--r--src/network/ntqsocketdevice.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/network/ntqsocketdevice.h b/src/network/ntqsocketdevice.h
index a8a5b83c..bff85934 100644
--- a/src/network/ntqsocketdevice.h
+++ b/src/network/ntqsocketdevice.h
@@ -95,25 +95,25 @@ public:
int sendBufferSize() const;
virtual void setSendBufferSize( uint );
- virtual bool connect( const TQHostAddress &, Q_UINT16 );
+ virtual bool connect( const TQHostAddress &, TQ_UINT16 );
- virtual bool bind( const TQHostAddress &, Q_UINT16 );
+ virtual bool bind( const TQHostAddress &, TQ_UINT16 );
virtual bool listen( int backlog );
virtual int accept();
- Q_LONG bytesAvailable() const;
- Q_LONG waitForMore( int msecs, bool *timeout=0 ) const;
- Q_LONG readBlock( char *data, Q_ULONG maxlen );
- Q_LONG writeBlock( const char *data, Q_ULONG len );
- virtual Q_LONG writeBlock( const char *data, Q_ULONG len,
- const TQHostAddress & host, Q_UINT16 port );
+ TQ_LONG bytesAvailable() const;
+ TQ_LONG waitForMore( int msecs, bool *timeout=0 ) const;
+ TQ_LONG readBlock( char *data, TQ_ULONG maxlen );
+ TQ_LONG writeBlock( const char *data, TQ_ULONG len );
+ virtual TQ_LONG writeBlock( const char *data, TQ_ULONG len,
+ const TQHostAddress & host, TQ_UINT16 port );
int getch();
int putch( int );
int ungetch(int);
- Q_UINT16 port() const;
- Q_UINT16 peerPort() const;
+ TQ_UINT16 port() const;
+ TQ_UINT16 peerPort() const;
TQHostAddress address() const;
TQHostAddress peerAddress() const;
@@ -138,9 +138,9 @@ protected:
private:
int fd;
Type t;
- Q_UINT16 p;
+ TQ_UINT16 p;
TQHostAddress a;
- Q_UINT16 pp;
+ TQ_UINT16 pp;
TQHostAddress pa;
TQSocketDevice::Error e;
TQSocketDevicePrivate * d;