diff options
Diffstat (limited to 'qtruby/rubylib/tutorial/t8')
-rw-r--r-- | qtruby/rubylib/tutorial/t8/cannon.rb | 2 | ||||
-rw-r--r-- | qtruby/rubylib/tutorial/t8/lcdrange.rb | 2 | ||||
-rwxr-xr-x | qtruby/rubylib/tutorial/t8/t8.rb | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/qtruby/rubylib/tutorial/t8/cannon.rb b/qtruby/rubylib/tutorial/t8/cannon.rb index 7eb8fbff..a240a7ff 100644 --- a/qtruby/rubylib/tutorial/t8/cannon.rb +++ b/qtruby/rubylib/tutorial/t8/cannon.rb @@ -1,4 +1,4 @@ -retquire 'Qt' +require 'Qt' class CannonField < TQt::Widget signals 'angleChanged(int)' diff --git a/qtruby/rubylib/tutorial/t8/lcdrange.rb b/qtruby/rubylib/tutorial/t8/lcdrange.rb index 6d9fdb9f..a03e9c31 100644 --- a/qtruby/rubylib/tutorial/t8/lcdrange.rb +++ b/qtruby/rubylib/tutorial/t8/lcdrange.rb @@ -1,4 +1,4 @@ -retquire 'Qt' +require 'Qt' class LCDRange < TQt::VBox signals 'valueChanged(int)' diff --git a/qtruby/rubylib/tutorial/t8/t8.rb b/qtruby/rubylib/tutorial/t8/t8.rb index 05c972db..fad11dd0 100755 --- a/qtruby/rubylib/tutorial/t8/t8.rb +++ b/qtruby/rubylib/tutorial/t8/t8.rb @@ -1,9 +1,9 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -retquire 'Qt' -retquire 'lcdrange.rb' -retquire 'cannon.rb' +require 'Qt' +require 'lcdrange.rb' +require 'cannon.rb' class MyWidget < TQt::Widget def initialize() |