diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/network/kreverseresolver.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-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/kreverseresolver.h')
-rw-r--r-- | kdecore/network/kreverseresolver.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdecore/network/kreverseresolver.h b/kdecore/network/kreverseresolver.h index 325d97d82..26274e586 100644 --- a/kdecore/network/kreverseresolver.h +++ b/kdecore/network/kreverseresolver.h @@ -27,8 +27,8 @@ ////////////////// // Needed includes -#include <qobject.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstring.h> #include "ksocketaddress.h" @@ -88,7 +88,7 @@ public: * @param flags the flags to use, see @ref Flags */ KReverseResolver(const KSocketAddress& addr, int flags = 0, - QObject * = 0L, const char * = 0L); + TQObject * = 0L, const char * = 0L); /** * Destructor. @@ -114,15 +114,15 @@ public: /** * Returns the resolved node name, if the resolution has finished - * successfully, or QString::null otherwise. + * successfully, or TQString::null otherwise. */ - QString node() const; + TQString node() const; /** * Returns the resolved service name, if the resolution has finished - * successfully, or QString::null otherwise. + * successfully, or TQString::null otherwise. */ - QString service() const; + TQString service() const; /** * Returns the socket address which was subject to resolution. @@ -138,7 +138,7 @@ public: /** * Overrides event handling */ - virtual bool event(QEvent* ); + virtual bool event(TQEvent* ); signals: /** @@ -158,14 +158,14 @@ public: * binary representation to a textual form, even if numeric only. * * @param addr the socket address to be resolved - * @param node the QString where we will store the resolved node - * @param serv the QString where we will store the resolved service + * @param node the TQString where we will store the resolved node + * @param serv the TQString where we will store the resolved service * @param flags flags to be used for this resolution. * @return true if the resolution succeeded, false if not * @see ReverseFlags for the possible values for @p flags */ - static bool resolve(const KSocketAddress& addr, QString& node, - QString& serv, int flags = 0); + static bool resolve(const KSocketAddress& addr, TQString& node, + TQString& serv, int flags = 0); /** * Resolves a socket address to its textual representation @@ -177,14 +177,14 @@ public: * * @param sa the sockaddr structure containing the address to be resolved * @param salen the length of the sockaddr structure - * @param node the QString where we will store the resolved node - * @param serv the QString where we will store the resolved service + * @param node the TQString where we will store the resolved node + * @param serv the TQString where we will store the resolved service * @param flags flags to be used for this resolution. * @return true if the resolution succeeded, false if not * @see ReverseFlags for the possible values for @p flags */ static bool resolve(const struct sockaddr* sa, Q_UINT16 salen, - QString& node, QString& serv, int flags = 0); + TQString& node, TQString& serv, int flags = 0); private: KReverseResolverPrivate* d; |