diff options
Diffstat (limited to 'kaffeine/src/input/audiobrowser/playlistitem.cpp')
-rw-r--r-- | kaffeine/src/input/audiobrowser/playlistitem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kaffeine/src/input/audiobrowser/playlistitem.cpp b/kaffeine/src/input/audiobrowser/playlistitem.cpp index fe5a494..2152cff 100644 --- a/kaffeine/src/input/audiobrowser/playlistitem.cpp +++ b/kaffeine/src/input/audiobrowser/playlistitem.cpp @@ -26,15 +26,15 @@ #include "mrl.h" #include "playlistitem.h" -PlaylistItem::PlaylistItem(KListView *list, KListViewItem *after, const TQString& url, const TQString& mime, const TQString& title, +PlaylistItem::PlaylistItem(TDEListView *list, TDEListViewItem *after, const TQString& url, const TQString& mime, const TQString& title, const TQString& length, const TQString& artist, const TQString& album, const TQString& year, const TQString& genre, const TQString& track, const TQStringList& subtitles, int currentSubtitle) : - KListViewItem(list, after, mime, title, artist, album, track, length), + TDEListViewItem(list, after, mime, title, artist, album, track, length), m_url(url), m_year(year), m_genre(genre), m_subtitles(subtitles), m_currentSubtitle(currentSubtitle), isCurrent(false) {} -PlaylistItem::PlaylistItem(KListView* list, KListViewItem* after, const MRL& mrl) : - KListViewItem(list, after, mrl.mime(), mrl.title(), mrl.artist(), mrl.album(), +PlaylistItem::PlaylistItem(TDEListView* list, TDEListViewItem* after, const MRL& mrl) : + TDEListViewItem(list, after, mrl.mime(), mrl.title(), mrl.artist(), mrl.album(), mrl.track(), mrl.length().toString("h:mm:ss")), m_url(mrl.url()), m_year(mrl.year()), m_genre(mrl.genre()), m_subtitles(mrl.subtitleFiles()), m_currentSubtitle(mrl.currentSubtitle()), isCurrent(false) @@ -264,5 +264,5 @@ void PlaylistItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, i TQListViewItem::paintCell(p, colorGroup, column, width, align); } else - return KListViewItem::paintCell(p, cg, column, width, align); + return TDEListViewItem::paintCell(p, cg, column, width, align); } |