diff options
Diffstat (limited to 'khangman/khangman/khangmanview.cpp')
-rw-r--r-- | khangman/khangman/khangmanview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/khangman/khangman/khangmanview.cpp b/khangman/khangman/khangmanview.cpp index 69831919..dc8864c8 100644 --- a/khangman/khangman/khangmanview.cpp +++ b/khangman/khangman/khangmanview.cpp @@ -77,10 +77,10 @@ KHangManView::KHangManView(KHangMan*parent, const char *name) m_accentedLetters = true; m_hintExists = true; // Assume hint exists - connect( m_letterInput, TQT_SIGNAL( returnPressed() ), - this, TQT_SLOT( slotTry() ) ); - connect( m_guessButton, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotTry() )); + connect( m_letterInput, TQ_SIGNAL( returnPressed() ), + this, TQ_SLOT( slotTry() ) ); + connect( m_guessButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotTry() )); } @@ -429,7 +429,7 @@ void KHangManView::slotTry() y = abspos.y() + height()*20/535; point = TQPoint(x, y); popup->show(mapToGlobal(point)); - TQTimer::singleShot( 4*1000, this, TQT_SLOT(slotNewGame()) ); + TQTimer::singleShot( 4*1000, this, TQ_SLOT(slotNewGame()) ); } else if (KMessageBox::questionYesNo(this, i18n("Congratulations! You won! Do you want to play again?"),TQString(),i18n("Play Again"), i18n("Do Not Play")) == 3) slotNewGame(); @@ -475,7 +475,7 @@ void KHangManView::slotTry() int y = abspos.y() + height() * 20 / 535; popup->show(mapToGlobal(TQPoint(x, y))); - TQTimer::singleShot( 4 * 1000, this, TQT_SLOT(slotNewGame()) ); + TQTimer::singleShot( 4 * 1000, this, TQ_SLOT(slotNewGame()) ); } else if (KMessageBox::questionYesNo(this, newGameString, TQString(), i18n("Play Again"), i18n("Do Not Play")) == 3) slotNewGame(); @@ -507,7 +507,7 @@ void KHangManView::slotTry() // Create a 1 second single-shot timer, and reenable user // input after this time. TQTimer::singleShot( Prefs::missedTimer() * 1000, - this, TQT_SLOT(enableUserInput()) ); + this, TQ_SLOT(enableUserInput()) ); // Disable any possible entry m_letterInput->setEnabled(false); @@ -528,7 +528,7 @@ void KHangManView::slotTry() point = TQPoint(x, y); TQTimer::singleShot( Prefs::missedTimer() * 1000, - this, TQT_SLOT(enableUserInput()) ); + this, TQ_SLOT(enableUserInput()) ); // Disable any possible entry m_letterInput->setEnabled(false); |