diff options
Diffstat (limited to 'kanagram/src/kanagram.cpp')
-rw-r--r-- | kanagram/src/kanagram.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kanagram/src/kanagram.cpp b/kanagram/src/kanagram.cpp index bf0f0c1f..d6ba31af 100644 --- a/kanagram/src/kanagram.cpp +++ b/kanagram/src/kanagram.cpp @@ -119,9 +119,9 @@ Kanagram::Kanagram() : TQWidget(0, 0, WStaticContents | WNoAutoErase), m_overNex m_inputBox->setGeometry(TQRect(52, 427, 273, 29)); m_inputBox->setFrame(false); - connect(m_inputBox, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(checkWord())); - connect(m_hintTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(hideHint())); - connect(m_inputBox, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(update())); + connect(m_inputBox, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(checkWord())); + connect(m_hintTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(hideHint())); + connect(m_inputBox, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(update())); TQFont f = TQFont(); f.setPointSize(17); @@ -465,7 +465,7 @@ void Kanagram::mousePressEvent(TQMouseEvent *e) { if(m_useSounds) play("right.ogg"); m_inputBox->setPaletteBackgroundColor(TQColor(0, 255, 0)); - TQTimer::singleShot(1000, this, TQT_SLOT(resetInputBox())); + TQTimer::singleShot(1000, this, TQ_SLOT(resetInputBox())); m_inputBox->clear(); hideHint(); m_game->nextAnagram(); @@ -475,7 +475,7 @@ void Kanagram::mousePressEvent(TQMouseEvent *e) { if(m_useSounds) play("wrong.ogg"); m_inputBox->setPaletteBackgroundColor(TQColor(255, 0, 0)); - TQTimer::singleShot(1000, this, TQT_SLOT(resetInputBox())); + TQTimer::singleShot(1000, this, TQ_SLOT(resetInputBox())); m_inputBox->clear(); update(); } @@ -744,8 +744,8 @@ void Kanagram::showSettings() m_vocabSettings = new VocabSettings( configDialog ); configDialog->addPage( m_vocabSettings, i18n("Vocabularies"), "edit" ); configDialog->addPage( new NewStuff( configDialog ), i18n("New Stuff"), "knewstuff" ); - connect(configDialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings())); - connect(configDialog, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(refreshVocabularies())); + connect(configDialog, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(loadSettings())); + connect(configDialog, TQ_SIGNAL(applyClicked()), this, TQ_SLOT(refreshVocabularies())); configDialog->exec(); delete configDialog; } |