diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch) | |
tree | 36613dfe2f86f8ccb96a30f3880507341228eeb0 /kded/kbuildsycoca.cpp | |
parent | 1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff) | |
download | tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip |
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
Diffstat (limited to 'kded/kbuildsycoca.cpp')
-rw-r--r-- | kded/kbuildsycoca.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kded/kbuildsycoca.cpp b/kded/kbuildsycoca.cpp index 584531d8c..041c9db3a 100644 --- a/kded/kbuildsycoca.cpp +++ b/kded/kbuildsycoca.cpp @@ -203,15 +203,15 @@ KSycocaEntry *KBuildSycoca::createEntry(const TQString &file, bool addToFactory) // Re-use old entry if (g_factory == g_bsgf) // Strip .directory from service-group entries { - entry = g_entryDict->tqfind(file.left(file.length()-10)); + entry = g_entryDict->find(file.left(file.length()-10)); } else if (g_factory == g_bsf) { - entry = g_entryDict->tqfind(file); + entry = g_entryDict->find(file); } else { - entry = g_entryDict->tqfind(file); + entry = g_entryDict->find(file); } // remove from g_ctimeDict; if g_ctimeDict is not empty // after all files have been processed, it means @@ -300,7 +300,7 @@ bool KBuildSycoca::build() ++it1 ) { KSycocaResource res = (*it1); - if (!allResources.tqcontains(res.resource)) + if (!allResources.contains(res.resource)) allResources.append(res.resource); } } @@ -428,7 +428,7 @@ void KBuildSycoca::createMenu(TQString caption, TQString name, VFolderMenu::SubM if (timeStamp && (timeStamp == oldTimestamp)) { - entry = dynamic_cast<KServiceGroup *> (g_serviceGroupEntryDict->tqfind(subName)); + entry = dynamic_cast<KServiceGroup *> (g_serviceGroupEntryDict->find(subName)); if (entry && (entry->directoryEntryPath() != directoryFile)) entry = 0; // Can't reuse this one! } |