From 940c092f32d40263ad6b24f948eaf4c48b01e99a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:25 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- juk/playlistitem.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'juk/playlistitem.cpp') diff --git a/juk/playlistitem.cpp b/juk/playlistitem.cpp index 2a9a2412..67ba4034 100644 --- a/juk/playlistitem.cpp +++ b/juk/playlistitem.cpp @@ -97,7 +97,7 @@ const TQPixmap *PlaylistItem::pixmap(int column) const m_playingItems.contains(const_cast(this))) return &playing; - return KListViewItem::pixmap(column); + return TDEListViewItem::pixmap(column); } TQString PlaylistItem::text(int column) const @@ -137,7 +137,7 @@ TQString PlaylistItem::text(int column) const case FullPathColumn: return d->fileHandle.fileInfo().absFilePath(); default: - return KListViewItem::text(column); + return TDEListViewItem::text(column); } } @@ -145,11 +145,11 @@ void PlaylistItem::setText(int column, const TQString &text) { int offset = playlist()->columnOffset(); if(column - offset >= 0 && column + offset <= lastColumn()) { - KListViewItem::setText(column, TQString()); + TDEListViewItem::setText(column, TQString()); return; } - KListViewItem::setText(column, text); + TDEListViewItem::setText(column, text); playlist()->slotWeightDirty(column); } @@ -178,7 +178,7 @@ void PlaylistItem::setPlaying(bool playing, bool master) void PlaylistItem::setSelected(bool selected) { playlist()->markItemSelected(this, selected); - KListViewItem::setSelected(selected); + TDEListViewItem::setSelected(selected); } void PlaylistItem::guessTagInfo(TagGuesser::Type type) @@ -240,7 +240,7 @@ void PlaylistItem::clear() //////////////////////////////////////////////////////////////////////////////// PlaylistItem::PlaylistItem(CollectionListItem *item, Playlist *parent) : - KListViewItem(parent), + TDEListViewItem(parent), d(0), m_watched(0) { @@ -248,7 +248,7 @@ PlaylistItem::PlaylistItem(CollectionListItem *item, Playlist *parent) : } PlaylistItem::PlaylistItem(CollectionListItem *item, Playlist *parent, TQListViewItem *after) : - KListViewItem(parent, after), + TDEListViewItem(parent, after), d(0), m_watched(0) { @@ -259,7 +259,7 @@ PlaylistItem::PlaylistItem(CollectionListItem *item, Playlist *parent, TQListVie // This constructor should only be used by the CollectionList subclass. PlaylistItem::PlaylistItem(CollectionList *parent) : - KListViewItem(parent), + TDEListViewItem(parent), m_watched(0) { d = new Data; @@ -270,7 +270,7 @@ PlaylistItem::PlaylistItem(CollectionList *parent) : void PlaylistItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int align) { if(!m_playingItems.contains(this)) - return KListViewItem::paintCell(p, cg, column, width, align); + return TDEListViewItem::paintCell(p, cg, column, width, align); TQColorGroup colorGroup = cg; -- cgit v1.2.1