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/kextsock.cpp | |
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/kextsock.cpp')
-rw-r--r-- | kdecore/kextsock.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdecore/kextsock.cpp b/kdecore/kextsock.cpp index d0472177e..6371bb7eb 100644 --- a/kdecore/kextsock.cpp +++ b/kdecore/kextsock.cpp @@ -236,12 +236,12 @@ bool KExtendedSocket::reset() d->syserror = 0; } -int KExtendedSocket::sockettqStatus() const +int KExtendedSocket::socketStatus() const { return d->status; } -void KExtendedSocket::setSockettqStatus(int newstatus) +void KExtendedSocket::setSocketStatus(int newstatus) { d->status = newstatus; } @@ -716,7 +716,7 @@ bool KExtendedSocket::setBufferSize(int rsize, int wsize) /* * Finds the local address for this socket * if we have done this already, we return it. Otherwise, we'll have - * to tqfind the socket name + * to find the socket name */ const ::KSocketAddress *KExtendedSocket::localAddress() { @@ -1436,7 +1436,7 @@ void KExtendedSocket::flush() } -TQ_LONG KExtendedSocket::readBlock(char *data, TQ_ULONG maxlen) +Q_LONG KExtendedSocket::readBlock(char *data, Q_ULONG maxlen) { cleanError(); if (d->status < connected || d->flags & passiveSocket) @@ -1481,7 +1481,7 @@ TQ_LONG KExtendedSocket::readBlock(char *data, TQ_ULONG maxlen) return retval; } -TQ_LONG KExtendedSocket::writeBlock(const char *data, TQ_ULONG len) +Q_LONG KExtendedSocket::writeBlock(const char *data, Q_ULONG len) { cleanError(); if (d->status < connected || d->status >= closing || d->flags & passiveSocket) @@ -1808,7 +1808,7 @@ void KExtendedSocket::connectionEvent() if (sockfd != -1) { // our socket has activity - // tqfind out what it was + // find out what it was int retval; socklen_t len = sizeof(errcode); retval = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char*)&errcode, &len); @@ -2075,7 +2075,7 @@ TQPtrList<KAddressInfo> KExtendedSocket::lookup(const TQString& host, const TQSt struct sockaddr static_sa, *sa = &static_sa; ksocklen_t len = sizeof(static_sa); - /* tqfind out the socket length, in advance + /* find out the socket length, in advance * we use a sockaddr allocated on the heap just not to pass down * a NULL pointer to the first call. Some systems are reported to * set len to 0 if we pass NULL as the sockaddr */ @@ -2123,7 +2123,7 @@ TQPtrList<KAddressInfo> KExtendedSocket::lookup(const TQString& host, const TQSt struct sockaddr static_sa, *sa = &static_sa; ksocklen_t len = sizeof(static_sa); - /* tqfind out the socket length, in advance + /* find out the socket length, in advance * we use a sockaddr allocated on the heap just not to pass down * a NULL pointer to the first call. Some systems are reported to * set len to 0 if we pass NULL as the sockaddr */ |