From 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kded/kded.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kded/kded.cpp') diff --git a/kded/kded.cpp b/kded/kded.cpp index 7f8ec9121..257ab3731 100644 --- a/kded/kded.cpp +++ b/kded/kded.cpp @@ -247,7 +247,7 @@ void Kded::noDemandLoad(const TQString &obj) KDEDModule *Kded::loadModule(const TQCString &obj, bool onDemand) { - KDEDModule *module = m_modules.tqfind(obj); + KDEDModule *module = m_modules.find(obj); if (module) return module; KService::Ptr s = KService::serviceByDesktopPath("kded/"+obj+".desktop"); @@ -260,7 +260,7 @@ KDEDModule *Kded::loadModule(const KService *s, bool onDemand) if (s && !s->library().isEmpty()) { TQCString obj = s->desktopEntryName().latin1(); - KDEDModule *oldModule = m_modules.tqfind(obj); + KDEDModule *oldModule = m_modules.find(obj); if (oldModule) return oldModule; @@ -374,7 +374,7 @@ void Kded::slotApplicationRemoved(const TQCString &appId) it.current()->removeAll(appId); } - TQValueList *windowIds = m_windowIdList.tqfind(appId); + TQValueList *windowIds = m_windowIdList.find(appId); if (windowIds) { for( TQValueList::ConstIterator it = windowIds->begin(); @@ -428,7 +428,7 @@ void Kded::updateResourceList() it != dirs.end(); ++it ) { - if (m_allResourceDirs.tqfind(*it) == m_allResourceDirs.end()) + if (m_allResourceDirs.find(*it) == m_allResourceDirs.end()) { m_allResourceDirs.append(*it); readDirectory(*it); @@ -603,18 +603,18 @@ void Kded::readDirectory( const TQString& _path ) bool Kded::isWindowRegistered(long windowId) { - return m_globalWindowIdList.tqfind(windowId) != 0; + return m_globalWindowIdList.find(windowId) != 0; } // DCOP void Kded::registerWindowId(long windowId) { - m_globalWindowIdList.tqreplace(windowId, &windowId); + m_globalWindowIdList.replace(windowId, &windowId); TQCString sender = callingDcopClient()->senderId(); if( sender.isEmpty()) // local call sender = callingDcopClient()->appId(); - TQValueList *windowIds = m_windowIdList.tqfind(sender); + TQValueList *windowIds = m_windowIdList.find(sender); if (!windowIds) { windowIds = new TQValueList; @@ -636,7 +636,7 @@ void Kded::unregisterWindowId(long windowId) TQCString sender = callingDcopClient()->senderId(); if( sender.isEmpty()) // local call sender = callingDcopClient()->appId(); - TQValueList *windowIds = m_windowIdList.tqfind(sender); + TQValueList *windowIds = m_windowIdList.find(sender); if (windowIds) { windowIds->remove(windowId); -- cgit v1.2.1