summaryrefslogtreecommitdiffstats
path: root/krfb/srvloc/kinetinterfacewatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'krfb/srvloc/kinetinterfacewatcher.h')
-rw-r--r--krfb/srvloc/kinetinterfacewatcher.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/krfb/srvloc/kinetinterfacewatcher.h b/krfb/srvloc/kinetinterfacewatcher.h
index 75d72ef8..d767e597 100644
--- a/krfb/srvloc/kinetinterfacewatcher.h
+++ b/krfb/srvloc/kinetinterfacewatcher.h
@@ -45,23 +45,24 @@ class KInetInterfaceWatcherPrivate;
*/
class KInetInterfaceWatcher : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Creates a new KInetInterfaceWatcher. Before you can use it,
* you must @ref start() it.
*
* @param interface the name of the interface to watch (e.g.'eth0')
- * or TQString::null to watch all interfaces
+ * or TQString() 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 TQString &interface = TQString::null,
+ KInetInterfaceWatcher(const TQString &interface = TQString(),
int minInterval = 60);
/**
* Returns the name of the interface that is being watched.
- * @return the name of the interface, or TQString::null if all
+ * @return the name of the interface, or TQString() if all
* interfaces are watched
*/
TQString interface() const;
@@ -71,14 +72,14 @@ public:
* 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 TQString::null to watch all interfaces
+ * or TQString() 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 TQString &interface = TQString::null,
+ void start(const TQString &interface = TQString(),
int minInterval = 60);
/**
@@ -109,7 +110,7 @@ signals:
* address has changed.
*
* @param interfaceName the name of the interface that is watched,
- * by the emitter, or TQString::null if all
+ * by the emitter, or TQString() if all
* interfaces are being watched
* @see start()
*/