diff options
Diffstat (limited to 'knetwalk/src/mainwindow.cpp')
-rw-r--r-- | knetwalk/src/mainwindow.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/knetwalk/src/mainwindow.cpp b/knetwalk/src/mainwindow.cpp index 17fa9b82..21de29c0 100644 --- a/knetwalk/src/mainwindow.cpp +++ b/knetwalk/src/mainwindow.cpp @@ -52,8 +52,8 @@ static TQMap<Cell::Dirs, Cell::Dirs> contrdirs; -MainWindow::MainWindow(TQWidget *parent, const char* name, WFlags /*fl*/) : - KMainWindow(parent, name, WStyle_NoBorder) +MainWindow::MainWindow(TQWidget *tqparent, const char* name, WFlags /*fl*/) : + KMainWindow(tqparent, name, WStyle_NoBorder) { m_clickcount = 0; @@ -64,11 +64,11 @@ MainWindow::MainWindow(TQWidget *parent, const char* name, WFlags /*fl*/) : KNotifyClient::startDaemon(); - KStdGameAction::gameNew(this, TQT_SLOT(slotNewGame()), actionCollection()); + KStdGameAction::gameNew(TQT_TQOBJECT(this), TQT_SLOT(slotNewGame()), actionCollection()); - KStdGameAction::highscores(this, TQT_SLOT(showHighscores()), actionCollection()); - KStdGameAction::quit(this, TQT_SLOT(close()), actionCollection()); - KStdGameAction::configureHighscores(this, TQT_SLOT(configureHighscores()), actionCollection()); + KStdGameAction::highscores(TQT_TQOBJECT(this), TQT_SLOT(showHighscores()), actionCollection()); + KStdGameAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); + KStdGameAction::configureHighscores(TQT_TQOBJECT(this), TQT_SLOT(configureHighscores()), actionCollection()); m_levels = KStdGameAction::chooseGameType(0, 0, actionCollection()); TQStringList lst; @@ -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()) { |