summaryrefslogtreecommitdiffstats
path: root/kdecore/network/kdatagramsocket.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 08:24:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 08:24:43 +0000
commit96a33d90689a46ea58f812d76fdd2eaf93edecfa (patch)
tree756ca55bffdffc115088699dd1b76c61eb6f64bf /kdecore/network/kdatagramsocket.cpp
parent5783baba4a547c443e4392f51c8023d38cb9fe6a (diff)
downloadtdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.tar.gz
tdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.zip
Additional TQt for Qt4 compilation fixes
This should not affect TQt for Qt3 per usual git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215674 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/network/kdatagramsocket.cpp')
-rw-r--r--kdecore/network/kdatagramsocket.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdecore/network/kdatagramsocket.cpp b/kdecore/network/kdatagramsocket.cpp
index ff6ea04b3..d4bddc543 100644
--- a/kdecore/network/kdatagramsocket.cpp
+++ b/kdecore/network/kdatagramsocket.cpp
@@ -156,7 +156,7 @@ KDatagramPacket KDatagramSocket::receive()
KSocketAddress address;
// now do the reading
- size = readBlock(data.data(), size, address);
+ size = tqreadBlock(data.data(), size, address);
if (size < 0)
// error has been set
return KDatagramPacket();
@@ -167,10 +167,10 @@ KDatagramPacket KDatagramSocket::receive()
TQ_LONG KDatagramSocket::send(const KDatagramPacket& packet)
{
- return writeBlock(packet.data(), packet.size(), packet.address());
+ return tqwriteBlock(packet.data(), packet.size(), packet.address());
}
-TQ_LONG KDatagramSocket::writeBlock(const char *data, TQ_ULONG len, const KSocketAddress& to)
+TQ_LONG KDatagramSocket::tqwriteBlock(const char *data, TQ_ULONG len, const KSocketAddress& to)
{
if (to.family() != AF_UNSPEC)
{
@@ -179,7 +179,7 @@ TQ_LONG KDatagramSocket::writeBlock(const char *data, TQ_ULONG len, const KSocke
// error handling will happen below
socketDevice()->create(to.family(), SOCK_DGRAM, 0);
}
- return KClientSocketBase::writeBlock(data, len, to);
+ return KClientSocketBase::tqwriteBlock(data, len, to);
}
void KDatagramSocket::lookupFinishedLocal()