summaryrefslogtreecommitdiffstats
path: root/kdecore/network/ksocketaddress.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/network/ksocketaddress.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/network/ksocketaddress.h')
-rw-r--r--kdecore/network/ksocketaddress.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kdecore/network/ksocketaddress.h b/kdecore/network/ksocketaddress.h
index 456422f9f..6889527e3 100644
--- a/kdecore/network/ksocketaddress.h
+++ b/kdecore/network/ksocketaddress.h
@@ -25,8 +25,8 @@
#ifndef KSOCKETADDRESS_H
#define KSOCKETADDRESS_H
-#include <qstring.h>
-#include <qcstring.h>
+#include <tqstring.h>
+#include <tqcstring.h>
#include <kdelibs_export.h>
@@ -87,7 +87,7 @@ public:
*
* @param addr the address
*/
- inline KIpAddress(const QString& addr)
+ inline KIpAddress(const TQString& addr)
{ setAddress(addr); }
/**
@@ -189,7 +189,7 @@ public:
* @return true if the address was successfully parsed; otherwise returns
* false and leaves the object unchanged.
*/
- bool setAddress(const QString& address);
+ bool setAddress(const TQString& address);
/**
* Sets the address to the given string representation.
@@ -212,7 +212,7 @@ public:
/**
* Returns the address as a string.
*/
- QString toString() const;
+ TQString toString() const;
/**
* Returns a pointer to binary raw data representing the address.
@@ -564,23 +564,23 @@ public:
* Returns the node name of this socket.
*
* In the case of Internet sockets, this is string representation of the IP address.
- * The default implementation returns QString::null.
+ * The default implementation returns TQString::null.
*
- * @return the node name, can be QString::null
+ * @return the node name, can be TQString::null
* @bug use KResolver to resolve unknown families
*/
- virtual QString nodeName() const;
+ virtual TQString nodeName() const;
/**
* Returns the service name for this socket.
*
* In the case of Internet sockets, this is the port number.
- * The default implementation returns QString::null.
+ * The default implementation returns TQString::null.
*
- * @return the service name, can be QString::null
+ * @return the service name, can be TQString::null
* @bug use KResolver to resolve unknown families
*/
- virtual QString serviceName() const;
+ virtual TQString serviceName() const;
/**
* Returns this socket address as a string suitable for
@@ -588,7 +588,7 @@ public:
*
* @bug use KResolver to resolve unknown families
*/
- virtual QString toString() const;
+ virtual TQString toString() const;
/**
* Returns an object reference that can be used to manipulate this socket
@@ -867,7 +867,7 @@ public:
/**
* Constructs an object from the given pathname.
*/
- KUnixSocketAddress(const QString& pathname);
+ KUnixSocketAddress(const TQString& pathname);
/**
* Destructor.
@@ -890,16 +890,16 @@ public:
/**
* Returns the pathname associated with this object. Will return
- * QString::null if this object is empty.
+ * TQString::null if this object is empty.
*/
- QString pathname() const;
+ TQString pathname() const;
/**
* Sets the pathname for the object.
*
* @return a reference to itself
*/
- KUnixSocketAddress& setPathname(const QString& path);
+ KUnixSocketAddress& setPathname(const TQString& path);
protected:
/// @internal