diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:43 -0600 |
commit | 2d7b541a4e0095d40e37aaefbf9c4a9b9d149302 (patch) | |
tree | 628c1676b27475e583cfd0c2105bb41b646654bf /blinken/src/highscoredialog.cpp | |
parent | 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (diff) | |
download | tdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.tar.gz tdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.
Diffstat (limited to 'blinken/src/highscoredialog.cpp')
-rw-r--r-- | blinken/src/highscoredialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/blinken/src/highscoredialog.cpp b/blinken/src/highscoredialog.cpp index 46588f5f..4fb63e93 100644 --- a/blinken/src/highscoredialog.cpp +++ b/blinken/src/highscoredialog.cpp @@ -119,7 +119,7 @@ class myTabWidget : public TQTabWidget TQSize tabBarSizeHint() const { - return tabBar() -> sizeHint(); + return tabBar() -> tqsizeHint(); } }; @@ -133,10 +133,10 @@ highScoreDialog::highScoreDialog(TQWidget *parent) : KDialogBase(parent, 0, true KConfig *cfg = kapp -> config(); for (int i = 1; i <= 3; i++) { - cfg -> setGroup(TQString("Level%1").arg(i)); + cfg -> setGroup(TQString("Level%1").tqarg(i)); for (int j = 1; j <= 5; j++) { - m_scores[i-1].append(tqMakePair(cfg->readNumEntry(TQString("Score%1").arg(j)), cfg->readEntry(TQString("Name%1").arg(j)))); + m_scores[i-1].append(tqMakePair(cfg->readNumEntry(TQString("Score%1").tqarg(j)), cfg->readEntry(TQString("Name%1").tqarg(j)))); } } @@ -170,12 +170,12 @@ void highScoreDialog::addScore(int level, int score, const TQString &name) m_scores[level].remove(--m_scores[level].end()); KConfig *cfg = kapp -> config(); - cfg -> setGroup(TQString("Level%1").arg(level + 1)); + cfg -> setGroup(TQString("Level%1").tqarg(level + 1)); int j; for (it = m_scores[level].begin(), j = 1; it != m_scores[level].end(); ++it, j++) { - cfg->writeEntry(TQString("Score%1").arg(j), (*it).first); - cfg->writeEntry(TQString("Name%1").arg(j), (*it).second); + cfg->writeEntry(TQString("Score%1").tqarg(j), (*it).first); + cfg->writeEntry(TQString("Name%1").tqarg(j), (*it).second); } cfg -> sync(); } |