summaryrefslogtreecommitdiffstats
path: root/libtdegames/highscore
diff options
context:
space:
mode:
Diffstat (limited to 'libtdegames/highscore')
-rw-r--r--libtdegames/highscore/kexthighscore_internal.cpp2
-rw-r--r--libtdegames/highscore/kscoredialog.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/libtdegames/highscore/kexthighscore_internal.cpp b/libtdegames/highscore/kexthighscore_internal.cpp
index a679002c..388c8a88 100644
--- a/libtdegames/highscore/kexthighscore_internal.cpp
+++ b/libtdegames/highscore/kexthighscore_internal.cpp
@@ -780,7 +780,7 @@ int ManagerPrivate::submitScore(const Score &ascore,
Score score = ascore;
score.setData("id", _playerInfos->id() + 1);
- score.setData("date", TQDateTime::tqcurrentDateTime());
+ score.setData("date", TQDateTime::currentDateTime());
// ask new name if anonymous and winner
const char *dontAskAgainName = "highscore_ask_name_dialog";
diff --git a/libtdegames/highscore/kscoredialog.cpp b/libtdegames/highscore/kscoredialog.cpp
index e799883b..365e7aed 100644
--- a/libtdegames/highscore/kscoredialog.cpp
+++ b/libtdegames/highscore/kscoredialog.cpp
@@ -130,7 +130,7 @@ void KScoreDialog::setupDialog()
d->tqlayout->addRowSpacing(4, 15);
d->commentLabel = new TQLabel(d->page);
- d->commentLabel->tqsetAlignment(AlignVCenter | AlignHCenter);
+ d->commentLabel->setAlignment(AlignVCenter | AlignHCenter);
d->tqlayout->addMultiCellWidget(d->commentLabel, 1, 1, 0, d->nrCols-1);
TQFont bold = font();
@@ -207,7 +207,7 @@ void KScoreDialog::aboutToShow()
}
else
{
- d->commentLabel->setMinimumSize(d->commentLabel->tqsizeHint());
+ d->commentLabel->setMinimumSize(d->commentLabel->sizeHint());
d->commentLabel->show();
d->tqlayout->addRowSpacing(0, -10);
d->tqlayout->addRowSpacing(2, 10);
@@ -267,7 +267,7 @@ void KScoreDialog::aboutToShow()
}
}
d->latest = -1;
- setFixedSize(tqminimumSizeHint());
+ setFixedSize(minimumSizeHint());
}
void KScoreDialog::loadScores()