summaryrefslogtreecommitdiffstats
path: root/juk/playlistitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:07 -0600
commit3c299dfe48c0060272c2966fff599b3b417e2ee4 (patch)
treef248b71f55539d6689a4cbe086d5d8cc146c8998 /juk/playlistitem.cpp
parentf59dfa08651a47f21d004e8e4cb5020b8035287e (diff)
downloadtdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.tar.gz
tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'juk/playlistitem.cpp')
-rw-r--r--juk/playlistitem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/juk/playlistitem.cpp b/juk/playlistitem.cpp
index 81aad977..2a9a2412 100644
--- a/juk/playlistitem.cpp
+++ b/juk/playlistitem.cpp
@@ -272,10 +272,10 @@ void PlaylistItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, i
if(!m_playingItems.contains(this))
return KListViewItem::paintCell(p, cg, column, width, align);
- TQColorGroup tqcolorGroup = cg;
+ TQColorGroup colorGroup = cg;
- TQColor base = tqcolorGroup.base();
- TQColor selection = tqcolorGroup.highlight();
+ TQColor base = colorGroup.base();
+ TQColor selection = colorGroup.highlight();
int r = (base.red() + selection.red()) / 2;
int b = (base.blue() + selection.blue()) / 2;
@@ -283,8 +283,8 @@ void PlaylistItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, i
TQColor c(r, g, b);
- tqcolorGroup.setColor(TQColorGroup::Base, c);
- TQListViewItem::paintCell(p, tqcolorGroup, column, width, align);
+ colorGroup.setColor(TQColorGroup::Base, c);
+ TQListViewItem::paintCell(p, colorGroup, column, width, align);
}
int PlaylistItem::compare(TQListViewItem *item, int column, bool ascending) const