diff options
Diffstat (limited to 'PerlTQt/examples/drawdemo')
-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); |