summaryrefslogtreecommitdiffstats
path: root/tdecore/network/kdatagramsocket.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:35:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:35:07 -0600
commit703fb0c89c2eee56a1e613e67a446db9d4287929 (patch)
treedd8c5ca66075cd89c2638a2b48cf78386a9870a7 /tdecore/network/kdatagramsocket.h
parent818e7abec3d5d3809b6b77293558678371c16b71 (diff)
downloadtdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.tar.gz
tdelibs-703fb0c89c2eee56a1e613e67a446db9d4287929.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'tdecore/network/kdatagramsocket.h')
-rw-r--r--tdecore/network/kdatagramsocket.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdecore/network/kdatagramsocket.h b/tdecore/network/kdatagramsocket.h
index c51fea1ef..fd12a0d97 100644
--- a/tdecore/network/kdatagramsocket.h
+++ b/tdecore/network/kdatagramsocket.h
@@ -51,7 +51,7 @@ class KResolverEntry;
class TDECORE_EXPORT KDatagramPacket
{
TQByteArray m_data;
- KSocketAddress m_address;
+ TDESocketAddress m_address;
public:
/**
@@ -78,14 +78,14 @@ public:
/**
* Constructs the datagram with the specified content and address.
*/
- KDatagramPacket(const TQByteArray& content, const KSocketAddress& addr)
+ KDatagramPacket(const TQByteArray& content, const TDESocketAddress& addr)
: m_data(content), m_address(addr)
{ }
/**
* Constructs the datagram with the specified content and address.
*/
- KDatagramPacket(const char *content, uint length, const KSocketAddress& addr)
+ KDatagramPacket(const char *content, uint length, const TDESocketAddress& addr)
: m_address(addr)
{ setData(content, length); }
@@ -134,13 +134,13 @@ public:
/**
* Returns the socket address
*/
- const KSocketAddress& address() const
+ const TDESocketAddress& address() const
{ return m_address; }
/**
* Sets the address stored to the given value.
*/
- void setAddress(const KSocketAddress& addr)
+ void setAddress(const TDESocketAddress& addr)
{ m_address = addr; }
/**
@@ -241,7 +241,7 @@ public:
/**
* Writes data to the socket. Reimplemented from KClientSocketBase.
*/
- virtual TQ_LONG tqwriteBlock(const char *data, TQ_ULONG len, const KSocketAddress& to);
+ virtual TQ_LONG tqwriteBlock(const char *data, TQ_ULONG len, const TDESocketAddress& to);
/**
* Receives one datagram from the stream. The reading process is guaranteed