summaryrefslogtreecommitdiffstats
path: root/PerlQt/tutorials/t2/t2.pl
diff options
context:
space:
mode:
Diffstat (limited to 'PerlQt/tutorials/t2/t2.pl')
-rw-r--r--PerlQt/tutorials/t2/t2.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/PerlQt/tutorials/t2/t2.pl b/PerlQt/tutorials/t2/t2.pl
index 970ccb4..c7b76e4 100644
--- a/PerlQt/tutorials/t2/t2.pl
+++ b/PerlQt/tutorials/t2/t2.pl
@@ -1,15 +1,15 @@
#!/usr/bin/perl -w
use strict;
use blib;
-use Qt;
+use TQt;
-my $a = Qt::Application(\@ARGV);
+my $a = TQt::Application(\@ARGV);
-my $quit = Qt::PushButton("Quit", undef);
+my $quit = TQt::PushButton("Quit", undef);
$quit->resize(75, 30);
-$quit->setFont(Qt::Font("Times", 18, &Qt::Font::Bold));
+$quit->setFont(TQt::Font("Times", 18, &TQt::Font::Bold));
-$a->connect($quit, SIGNAL('clicked()'), SLOT('quit()'));
+$a->connect($quit, TQT_SIGNAL('clicked()'), TQT_SLOT('quit()'));
$a->setMainWidget($quit);
$quit->show;