summaryrefslogtreecommitdiffstats
path: root/libtdegames/highscore
diff options
context:
space:
mode:
Diffstat (limited to 'libtdegames/highscore')
-rw-r--r--libtdegames/highscore/kexthighscore_gui.cpp6
-rw-r--r--libtdegames/highscore/kexthighscore_gui.h4
-rw-r--r--libtdegames/highscore/kexthighscore_tab.cpp4
-rw-r--r--libtdegames/highscore/kexthighscore_tab.h4
4 files changed, 9 insertions, 9 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);
diff --git a/libtdegames/highscore/kexthighscore_gui.h b/libtdegames/highscore/kexthighscore_gui.h
index c1d2a35c..fbd1422c 100644
--- a/libtdegames/highscore/kexthighscore_gui.h
+++ b/libtdegames/highscore/kexthighscore_gui.h
@@ -42,7 +42,7 @@ class Score;
class AdditionalTab;
//-----------------------------------------------------------------------------
-class ShowItem : public KListViewItem
+class ShowItem : public TDEListViewItem
{
public:
ShowItem(TQListView *, bool highlight);
@@ -55,7 +55,7 @@ class ShowItem : public KListViewItem
bool _highlight;
};
-class ScoresList : public KListView
+class ScoresList : public TDEListView
{
Q_OBJECT
diff --git a/libtdegames/highscore/kexthighscore_tab.cpp b/libtdegames/highscore/kexthighscore_tab.cpp
index 55f96e6b..94e87f23 100644
--- a/libtdegames/highscore/kexthighscore_tab.cpp
+++ b/libtdegames/highscore/kexthighscore_tab.cpp
@@ -211,7 +211,7 @@ HistogramTab::HistogramTab(TQWidget *parent)
// construct GUI
TQVBoxLayout *top = static_cast<TQVBoxLayout *>(layout());
- _list = new KListView(this);
+ _list = new TDEListView(this);
_list->setSelectionMode(TQListView::NoSelection);
_list->setItemMargin(3);
_list->setAllColumnsShowFocus(true);
@@ -235,7 +235,7 @@ HistogramTab::HistogramTab(TQWidget *parent)
TQString s2;
if ( k==sh.size() ) s2 = "...";
else if ( sh[k]!=sh[k-1]+1 ) s2 = sitem->pretty(0, sh[k]);
- (void)new KListViewItem(_list, s1, s2);
+ (void)new TDEListViewItem(_list, s1, s2);
}
}
diff --git a/libtdegames/highscore/kexthighscore_tab.h b/libtdegames/highscore/kexthighscore_tab.h
index 7ad91a91..bb84f155 100644
--- a/libtdegames/highscore/kexthighscore_tab.h
+++ b/libtdegames/highscore/kexthighscore_tab.h
@@ -24,7 +24,7 @@
#include <tqmemarray.h>
class TQLabel;
-class KListView;
+class TDEListView;
namespace KExtHighscore
@@ -111,7 +111,7 @@ class HistogramTab : public AdditionalTab
private:
TQMemArray<uint> _counts;
TQMemArray<uint> _data;
- KListView *_list;
+ TDEListView *_list;
void display(uint i);
};