diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /dnssd/servicebrowser.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dnssd/servicebrowser.cpp')
-rw-r--r-- | dnssd/servicebrowser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dnssd/servicebrowser.cpp b/dnssd/servicebrowser.cpp index 340053622..3c64ffe66 100644 --- a/dnssd/servicebrowser.cpp +++ b/dnssd/servicebrowser.cpp @@ -138,7 +138,7 @@ void ServiceBrowser::startBrowse() void ServiceBrowser::gotNewService(RemoteService::Ptr svr) { - if (tqfindDuplicate(svr)==(d->m_services.end())) { + if (findDuplicate(svr)==(d->m_services.end())) { if (d->m_flags & AutoResolve) { connect(svr,TQT_SIGNAL(resolved(bool )),this,TQT_SLOT(serviceResolved(bool ))); d->m_duringResolve+=svr; @@ -152,7 +152,7 @@ void ServiceBrowser::gotNewService(RemoteService::Ptr svr) void ServiceBrowser::gotRemoveService(RemoteService::Ptr svr) { - TQValueList<RemoteService::Ptr>::Iterator it = tqfindDuplicate(svr); + TQValueList<RemoteService::Ptr>::Iterator it = findDuplicate(svr); if (it!=(d->m_services.end())) { emit serviceRemoved(*it); d->m_services.remove(it); @@ -212,7 +212,7 @@ const TQValueList<RemoteService::Ptr>& ServiceBrowser::services() const void ServiceBrowser::virtual_hook(int, void*) {} -TQValueList<RemoteService::Ptr>::Iterator ServiceBrowser::tqfindDuplicate(RemoteService::Ptr src) +TQValueList<RemoteService::Ptr>::Iterator ServiceBrowser::findDuplicate(RemoteService::Ptr src) { TQValueList<RemoteService::Ptr>::Iterator itEnd = d->m_services.end(); for (TQValueList<RemoteService::Ptr>::Iterator it = d->m_services.begin(); it!=itEnd; ++it) |