summaryrefslogtreecommitdiffstats
path: root/PerlTQt/examples/drawdemo/drawdemo.pl
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-11 09:56:53 +0900
commit947bc2dba5274c3a87dd0f3dc29972b5a7fde80f (patch)
tree8dece4fa4ebb9fa43f8660095f8084ea580ee2eb /PerlTQt/examples/drawdemo/drawdemo.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 <michele.calgaro@yahoo.it> (cherry picked from commit 301b5380792b7a368488aa485d3bdb3df81e0808)
Diffstat (limited to 'PerlTQt/examples/drawdemo/drawdemo.pl')
-rw-r--r--PerlTQt/examples/drawdemo/drawdemo.pl4
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);