diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
commit | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch) | |
tree | cd20202507f54f61a4e58ae64fcd7cdb894abe19 /libtdegames/highscore | |
parent | 84ace1135cac57993b72fee7105b92def1638d32 (diff) | |
download | tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'libtdegames/highscore')
-rw-r--r-- | libtdegames/highscore/kexthighscore_internal.cpp | 2 | ||||
-rw-r--r-- | libtdegames/highscore/kscoredialog.cpp | 6 |
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() |