diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
commit | c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch) | |
tree | 50b08262da538c5b91f77e83e4b80d7fd6dbe0de /kenolaba/Spy.cpp | |
parent | 51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff) | |
download | tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kenolaba/Spy.cpp')
-rw-r--r-- | kenolaba/Spy.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kenolaba/Spy.cpp b/kenolaba/Spy.cpp index 37b5406c..8f9680d2 100644 --- a/kenolaba/Spy.cpp +++ b/kenolaba/Spy.cpp @@ -43,7 +43,7 @@ Spy::Spy(Board& b) b2->addWidget( actBoard[i] ); b2->addWidget( actLabel[i] ); - connect( actBoard[i], TQT_SIGNAL(mousePressed()), this, TQT_SLOT(nextStep()) ); + connect( actBoard[i], TQ_SIGNAL(mousePressed()), this, TQ_SLOT(nextStep()) ); } l = new TQLabel(this); @@ -68,13 +68,13 @@ Spy::Spy(Board& b) b2->addWidget( bestBoard[i] ); b2->addWidget( bestLabel[i] ); - connect( bestBoard[i], TQT_SIGNAL(mousePressed()), this, TQT_SLOT(nextStep()) ); + connect( bestBoard[i], TQ_SIGNAL(mousePressed()), this, TQ_SLOT(nextStep()) ); } - connect( &board, TQT_SIGNAL(update(int,int,Move&,bool)), - this, TQT_SLOT(update(int,int,Move&,bool)) ); - connect( &board, TQT_SIGNAL(updateBest(int,int,Move&,bool)), - this, TQT_SLOT(updateBest(int,int,Move&,bool)) ); + connect( &board, TQ_SIGNAL(update(int,int,Move&,bool)), + this, TQ_SLOT(update(int,int,Move&,bool)) ); + connect( &board, TQ_SIGNAL(updateBest(int,int,Move&,bool)), + this, TQ_SLOT(updateBest(int,int,Move&,bool)) ); top->activate(); setCaption(i18n("Spy")); // KWM::setDecoration(winId(), 2); |