summaryrefslogtreecommitdiffstats
path: root/libtdegames/highscore/kexthighscore_gui.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:12:46 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:12:46 -0600
commit58a97ed3af5e4df6c4a58d043b0c267bd97056a9 (patch)
tree5a2fde6842fd422cae2d8670d382be965098cc32 /libtdegames/highscore/kexthighscore_gui.cpp
parent2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff)
downloadtdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz
tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'libtdegames/highscore/kexthighscore_gui.cpp')
-rw-r--r--libtdegames/highscore/kexthighscore_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtdegames/highscore/kexthighscore_gui.cpp b/libtdegames/highscore/kexthighscore_gui.cpp
index a66050a6..19f9c004 100644
--- a/libtdegames/highscore/kexthighscore_gui.cpp
+++ b/libtdegames/highscore/kexthighscore_gui.cpp
@@ -46,7 +46,7 @@ namespace KExtHighscore
//-----------------------------------------------------------------------------
ShowItem::ShowItem(TQListView *list, bool highlight)
- : KListViewItem(list), _highlight(highlight)
+ : TDEListViewItem(list), _highlight(highlight)
{}
void ShowItem::paintCell(TQPainter *p, const TQColorGroup &cg,
@@ -54,12 +54,12 @@ void ShowItem::paintCell(TQPainter *p, const TQColorGroup &cg,
{
TQColorGroup cgrp(cg);
if (_highlight) cgrp.setColor(TQColorGroup::Text, red);
- KListViewItem::paintCell(p, cgrp, column, width, align);
+ TDEListViewItem::paintCell(p, cgrp, column, width, align);
}
//-----------------------------------------------------------------------------
ScoresList::ScoresList(TQWidget *parent)
- : KListView(parent)
+ : TDEListView(parent)
{
setSelectionMode(TQListView::NoSelection);
setItemMargin(3);