summaryrefslogtreecommitdiffstats
path: root/kanagram/src/kanagram.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:49:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 11:12:48 +0900
commit845281400a4c6124e2cf8ab28174e9c3f0bc2895 (patch)
treefe2d221d237349ce9e1709802676323f747a4c66 /kanagram/src/kanagram.cpp
parentb06213ed1ee55fef2ebc1de1d9759d8c9df5f4bd (diff)
downloadtdeedu-845281400a4c6124e2cf8ab28174e9c3f0bc2895.tar.gz
tdeedu-845281400a4c6124e2cf8ab28174e9c3f0bc2895.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 69e4de2f4cee257151ca13b207dc677b2d958fed)
Diffstat (limited to 'kanagram/src/kanagram.cpp')
-rw-r--r--kanagram/src/kanagram.cpp14
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;
}