summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knetwalk/src/mainwindow.cpp')
-rw-r--r--knetwalk/src/mainwindow.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/knetwalk/src/mainwindow.cpp b/knetwalk/src/mainwindow.cpp
index 7abf5c77..43471aa8 100644
--- a/knetwalk/src/mainwindow.cpp
+++ b/knetwalk/src/mainwindow.cpp
@@ -64,11 +64,11 @@ MainWindow::MainWindow(TQWidget *parent, const char* name, WFlags /*fl*/) :
KNotifyClient::startDaemon();
- KStdGameAction::gameNew(this, TQT_SLOT(slotNewGame()), actionCollection());
+ KStdGameAction::gameNew(this, TQ_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(this, TQ_SLOT(showHighscores()), actionCollection());
+ KStdGameAction::quit(this, TQ_SLOT(close()), actionCollection());
+ KStdGameAction::configureHighscores(this, TQ_SLOT(configureHighscores()), actionCollection());
m_levels = KStdGameAction::chooseGameType(0, 0, actionCollection());
TQStringList lst;
@@ -83,7 +83,7 @@ MainWindow::MainWindow(TQWidget *parent, const char* name, WFlags /*fl*/) :
statusBar()->insertItem("abcdefghijklmnopqrst: 0 ",1);
setAutoSaveSettings();
createGUI();
- connect(m_levels, TQT_SIGNAL(activated(int)), this, TQT_SLOT(newGame(int)));
+ connect(m_levels, TQ_SIGNAL(activated(int)), this, TQ_SLOT(newGame(int)));
TQWhatsThis::add(this, i18n("<h3>Rules of the Game</h3>"
@@ -108,9 +108,9 @@ MainWindow::MainWindow(TQWidget *parent, const char* name, WFlags /*fl*/) :
{
board[i] = new Cell(grid, i);
board[i]->setFixedSize(cellsize, cellsize);
- connect(board[i], TQT_SIGNAL(lClicked(int)), TQT_SLOT(lClicked(int)));
- connect(board[i], TQT_SIGNAL(rClicked(int)), TQT_SLOT(rClicked(int)));
- connect(board[i], TQT_SIGNAL(mClicked(int)), TQT_SLOT(mClicked(int)));
+ connect(board[i], TQ_SIGNAL(lClicked(int)), TQ_SLOT(lClicked(int)));
+ connect(board[i], TQ_SIGNAL(rClicked(int)), TQ_SLOT(rClicked(int)));
+ connect(board[i], TQ_SIGNAL(mClicked(int)), TQ_SLOT(mClicked(int)));
}
srand(time(0));
@@ -360,7 +360,7 @@ void MainWindow::rotate(int index, bool toleft)
for(int i = 0; i < 14; i++)
{
kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput);
- TQTimer::singleShot(20, board[index], TQT_SLOT(update()));
+ TQTimer::singleShot(20, board[index], TQ_SLOT(update()));
kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::WaitForMore);
board[index]->rotate(toleft ? -6 : 6);
}
@@ -389,7 +389,7 @@ void MainWindow::blink(int index)
for(int i = 0; i < board[index]->width() * 2; i += 2)
{
kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput);
- TQTimer::singleShot(20, board[index], TQT_SLOT(update()));
+ TQTimer::singleShot(20, board[index], TQ_SLOT(update()));
kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput |
TQEventLoop::WaitForMore);
board[index]->setLight(i);