diff options
Diffstat (limited to 'juk/collectionlist.h')
-rw-r--r-- | juk/collectionlist.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/collectionlist.h b/juk/collectionlist.h index 82fa9c12..e26a8c3a 100644 --- a/juk/collectionlist.h +++ b/juk/collectionlist.h @@ -81,7 +81,7 @@ public: */ TQStringList uniqueSet(UniqueSetType t) const; - CollectionListItem *lookup(const TQString &file) { return m_itemsDict.tqfind(file); } + CollectionListItem *lookup(const TQString &file) { return m_itemsDict.find(file); } virtual PlaylistItem *createItem(const FileHandle &file, TQListViewItem * = 0, @@ -116,7 +116,7 @@ protected: // These methods are used by CollectionListItem, which is a friend class. - void addToDict(const TQString &file, CollectionListItem *item) { m_itemsDict.tqreplace(file, item); } + void addToDict(const TQString &file, CollectionListItem *item) { m_itemsDict.replace(file, item); } void removeFromDict(const TQString &file) { m_itemsDict.remove(file); } // These methods are also used by CollectionListItem, to manage the @@ -128,7 +128,7 @@ protected: void addWatched(const TQString &file) { m_dirWatch->addFile(file); } void removeWatched(const TQString &file) { m_dirWatch->removeFile(file); } - virtual bool hasItem(const TQString &file) const { return m_itemsDict.tqfind(file); } + virtual bool hasItem(const TQString &file) const { return m_itemsDict.find(file); } signals: void signalCollectionChanged(); |