diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-19 10:10:52 +0900 |
commit | 6374e2e62eef25945347ce2c9ae9f88e61765d11 (patch) | |
tree | 707d84dbca20d20dee68626dda0d35568d7dcb34 /kpat/freecell.cpp | |
parent | c26a225408c4759743b754453b07d0dca97aa749 (diff) | |
download | tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.tar.gz tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610)
Diffstat (limited to 'kpat/freecell.cpp')
-rw-r--r-- | kpat/freecell.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpat/freecell.cpp b/kpat/freecell.cpp index 1e7b8b92..5f3ccca0 100644 --- a/kpat/freecell.cpp +++ b/kpat/freecell.cpp @@ -313,7 +313,7 @@ void FreecellBase::resumeSolution() } solver_ret = freecell_solver_user_resume_solution(solver_instance); - TQTimer::singleShot(0, this, TQT_SLOT(resumeSolution())); + TQTimer::singleShot(0, this, TQ_SLOT(resumeSolution())); } MoveHint *FreecellBase::translateMove(void *m) { @@ -602,7 +602,7 @@ void FreecellBase::moveCards(CardList &c, FreecellPile *from, Pile *to) from->moveCardsBack(c); waitfor = c.first(); - connect(waitfor, TQT_SIGNAL(stoped(Card*)), TQT_SLOT(waitForMoving(Card*))); + connect(waitfor, TQ_SIGNAL(stoped(Card*)), TQ_SLOT(waitForMoving(Card*))); PileList fcs; @@ -625,7 +625,7 @@ void FreecellBase::moveCards(CardList &c, FreecellPile *from, Pile *to) movePileToPile(c, to, fss, fcs, 0, c.count(), 0); if (!waitfor->animated()) - TQTimer::singleShot(0, this, TQT_SLOT(startMoving())); + TQTimer::singleShot(0, this, TQ_SLOT(startMoving())); } struct MoveAway { @@ -707,7 +707,7 @@ void FreecellBase::startMoving() mh->pile()->moveCardsBack(empty, true); waitfor = mh->card(); kdDebug(11111) << "wait for moving end " << mh->card()->name() << endl; - connect(mh->card(), TQT_SIGNAL(stoped(Card*)), TQT_SLOT(waitForMoving(Card*))); + connect(mh->card(), TQ_SIGNAL(stoped(Card*)), TQ_SLOT(waitForMoving(Card*))); delete mh; } |