summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/tutorial/t1
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/tutorial/t1')
-rwxr-xr-xqtruby/rubylib/tutorial/t1/t1.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/tutorial/t1/t1.rb b/qtruby/rubylib/tutorial/t1/t1.rb
index 19d8a029..1f2da715 100755
--- a/qtruby/rubylib/tutorial/t1/t1.rb
+++ b/qtruby/rubylib/tutorial/t1/t1.rb
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-require 'Qt'
+retquire 'Qt'
-a = Qt::Application.new(ARGV)
-hello = Qt::PushButton.new('Hello World!', nil)
+a = TQt::Application.new(ARGV)
+hello = TQt::PushButton.new('Hello World!', nil)
hello.resize(100, 30)
a.setMainWidget(hello)
hello.show()