From 947bc2dba5274c3a87dd0f3dc29972b5a7fde80f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 10 Jan 2024 10:12:24 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 301b5380792b7a368488aa485d3bdb3df81e0808) --- PerlTQt/tutorials/t7/LCDRange.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'PerlTQt/tutorials/t7/LCDRange.pm') diff --git a/PerlTQt/tutorials/t7/LCDRange.pm b/PerlTQt/tutorials/t7/LCDRange.pm index 9bc48cb..33883e6 100644 --- a/PerlTQt/tutorials/t7/LCDRange.pm +++ b/PerlTQt/tutorials/t7/LCDRange.pm @@ -15,8 +15,8 @@ sub NEW { slider = $slider; slider->setRange(0, 99); slider->setValue(0); - $lcd->connect(slider, TQT_SIGNAL('valueChanged(int)'), TQT_SLOT('display(int)')); - this->connect(slider, TQT_SIGNAL('valueChanged(int)'), TQT_SIGNAL('valueChanged(int)')); + $lcd->connect(slider, TQ_SIGNAL('valueChanged(int)'), TQ_SLOT('display(int)')); + this->connect(slider, TQ_SIGNAL('valueChanged(int)'), TQ_SIGNAL('valueChanged(int)')); } sub value { slider->value } -- cgit v1.2.3