summaryrefslogtreecommitdiffstats
path: root/PerlQt/t/c_qapp.t
diff options
context:
space:
mode:
Diffstat (limited to 'PerlQt/t/c_qapp.t')
-rw-r--r--PerlQt/t/c_qapp.t12
1 files changed, 6 insertions, 6 deletions
diff --git a/PerlQt/t/c_qapp.t b/PerlQt/t/c_qapp.t
index ee28266..01d6b39 100644
--- a/PerlQt/t/c_qapp.t
+++ b/PerlQt/t/c_qapp.t
@@ -1,23 +1,23 @@
BEGIN { print "1..3\n" }
-use Qt;
+use TQt;
$a=0;
-# testing if the Qt::Application ctor works
+# testing if the TQt::Application ctor works
-eval { $a=Qt::Application(\@ARGV) };
+eval { $a=TQt::Application(\@ARGV) };
print +$@ ? "not ok\n" : "ok 1\n";
# testing wether the global object is properly setup
-eval { Qt::app()->libraryPaths() };
+eval { TQt::app()->libraryPaths() };
print +$@ ? "not ok\n" : "ok 2\n";
# one second test of the event loop
-Qt::Timer::singleShot( 300, Qt::app(), SLOT "quit()" );
+TQt::Timer::singleShot( 300, TQt::app(), TQT_SLOT "quit()" );
-print Qt::app()->exec ? "not ok\n" : "ok 3\n";
+print TQt::app()->exec ? "not ok\n" : "ok 3\n";