diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdecore/network/kclientsocketbase.h | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/network/kclientsocketbase.h')
-rw-r--r-- | kdecore/network/kclientsocketbase.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdecore/network/kclientsocketbase.h b/kdecore/network/kclientsocketbase.h index 4883e6a5b..d4e31b6b3 100644 --- a/kdecore/network/kclientsocketbase.h +++ b/kdecore/network/kclientsocketbase.h @@ -257,7 +257,7 @@ public: * This is a convenience function provided to ease migrating from * Qt 3.x's TQSocket class. */ - inline void connectToHost(const TQString& host, TQ_UINT16 port) + inline void connectToHost(const TQString& host, Q_UINT16 port) { connect(host, TQString::number(port)); } /** @@ -293,7 +293,7 @@ public: * Reimplemented from KSocketBase. */ #ifdef USE_QT3 - virtual TQ_LONG bytesAvailable() const; + virtual Q_LONG bytesAvailable() const; #endif #ifdef USE_QT4 virtual qint64 bytesAvailable() const; @@ -302,40 +302,40 @@ public: /** * Waits for more data. Reimplemented from KSocketBase. */ - virtual TQ_LONG waitForMore(int msecs, bool *timeout = 0L); + virtual Q_LONG waitForMore(int msecs, bool *timeout = 0L); /** * Reads data from a socket. Reimplemented from KSocketBase. */ - virtual TQ_LONG readBlock(char *data, TQ_ULONG maxlen); + virtual Q_LONG readBlock(char *data, Q_ULONG maxlen); /** * @overload * Reads data from a socket. Reimplemented from KSocketBase. */ - virtual TQ_LONG readBlock(char *data, TQ_ULONG maxlen, KSocketAddress& from); + virtual Q_LONG readBlock(char *data, Q_ULONG maxlen, KSocketAddress& from); /** * Peeks data from the socket. Reimplemented from KSocketBase. */ - virtual TQ_LONG peekBlock(char *data, TQ_ULONG maxlen); + virtual Q_LONG peekBlock(char *data, Q_ULONG maxlen); /** * @overload * Peeks data from the socket. Reimplemented from KSocketBase. */ - virtual TQ_LONG peekBlock(char *data, TQ_ULONG maxlen, KSocketAddress &from); + virtual Q_LONG peekBlock(char *data, Q_ULONG maxlen, KSocketAddress &from); /** * Writes data to the socket. Reimplemented from KSocketBase. */ - virtual TQ_LONG writeBlock(const char *data, TQ_ULONG len); + virtual Q_LONG writeBlock(const char *data, Q_ULONG len); /** * @overload * Writes data to the socket. Reimplemented from KSocketBase. */ - virtual TQ_LONG writeBlock(const char *data, TQ_ULONG len, const KSocketAddress& to); + virtual Q_LONG writeBlock(const char *data, Q_ULONG len, const KSocketAddress& to); /** * Returns the local socket address. Reimplemented from KSocketBase. @@ -413,8 +413,8 @@ signals: void stateChanged(int newstate); /** - * This signal is emitted when this object tqfinds an error. - * The @p code parameter tqcontains the error code that can + * This signal is emitted when this object finds an error. + * The @p code parameter contains the error code that can * also be found by calling @ref error. */ void gotError(int code); |