diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 21:58:19 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 21:58:19 -0600 |
commit | 26abe38d0748c549f2458da57507614fad599d83 (patch) | |
tree | 02bc387417c25ba4cc5744f8addf7e3dacf24292 /qtruby/rubylib/tutorial/t14 | |
parent | e1a0e352b6ead69ed6f55476272ace842fbbdf74 (diff) | |
download | tdebindings-26abe38d0748c549f2458da57507614fad599d83.tar.gz tdebindings-26abe38d0748c549f2458da57507614fad599d83.zip |
Fix retquire
Diffstat (limited to 'qtruby/rubylib/tutorial/t14')
-rw-r--r-- | qtruby/rubylib/tutorial/t14/cannon.rb | 2 | ||||
-rw-r--r-- | qtruby/rubylib/tutorial/t14/gamebrd.rb | 4 | ||||
-rw-r--r-- | qtruby/rubylib/tutorial/t14/lcdrange.rb | 2 | ||||
-rwxr-xr-x | qtruby/rubylib/tutorial/t14/t14.rb | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/qtruby/rubylib/tutorial/t14/cannon.rb b/qtruby/rubylib/tutorial/t14/cannon.rb index 3c1d7663..c2147714 100644 --- a/qtruby/rubylib/tutorial/t14/cannon.rb +++ b/qtruby/rubylib/tutorial/t14/cannon.rb @@ -1,4 +1,4 @@ -retquire 'Qt' +require 'Qt' include Math class CannonField < TQt::Widget diff --git a/qtruby/rubylib/tutorial/t14/gamebrd.rb b/qtruby/rubylib/tutorial/t14/gamebrd.rb index 4ae474c2..27c403b0 100644 --- a/qtruby/rubylib/tutorial/t14/gamebrd.rb +++ b/qtruby/rubylib/tutorial/t14/gamebrd.rb @@ -1,5 +1,5 @@ -retquire 'lcdrange.rb' -retquire 'cannon.rb' +require 'lcdrange.rb' +require 'cannon.rb' class GameBoard < TQt::Widget diff --git a/qtruby/rubylib/tutorial/t14/lcdrange.rb b/qtruby/rubylib/tutorial/t14/lcdrange.rb index 872e3723..e7955aaf 100644 --- a/qtruby/rubylib/tutorial/t14/lcdrange.rb +++ b/qtruby/rubylib/tutorial/t14/lcdrange.rb @@ -1,4 +1,4 @@ -retquire 'Qt' +require 'Qt' class LCDRange < TQt::Widget signals 'valueChanged(int)' diff --git a/qtruby/rubylib/tutorial/t14/t14.rb b/qtruby/rubylib/tutorial/t14/t14.rb index 8e63bcd6..3ce6f8a6 100755 --- a/qtruby/rubylib/tutorial/t14/t14.rb +++ b/qtruby/rubylib/tutorial/t14/t14.rb @@ -1,8 +1,8 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -retquire 'Qt' -retquire 'gamebrd.rb' +require 'Qt' +require 'gamebrd.rb' TQt::Application.setColorSpec( TQt::Application::CustomColor ) a = TQt::Application.new(ARGV) |