summaryrefslogtreecommitdiffstats
path: root/libkdegames/highscore/kexthighscore_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/highscore/kexthighscore_gui.cpp')
-rw-r--r--libkdegames/highscore/kexthighscore_gui.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/libkdegames/highscore/kexthighscore_gui.cpp b/libkdegames/highscore/kexthighscore_gui.cpp
index 9aa28e89..02ea99b6 100644
--- a/libkdegames/highscore/kexthighscore_gui.cpp
+++ b/libkdegames/highscore/kexthighscore_gui.cpp
@@ -58,8 +58,8 @@ void ShowItem::paintCell(TQPainter *p, const TQColorGroup &cg,
}
//-----------------------------------------------------------------------------
-ScoresList::ScoresList(TQWidget *tqparent)
- : KListView(tqparent)
+ScoresList::ScoresList(TQWidget *parent)
+ : KListView(parent)
{
setSelectionMode(TQListView::NoSelection);
setItemMargin(3);
@@ -99,8 +99,8 @@ void ScoresList::addLineItem(const ItemArray &items,
}
//-----------------------------------------------------------------------------
-HighscoresList::HighscoresList(TQWidget *tqparent)
- : ScoresList(tqparent)
+HighscoresList::HighscoresList(TQWidget *parent)
+ : ScoresList(parent)
{}
TQString HighscoresList::itemText(const ItemContainer &item, uint row) const
@@ -120,8 +120,8 @@ void HighscoresList::load(const ItemArray &items, int highlight)
}
//-----------------------------------------------------------------------------
-HighscoresWidget::HighscoresWidget(TQWidget *tqparent)
- : TQWidget(tqparent, "show_highscores_widget"),
+HighscoresWidget::HighscoresWidget(TQWidget *parent)
+ : TQWidget(parent, "show_highscores_widget"),
_scoresUrl(0), _playersUrl(0), _statsTab(0), _histoTab(0)
{
const ScoreInfos &s = internal->scoreInfos();
@@ -197,10 +197,10 @@ void HighscoresWidget::load(int rank)
}
//-----------------------------------------------------------------------------
-HighscoresDialog::HighscoresDialog(int rank, TQWidget *tqparent)
+HighscoresDialog::HighscoresDialog(int rank, TQWidget *parent)
: KDialogBase(internal->nbGameTypes()>1 ? TreeList : Plain,
i18n("Highscores"), Close|User1|User2, Close,
- tqparent, "show_highscores", true, true,
+ parent, "show_highscores", true, true,
KGuiItem(i18n("Configure..."), "configure"),
KGuiItem(i18n("Export..."))), _rank(rank), _tab(0)
{
@@ -270,8 +270,8 @@ void HighscoresDialog::slotUser2()
//-----------------------------------------------------------------------------
LastMultipleScoresList::LastMultipleScoresList(
- const TQValueVector<Score> &scores, TQWidget *tqparent)
- : ScoresList(tqparent), _scores(scores)
+ const TQValueVector<Score> &scores, TQWidget *parent)
+ : ScoresList(parent), _scores(scores)
{
const ScoreInfos &s = internal->scoreInfos();
addHeader(s);
@@ -307,8 +307,8 @@ TQString LastMultipleScoresList::itemText(const ItemContainer &item,
//-----------------------------------------------------------------------------
TotalMultipleScoresList::TotalMultipleScoresList(
- const TQValueVector<Score> &scores, TQWidget *tqparent)
- : ScoresList(tqparent), _scores(scores)
+ const TQValueVector<Score> &scores, TQWidget *parent)
+ : ScoresList(parent), _scores(scores)
{
const ScoreInfos &s = internal->scoreInfos();
addHeader(s);
@@ -352,10 +352,10 @@ TQString TotalMultipleScoresList::itemText(const ItemContainer &item,
//-----------------------------------------------------------------------------
-ConfigDialog::ConfigDialog(TQWidget *tqparent)
+ConfigDialog::ConfigDialog(TQWidget *parent)
: KDialogBase(Swallow, i18n("Configure Highscores"),
Ok|Apply|Cancel, Cancel,
- tqparent, "configure_highscores", true, true),
+ parent, "configure_highscores", true, true),
_saved(false), _WWHEnabled(0)
{
TQWidget *page = 0;
@@ -516,9 +516,9 @@ bool ConfigDialog::save()
}
//-----------------------------------------------------------------------------
-AskNameDialog::AskNameDialog(TQWidget *tqparent)
+AskNameDialog::AskNameDialog(TQWidget *parent)
: KDialogBase(Plain, i18n("Enter Your Nickname"), Ok | Cancel, Ok,
- tqparent, "ask_name_dialog")
+ parent, "ask_name_dialog")
{
internal->hsConfig().readCurrentConfig();