summaryrefslogtreecommitdiffstats
path: root/PerlTQt/tutorials/t2/t2.pl
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-10 10:12:24 +0900
committerMichele Calgaro <[email protected]>2024-01-11 09:56:53 +0900
commit947bc2dba5274c3a87dd0f3dc29972b5a7fde80f (patch)
tree8dece4fa4ebb9fa43f8660095f8084ea580ee2eb /PerlTQt/tutorials/t2/t2.pl
parentbb06ec358695c7621148fd6cf0c2af94fd29f799 (diff)
downloadlibtqt-perl-947bc2dba5274c3a87dd0f3dc29972b5a7fde80f.tar.gz
libtqt-perl-947bc2dba5274c3a87dd0f3dc29972b5a7fde80f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 301b5380792b7a368488aa485d3bdb3df81e0808)
Diffstat (limited to 'PerlTQt/tutorials/t2/t2.pl')
-rw-r--r--PerlTQt/tutorials/t2/t2.pl2
1 files changed, 1 insertions, 1 deletions
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;