diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 09:56:53 +0900 |
commit | 947bc2dba5274c3a87dd0f3dc29972b5a7fde80f (patch) | |
tree | 8dece4fa4ebb9fa43f8660095f8084ea580ee2eb /PerlTQt/tutorials/t7/t7.pl | |
parent | bb06ec358695c7621148fd6cf0c2af94fd29f799 (diff) | |
download | libtqt-perl-947bc2dba5274c3a87dd0f3dc29972b5a7fde80f.tar.gz libtqt-perl-947bc2dba5274c3a87dd0f3dc29972b5a7fde80f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 301b5380792b7a368488aa485d3bdb3df81e0808)
Diffstat (limited to 'PerlTQt/tutorials/t7/t7.pl')
-rw-r--r-- | PerlTQt/tutorials/t7/t7.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PerlTQt/tutorials/t7/t7.pl b/PerlTQt/tutorials/t7/t7.pl index 0d0d0d2..99c6ff2 100644 --- a/PerlTQt/tutorials/t7/t7.pl +++ b/PerlTQt/tutorials/t7/t7.pl @@ -14,7 +14,7 @@ sub NEW { my $quit = TQt::PushButton("Quit", this, "quit"); $quit->setFont(TQt::Font("Times", 18, &TQt::Font::Bold)); - TQt::app->connect($quit, TQT_SIGNAL('clicked()'), TQT_SLOT('quit()')); + TQt::app->connect($quit, TQ_SIGNAL('clicked()'), TQ_SLOT('quit()')); my $grid = TQt::Grid(4, this); @@ -23,8 +23,8 @@ sub NEW { for my $c (0..3) { my $lr = LCDRange($grid); $previous->connect( - $lr, TQT_SIGNAL('valueChanged(int)'), - TQT_SLOT('setValue(int)')) if $previous; + $lr, TQ_SIGNAL('valueChanged(int)'), + TQ_SLOT('setValue(int)')) if $previous; $previous = $lr; } } |