From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- examples/demo/qasteroids/toplevel.cpp | 8 ++++---- examples/demo/qasteroids/view.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/demo/qasteroids') diff --git a/examples/demo/qasteroids/toplevel.cpp b/examples/demo/qasteroids/toplevel.cpp index 973bc6c7c..c2a22ea14 100644 --- a/examples/demo/qasteroids/toplevel.cpp +++ b/examples/demo/qasteroids/toplevel.cpp @@ -80,10 +80,10 @@ KAstTopLevel::KAstTopLevel( TQWidget *parent, const char *name ) view = new KAsteroidsView( mainWin ); view->setFocusPolicy( StrongFocus ); - connect( view, SIGNAL( shipKilled() ), SLOT( slotShipKilled() ) ); - connect( view, SIGNAL( rockHit(int) ), SLOT( slotRockHit(int) ) ); - connect( view, SIGNAL( rocksRemoved() ), SLOT( slotRocksRemoved() ) ); - connect( view, SIGNAL( updateVitals() ), SLOT( slotUpdateVitals() ) ); + connect( view, TQ_SIGNAL( shipKilled() ), TQ_SLOT( slotShipKilled() ) ); + connect( view, TQ_SIGNAL( rockHit(int) ), TQ_SLOT( slotRockHit(int) ) ); + connect( view, TQ_SIGNAL( rocksRemoved() ), TQ_SLOT( slotRocksRemoved() ) ); + connect( view, TQ_SIGNAL( updateVitals() ), TQ_SLOT( slotUpdateVitals() ) ); TQVBoxLayout *vb = new TQVBoxLayout( mainWin ); TQHBoxLayout *hb = new TQHBoxLayout; diff --git a/examples/demo/qasteroids/view.cpp b/examples/demo/qasteroids/view.cpp index 7aa86c4e7..9e673a386 100644 --- a/examples/demo/qasteroids/view.cpp +++ b/examples/demo/qasteroids/view.cpp @@ -93,7 +93,7 @@ KAsteroidsView::KAsteroidsView( TQWidget *parent, const char *name ) initialized = readSprites(); shieldTimer = new TQTimer( this ); - connect( shieldTimer, SIGNAL(timeout()), this, SLOT(hideShield()) ); + connect( shieldTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(hideShield()) ); mTimerId = -1; shipPower = MAX_POWER_LEVEL; -- cgit v1.2.1