summaryrefslogtreecommitdiffstats
path: root/src/network/ntqsocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/ntqsocket.h')
-rw-r--r--src/network/ntqsocket.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/network/ntqsocket.h b/src/network/ntqsocket.h
index 545647ee..e5131926 100644
--- a/src/network/ntqsocket.h
+++ b/src/network/ntqsocket.h
@@ -83,7 +83,7 @@ public:
virtual void setSocketDevice( TQSocketDevice * );
#ifndef QT_NO_DNS
- virtual void connectToHost( const TQString &host, Q_UINT16 port );
+ virtual void connectToHost( const TQString &host, TQ_UINT16 port );
#endif
TQString peerName() const;
@@ -96,15 +96,15 @@ public:
bool at( Offset );
bool atEnd() const;
- Q_ULONG bytesAvailable() const; // ### TQIODevice::Offset instead?
- Q_ULONG waitForMore( int msecs, bool *timeout ) const;
- Q_ULONG waitForMore( int msecs ) const; // ### TQt 4.0: merge the two overloads
- Q_ULONG bytesToWrite() const;
+ TQ_ULONG bytesAvailable() const; // ### TQIODevice::Offset instead?
+ TQ_ULONG waitForMore( int msecs, bool *timeout ) const;
+ TQ_ULONG waitForMore( int msecs ) const; // ### TQt 4.0: merge the two overloads
+ TQ_ULONG bytesToWrite() const;
void clearPendingData();
- Q_LONG readBlock( char *data, Q_ULONG maxlen );
- Q_LONG writeBlock( const char *data, Q_ULONG len );
- Q_LONG readLine( char *data, Q_ULONG maxlen );
+ TQ_LONG readBlock( char *data, TQ_ULONG maxlen );
+ TQ_LONG writeBlock( const char *data, TQ_ULONG len );
+ TQ_LONG readLine( char *data, TQ_ULONG maxlen );
int getch();
int putch( int );
@@ -113,13 +113,13 @@ public:
bool canReadLine() const;
virtual TQString readLine();
- Q_UINT16 port() const;
- Q_UINT16 peerPort() const;
+ TQ_UINT16 port() const;
+ TQ_UINT16 peerPort() const;
TQHostAddress address() const;
TQHostAddress peerAddress() const;
- void setReadBufferSize( Q_ULONG );
- Q_ULONG readBufferSize() const;
+ void setReadBufferSize( TQ_ULONG );
+ TQ_ULONG readBufferSize() const;
signals:
void hostFound();
@@ -141,7 +141,7 @@ private slots:
private:
TQSocketPrivate *d;
- bool consumeWriteBuf( Q_ULONG nbytes );
+ bool consumeWriteBuf( TQ_ULONG nbytes );
void tryConnection();
void setSocketIntern( int socket );