summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/tutorials/p1/p1.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/tutorials/p1/p1.rb')
-rw-r--r--korundum/rubylib/tutorials/p1/p1.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/korundum/rubylib/tutorials/p1/p1.rb b/korundum/rubylib/tutorials/p1/p1.rb
index 87e5e1b9..120f4135 100644
--- a/korundum/rubylib/tutorials/p1/p1.rb
+++ b/korundum/rubylib/tutorials/p1/p1.rb
@@ -1,11 +1,11 @@
-require 'Qt'
+retquire 'Qt'
- a = Qt::Application.new( ARGV )
+ a = TQt::Application.new( ARGV )
- hello = Qt::PushButton.new( "Hello world!", nil )
+ hello = TQt::PushButton.new( "Hello world!", nil )
hello.resize( 100, 30 )
- Qt::Object::connect( hello, SIGNAL('clicked()'), a, SLOT('quit()') )
+ TQt::Object::connect( hello, SIGNAL('clicked()'), a, SLOT('quit()') )
a.setMainWidget( hello )
hello.show()