diff options
Diffstat (limited to 'juk/collectionlist.cpp')
-rw-r--r-- | juk/collectionlist.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/juk/collectionlist.cpp b/juk/collectionlist.cpp index 2816f85e..eb1b5d42 100644 --- a/juk/collectionlist.cpp +++ b/juk/collectionlist.cpp @@ -162,7 +162,7 @@ void CollectionList::slotRefreshItems(const KFileItemList &items) // If the item is no longer on disk, remove it from the collection. if(item->file().fileInfo().exists()) - item->tqrepaint(); + item->repaint(); else clearItem(item); } @@ -392,13 +392,13 @@ void CollectionListItem::refresh() file().coverInfo()->setCover(); if(listView()->isVisible()) - tqrepaint(); + repaint(); - for(PlaylistItemList::Iterator it = m_tqchildren.begin(); it != m_tqchildren.end(); ++it) { + for(PlaylistItemList::Iterator it = m_children.begin(); it != m_children.end(); ++it) { (*it)->playlist()->update(); (*it)->playlist()->dataChanged(); if((*it)->listView()->isVisible()) - (*it)->tqrepaint(); + (*it)->repaint(); } CollectionList::instance()->dataChanged(); @@ -411,7 +411,7 @@ PlaylistItem *CollectionListItem::itemForPlaylist(const Playlist *playlist) return this; PlaylistItemList::ConstIterator it; - for(it = m_tqchildren.begin(); it != m_tqchildren.end(); ++it) + for(it = m_children.begin(); it != m_children.end(); ++it) if((*it)->playlist() == playlist) return *it; return 0; @@ -428,11 +428,11 @@ void CollectionListItem::updateCollectionDict(const TQString &oldPath, const TQS collection->addToDict(newPath, this); } -void CollectionListItem::tqrepaint() const +void CollectionListItem::repaint() const { - TQListViewItem::tqrepaint(); - for(PlaylistItemList::ConstIterator it = m_tqchildren.begin(); it != m_tqchildren.end(); ++it) - (*it)->tqrepaint(); + TQListViewItem::repaint(); + for(PlaylistItemList::ConstIterator it = m_children.begin(); it != m_children.end(); ++it) + (*it)->repaint(); } //////////////////////////////////////////////////////////////////////////////// @@ -468,8 +468,8 @@ CollectionListItem::~CollectionListItem() { m_shuttingDown = true; - for(PlaylistItemList::ConstIterator it = m_tqchildren.begin(); - it != m_tqchildren.end(); + for(PlaylistItemList::ConstIterator it = m_children.begin(); + it != m_children.end(); ++it) { (*it)->playlist()->clearItem(*it); @@ -486,13 +486,13 @@ CollectionListItem::~CollectionListItem() void CollectionListItem::addChildItem(PlaylistItem *child) { - m_tqchildren.append(child); + m_children.append(child); } void CollectionListItem::removeChildItem(PlaylistItem *child) { if(!m_shuttingDown) - m_tqchildren.remove(child); + m_children.remove(child); } bool CollectionListItem::checkCurrent() |