summaryrefslogtreecommitdiffstats
path: root/kpoker/kpoker.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
commitc20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch)
tree50b08262da538c5b91f77e83e4b80d7fd6dbe0de /kpoker/kpoker.cpp
parent51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff)
downloadtdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz
tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpoker/kpoker.cpp')
-rw-r--r--kpoker/kpoker.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index 29da61d8..26330fce 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -255,7 +255,7 @@ void kpok::initWindow()
// The draw button
drawButton = new TQPushButton(this);
drawButton->setText(i18n("&Deal"));
- connect(drawButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(drawClick()));
+ connect(drawButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(drawClick()));
inputLayout->addWidget(drawButton);
inputLayout->addStretch(1);
@@ -291,20 +291,20 @@ void kpok::initWindow()
// Timers
blinkTimer = new TQTimer(this);
- connect( blinkTimer, TQT_SIGNAL(timeout()), TQT_SLOT(bTimerEvent()) );
+ connect( blinkTimer, TQ_SIGNAL(timeout()), TQ_SLOT(bTimerEvent()) );
waveTimer = new TQTimer(this);
- connect( waveTimer, TQT_SIGNAL(timeout()), TQT_SLOT(waveTimerEvent()) );
+ connect( waveTimer, TQ_SIGNAL(timeout()), TQ_SLOT(waveTimerEvent()) );
drawTimer = new TQTimer(this);
- connect (drawTimer, TQT_SIGNAL(timeout()), TQT_SLOT(drawCardsEvent()) );
+ connect (drawTimer, TQ_SIGNAL(timeout()), TQ_SLOT(drawCardsEvent()) );
// and now the betUp/Down Buttons
betBox = new BetBox(this, 0);
betLayout->addWidget(betBox);
- connect(betBox, TQT_SIGNAL(betChanged(int)), this, TQT_SLOT(betChange(int)));
- connect(betBox, TQT_SIGNAL(betAdjusted()), this, TQT_SLOT(adjustBet()));
- connect(betBox, TQT_SIGNAL(fold()), this, TQT_SLOT(out()));
+ connect(betBox, TQ_SIGNAL(betChanged(int)), this, TQ_SLOT(betChange(int)));
+ connect(betBox, TQ_SIGNAL(betAdjusted()), this, TQ_SLOT(adjustBet()));
+ connect(betBox, TQ_SIGNAL(fold()), this, TQ_SLOT(out()));
// some tips
TQToolTip::add(drawButton, i18n("Continue the round"));
@@ -644,7 +644,7 @@ void kpok::initPoker(unsigned int numPlayers)
//
// FIXME: Make CardWidget::toggleHeld() work.
playerBox[0]->activateToggleHeld();
- connect(playerBox[0], TQT_SIGNAL(toggleHeld()), this, TQT_SLOT(toggleHeld()));
+ connect(playerBox[0], TQ_SIGNAL(toggleHeld()), this, TQ_SLOT(toggleHeld()));
// hide some things
playerBox[0]->showHelds(false);