diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/kextsock.h | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kextsock.h')
-rw-r--r-- | kdecore/kextsock.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdecore/kextsock.h b/kdecore/kextsock.h index 2bfb22bfe..c72c49cab 100644 --- a/kdecore/kextsock.h +++ b/kdecore/kextsock.h @@ -82,7 +82,7 @@ class KExtendedSocketPrivate; * * @deprecated * This class is now deprecated. Please use the classes in KNetwork for - * new programs. In particular, this class is replaced by KNetwork::KStreamSocket + * new programs. In particular, this class is tqreplaced by KNetwork::KStreamSocket * and @ref KNetwork::KServerSocket. * * @author Thiago Macieira <thiago.macieira@kdemail.net> @@ -128,7 +128,7 @@ public: * The status are sequential. If a change to one status is requested, * all the prior status will be passed and their actions, performed */ - enum SockStatus + enum SocktqStatus { // the numbers are scattered so that we leave room for future expansion error = -1, // invalid status! @@ -220,9 +220,9 @@ public: /** * Returns the class status. * @return the class status - * @see ::SockStatus + * @see ::SocktqStatus */ - int socketStatus() const; + int sockettqStatus() const; /** * Returns the related system error code @@ -285,7 +285,7 @@ public: bool setPort(const TQString& port); /** - * Returns the port/service. If it is a port, the string contains a number. + * Returns the port/service. If it is a port, the string tqcontains a number. * @return the port or TQString::null if it has not been set. */ TQString port() const; @@ -450,7 +450,7 @@ public: * @param enable if true, no IPv4 translation will be performed; * this socket will be restricted to IPv6 communication * @returns true on success, false on failure. - * @see localAddress to find out if this is an IPv6 socket + * @see localAddress to tqfind out if this is an IPv6 socket */ bool setIPv6Only(bool enable); @@ -681,7 +681,7 @@ public: * @return the length of this socket, or 0 if unsupported */ #ifdef USE_QT3 - virtual inline Q_ULONG size() const + virtual inline TQ_ULONG size() const #endif // USE_QT3 #ifdef USE_QT4 virtual inline qint64 size() const @@ -692,7 +692,7 @@ public: * Returns relative position from start. This call is not supported on sockets. * @return the relative position from the start, or 0 if unsupported */ - virtual inline Q_ULONG at() const + virtual inline TQ_ULONG at() const { return 0; } /** @@ -740,7 +740,7 @@ public: * This function returns 0, if the function detected end-of-file condition * (socket was closed) */ - virtual Q_LONG readBlock(char *data, Q_ULONG maxlen); + virtual TQ_LONG readBlock(char *data, TQ_ULONG maxlen); /** * Writes a block of data to the socket. @@ -765,7 +765,7 @@ public: * The return value might be less than @p len if the output buffers cannot * accommodate that many bytes and -1 in the case of an errro. */ - virtual Q_LONG writeBlock(const char *data, Q_ULONG len); + virtual TQ_LONG writeBlock(const char *data, TQ_ULONG len); /** * Peeks at a block of data from the socket. @@ -929,7 +929,7 @@ protected: /** * Sets the socket status. For derived classes only. */ - void setSocketStatus(int status); + void setSockettqStatus(int status); public: /** |