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/kclientsocketbase.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/kclientsocketbase.h')
-rw-r--r-- | kdecore/network/kclientsocketbase.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdecore/network/kclientsocketbase.h b/kdecore/network/kclientsocketbase.h index ccd94994a..1a6d3b8b1 100644 --- a/kdecore/network/kclientsocketbase.h +++ b/kdecore/network/kclientsocketbase.h @@ -25,8 +25,8 @@ #ifndef KCLIENTSOCKETBASE_H #define KCLIENTSOCKETBASE_H -#include <qobject.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstring.h> #include "ksocketbase.h" #include "kresolver.h" @@ -46,7 +46,7 @@ class KClientSocketBasePrivate; * * @author Thiago Macieira <thiago.macieira@kdemail.net> */ -class KDECORE_EXPORT KClientSocketBase : public QObject, public KActiveSocketBase +class KDECORE_EXPORT KClientSocketBase : public TQObject, public KActiveSocketBase { Q_OBJECT @@ -87,10 +87,10 @@ public: /** * Default constructor. * - * @param parent the parent QObject object + * @param parent the parent TQObject object * @param name the name of this object */ - KClientSocketBase(QObject* parent, const char *name); + KClientSocketBase(TQObject* parent, const char *name); /** * Destructor. @@ -202,14 +202,14 @@ public: * @param node the nodename * @param service the service */ - virtual bool bind(const QString& node = QString::null, - const QString& service = QString::null) = 0; + virtual bool bind(const TQString& node = TQString::null, + const TQString& service = TQString::null) = 0; /** * Reimplemented from KSocketBase. Connect this socket to this * specific address. * - * Unlike @ref bind(const QString&, const QString&) above, this function + * Unlike @ref bind(const TQString&, const TQString&) above, this function * really does bind the socket. No lookup is performed. The @ref bound * signal will be emitted. */ @@ -243,8 +243,8 @@ public: * @param node the nodename * @param service the service */ - virtual bool connect(const QString& node = QString::null, - const QString& service = QString::null) = 0; + virtual bool connect(const TQString& node = TQString::null, + const TQString& service = TQString::null) = 0; /** * @overload @@ -255,10 +255,10 @@ public: /** * @deprecated * This is a convenience function provided to ease migrating from - * Qt 3.x's QSocket class. + * Qt 3.x's TQSocket class. */ - inline void connectToHost(const QString& host, Q_UINT16 port) - { connect(host, QString::number(port)); } + inline void connectToHost(const TQString& host, Q_UINT16 port) + { connect(host, TQString::number(port)); } /** * Disconnects the socket. @@ -267,7 +267,7 @@ public: virtual bool disconnect(); /** - * Opens the socket. Reimplemented from QIODevice. + * Opens the socket. Reimplemented from TQIODevice. * * You should not call this function; instead, use @ref connect */ @@ -275,7 +275,7 @@ public: { return connect(); } /** - * Closes the socket. Reimplemented from QIODevice. + * Closes the socket. Reimplemented from TQIODevice. * * The closing of the socket causes the emission of the * signal @ref closed. @@ -283,7 +283,7 @@ public: virtual void close(); /** - * This call is not supported on sockets. Reimplemented from QIODevice. + * This call is not supported on sockets. Reimplemented from TQIODevice. */ virtual void flush() { } |