diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0ebf97b..d915094 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -22,9 +22,9 @@ MainWindow::MainWindow(TQWidget* parent, const char* name) mMenu = new TDEPopupMenu(this); - actionQuit = KStdAction::quit(this, SLOT(close()), 0); + actionQuit = KStdAction::quit(this, TQ_SLOT(close()), 0); actionNew = new TDEAction(i18n("&New Game"), "reload", - TQt::CTRL + TQt::Key_N, this, SLOT(newGame()), + TQt::CTRL + TQt::Key_N, this, TQ_SLOT(newGame()), this, i18n("New Game")); actionNew->plug(mMenu); @@ -34,11 +34,11 @@ MainWindow::MainWindow(TQWidget* parent, const char* name) mGame = new TDEPopupMenu(this); mGame->setCheckable(TRUE); idTip = mGame->insertItem(i18n("&Highlight tips"), - this, SLOT(toggleTips())); + this, TQ_SLOT(toggleTips())); idKnight = mGame->insertItem(i18n("&Show the knight"), - this, SLOT(toggleKnight())); + this, TQ_SLOT(toggleKnight())); idCell = mGame->insertItem(i18n("&Random starting cell"), - this, SLOT(randomCell())); + this, TQ_SLOT(randomCell())); menuBar()->insertItem(i18n("Settings"), mGame); @@ -163,11 +163,11 @@ MainWindow::newGame() vbox->addLayout(hbox); cancel = new TQPushButton(i18n("Cancel"), dlg); - connect(cancel, SIGNAL(clicked()), dlg, SLOT(reject())); + connect(cancel, TQ_SIGNAL(clicked()), dlg, TQ_SLOT(reject())); hbox->addWidget(cancel); ok = new TQPushButton(i18n("Apply"), dlg); - connect(ok, SIGNAL(clicked()), dlg, SLOT(accept())); + connect(ok, TQ_SIGNAL(clicked()), dlg, TQ_SLOT(accept())); hbox->addWidget(ok); if (dlg->exec()) {