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 | 7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (patch) | |
tree | 48ff13dab43883d19ecf2272b8ba72a013d5bc57 /juk/collectionlist.cpp | |
parent | c05ca496a526b3fc192dbfafe0955e5824b22e08 (diff) | |
download | tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.tar.gz tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/collectionlist.cpp')
-rw-r--r-- | juk/collectionlist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/collectionlist.cpp b/juk/collectionlist.cpp index 2f005009..2816f85e 100644 --- a/juk/collectionlist.cpp +++ b/juk/collectionlist.cpp @@ -90,7 +90,7 @@ PlaylistItem *CollectionList::createItem(const FileHandle &file, TQListViewItem // It's probably possible to optimize the line below away, but, well, right // now it's more important to not load duplicate items. - if(m_itemsDict.tqfind(file.absFilePath())) + if(m_itemsDict.find(file.absFilePath())) return 0; PlaylistItem *item = new CollectionListItem(file); @@ -286,7 +286,7 @@ TQString CollectionList::addStringToDict(const TQString &value, unsigned column) if(column > m_columnTags.count() || value.stripWhiteSpace().isEmpty()) return TQString(); - int *refCountPtr = m_columnTags[column]->tqfind(value); + int *refCountPtr = m_columnTags[column]->find(value); if(refCountPtr) ++(*refCountPtr); else { @@ -336,7 +336,7 @@ void CollectionList::removeStringFromDict(const TQString &value, unsigned column if(column > m_columnTags.count() || value.isEmpty()) return; - int *refCountPtr = m_columnTags[column]->tqfind(value); + int *refCountPtr = m_columnTags[column]->find(value); if(refCountPtr) { --(*refCountPtr); if(*refCountPtr == 0) { |