From 301b5380792b7a368488aa485d3bdb3df81e0808 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 --- PerlTQt/tutorials/t2/t2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PerlTQt/tutorials/t2') diff --git a/PerlTQt/tutorials/t2/t2.pl b/PerlTQt/tutorials/t2/t2.pl index c7b76e4..d75ce38 100644 --- a/PerlTQt/tutorials/t2/t2.pl +++ b/PerlTQt/tutorials/t2/t2.pl @@ -9,7 +9,7 @@ my $quit = TQt::PushButton("Quit", undef); $quit->resize(75, 30); $quit->setFont(TQt::Font("Times", 18, &TQt::Font::Bold)); -$a->connect($quit, TQT_SIGNAL('clicked()'), TQT_SLOT('quit()')); +$a->connect($quit, TQ_SIGNAL('clicked()'), TQ_SLOT('quit()')); $a->setMainWidget($quit); $quit->show; -- cgit v1.2.1