diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:13:25 -0600 |
commit | 940c092f32d40263ad6b24f948eaf4c48b01e99a (patch) | |
tree | f5235b5c44e8aaedd3484a00551e29993d548590 /juk/playlistitem.cpp | |
parent | ced2058eaf8e5af831ebc02812a18937ff7e1de3 (diff) | |
download | tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.tar.gz tdemultimedia-940c092f32d40263ad6b24f948eaf4c48b01e99a.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'juk/playlistitem.cpp')
-rw-r--r-- | juk/playlistitem.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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<PlaylistItem *>(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; |