summaryrefslogtreecommitdiffstats
path: root/src/network/ntqsocket.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-17 17:28:28 -0500
committerTimothy Pearson <[email protected]>2012-06-17 17:28:28 -0500
commit6dec101d43dcbd4195c47d54bd388db1a8d7230e (patch)
tree7c336cbed3a93807a34cd4df39b2f92a7d48a141 /src/network/ntqsocket.h
parentf27c2533f735d53c6b555f387c6390c0690cc246 (diff)
downloadtqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz
tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip
Automated update from Qt3
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 545647ee5..e5131926b 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 );