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-10 10:12:24 +0900 |
commit | 301b5380792b7a368488aa485d3bdb3df81e0808 (patch) | |
tree | 02f29183ad7d160b896f76ba08c916e3c97f6226 /PerlTQt/examples/drawdemo/drawdemo.pl | |
parent | 6c02673b584fd4fbd4761057a5b466bca26036bd (diff) | |
download | libtqt-perl-301b5380792b7a368488aa485d3bdb3df81e0808.tar.gz libtqt-perl-301b5380792b7a368488aa485d3bdb3df81e0808.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'PerlTQt/examples/drawdemo/drawdemo.pl')
-rw-r--r-- | PerlTQt/examples/drawdemo/drawdemo.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PerlTQt/examples/drawdemo/drawdemo.pl b/PerlTQt/examples/drawdemo/drawdemo.pl index f119a94..cc4112b 100644 --- a/PerlTQt/examples/drawdemo/drawdemo.pl +++ b/PerlTQt/examples/drawdemo/drawdemo.pl @@ -111,7 +111,7 @@ sub NEW { # Create a button group to contain all buttons bgroup = TQt::ButtonGroup(this); bgroup->resize(200, 200); - this->connect(bgroup, TQT_SIGNAL('clicked(int)'), TQT_SLOT('updateIt(int)')); + this->connect(bgroup, TQ_SIGNAL('clicked(int)'), TQ_SLOT('updateIt(int)')); # Calculate the size for the radio buttons my $maxwidth = 80; @@ -150,7 +150,7 @@ sub NEW { _print = TQt::PushButton("Print...", bgroup); _print->resize(80, 30); _print->move($maxwidth/2 - _print->width/2, maxindex*30+20); - this->connect(_print, TQT_SIGNAL('clicked()'), TQT_SLOT('printIt()')); + this->connect(_print, TQ_SIGNAL('clicked()'), TQ_SLOT('printIt()')); bgroup->resize($maxwidth, _print->y+_print->height+10); |