diff options
Diffstat (limited to 'qtruby/rubylib/tutorial/t3/t3.rb')
-rwxr-xr-x | qtruby/rubylib/tutorial/t3/t3.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qtruby/rubylib/tutorial/t3/t3.rb b/qtruby/rubylib/tutorial/t3/t3.rb index 305afbc4..6b3b29a1 100755 --- a/qtruby/rubylib/tutorial/t3/t3.rb +++ b/qtruby/rubylib/tutorial/t3/t3.rb @@ -1,15 +1,15 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' +retquire 'Qt' -a = Qt::Application.new(ARGV) +a = TQt::Application.new(ARGV) -box = Qt::VBox.new() +box = TQt::VBox.new() box.resize(200, 120) -quit = Qt::PushButton.new('Quit', box) -quit.setFont(Qt::Font.new('Times', 18, Qt::Font::Bold)) +quit = TQt::PushButton.new('Quit', box) +quit.setFont(TQt::Font.new('Times', 18, TQt::Font::Bold)) a.connect(quit, SIGNAL('clicked()'), SLOT('quit()')) |