summaryrefslogtreecommitdiffstats
path: root/kdecore/kextsock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kextsock.cpp')
-rw-r--r--kdecore/kextsock.cpp16
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 */