From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krfb/srvloc/kinetinterfacewatcher.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'krfb/srvloc/kinetinterfacewatcher.h') diff --git a/krfb/srvloc/kinetinterfacewatcher.h b/krfb/srvloc/kinetinterfacewatcher.h index 399aa3fc..75d72ef8 100644 --- a/krfb/srvloc/kinetinterfacewatcher.h +++ b/krfb/srvloc/kinetinterfacewatcher.h @@ -23,10 +23,10 @@ #define KINETINTERFACEWATCHER_H #include -#include -#include -#include -#include +#include +#include +#include +#include class KInetInterfaceWatcherPrivate; @@ -43,7 +43,7 @@ class KInetInterfaceWatcherPrivate; * @see KInetInterface * @since 3.2 */ -class KInetInterfaceWatcher : public QObject { +class KInetInterfaceWatcher : public TQObject { Q_OBJECT public: /** @@ -51,34 +51,34 @@ public: * you must @ref start() it. * * @param interface the name of the interface to watch (e.g.'eth0') - * or QString::null to watch all interfaces + * or TQString::null to watch all interfaces * @param minInterval the minimum interval between two checks in * seconds. Be careful not to check too often, to * avoid unneccessary wasting of CPU time */ - KInetInterfaceWatcher(const QString &interface = QString::null, + KInetInterfaceWatcher(const TQString &interface = TQString::null, int minInterval = 60); /** * Returns the name of the interface that is being watched. - * @return the name of the interface, or QString::null if all + * @return the name of the interface, or TQString::null if all * interfaces are watched */ - QString interface() const; + TQString interface() const; /** * Starts the KInetInterfaceWatcher. It watches either one * or all network interfaces. When one of them changed. * it emits a @ref changed() signal. * @param interface the name of the interface to watch (e.g.'eth0') - * or QString::null to watch all interfaces + * or TQString::null to watch all interfaces * @param minInterval the minimum interval between two checks in * seconds. Be careful not to check too often, to * avoid unneccessary wasting of CPU time * @see changed() * @see stop() */ - void start(const QString &interface = QString::null, + void start(const TQString &interface = TQString::null, int minInterval = 60); /** @@ -109,11 +109,11 @@ signals: * address has changed. * * @param interfaceName the name of the interface that is watched, - * by the emitter, or QString::null if all + * by the emitter, or TQString::null if all * interfaces are being watched * @see start() */ - void changed(QString interfaceName); + void changed(TQString interfaceName); private: KInetInterfaceWatcherPrivate* d; -- cgit v1.2.1