diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /krfb/srvloc/kinetinterfacewatcher.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krfb/srvloc/kinetinterfacewatcher.cpp')
-rw-r--r-- | krfb/srvloc/kinetinterfacewatcher.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/krfb/srvloc/kinetinterfacewatcher.cpp b/krfb/srvloc/kinetinterfacewatcher.cpp index 02f21c6c..1e0fa8e6 100644 --- a/krfb/srvloc/kinetinterfacewatcher.cpp +++ b/krfb/srvloc/kinetinterfacewatcher.cpp @@ -25,11 +25,11 @@ class KInetInterfaceWatcherPrivate { public: - QString interface; + TQString interface; int minInterval; // not used yet, but my be when a daemon watches - KInetInterfaceWatcherPrivate(const QString &iface, + KInetInterfaceWatcherPrivate(const TQString &iface, int minIntv) : interface(iface), minInterval(minIntv) { @@ -39,17 +39,17 @@ public: /* * or all network interfaces. * @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::KInetInterfaceWatcher(const QString &interface, +KInetInterfaceWatcher::KInetInterfaceWatcher(const TQString &interface, int minInterval) { d = new KInetInterfaceWatcherPrivate(interface, minInterval); } -QString KInetInterfaceWatcher::interface() const { +TQString KInetInterfaceWatcher::interface() const { return d->interface; } |