summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /knetwalk/src/mainwindow.cpp
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'knetwalk/src/mainwindow.cpp')
-rw-r--r--knetwalk/src/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knetwalk/src/mainwindow.cpp b/knetwalk/src/mainwindow.cpp
index f9d7f663..dbce60a4 100644
--- a/knetwalk/src/mainwindow.cpp
+++ b/knetwalk/src/mainwindow.cpp
@@ -17,7 +17,7 @@
#include <tqeventloop.h>
#include <tqgrid.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlineedit.h>
#include <tqprocess.h>
#include <tqpushbutton.h>
@@ -78,7 +78,7 @@ MainWindow::MainWindow(TQWidget *parent, const char* name, WFlags /*fl*/) :
lst += i18n("Master");
m_levels->setItems(lst);
- setFixedSize(minimumSizeHint());
+ setFixedSize(tqminimumSizeHint());
statusBar()->insertItem("abcdefghijklmnopqrst: 0 ",1);
setAutoSaveSettings();
@@ -149,7 +149,7 @@ void MainWindow::newGame(int sk)
m_clickcount = 0;
TQString clicks = i18n("Click: %1");
- statusBar()->changeItem(clicks.arg(TQString::number(m_clickcount)),1);
+ statusBar()->changeItem(clicks.tqarg(TQString::number(m_clickcount)),1);
KNotifyClient::event(winId(), "startsound", i18n("New Game"));
for(int i = 0; i < MasterBoardSize * MasterBoardSize; i++)
@@ -370,7 +370,7 @@ void MainWindow::rotate(int index, bool toleft)
m_clickcount++;
TQString clicks = i18n("Click: %1");
- statusBar()->changeItem(clicks.arg(TQString::number(m_clickcount)),1);
+ statusBar()->changeItem(clicks.tqarg(TQString::number(m_clickcount)),1);
if (isGameOver())
{