From 26abe38d0748c549f2458da57507614fad599d83 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 21:58:19 -0600 Subject: Fix retquire --- qtruby/rubylib/tutorial/t13/cannon.rb | 2 +- qtruby/rubylib/tutorial/t13/gamebrd.rb | 6 +++--- qtruby/rubylib/tutorial/t13/lcdrange.rb | 2 +- qtruby/rubylib/tutorial/t13/t13.rb | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'qtruby/rubylib/tutorial/t13') diff --git a/qtruby/rubylib/tutorial/t13/cannon.rb b/qtruby/rubylib/tutorial/t13/cannon.rb index 556347bc..315760f0 100644 --- a/qtruby/rubylib/tutorial/t13/cannon.rb +++ b/qtruby/rubylib/tutorial/t13/cannon.rb @@ -1,4 +1,4 @@ -retquire 'Qt' +require 'Qt' include Math class CannonField < TQt::Widget diff --git a/qtruby/rubylib/tutorial/t13/gamebrd.rb b/qtruby/rubylib/tutorial/t13/gamebrd.rb index 46cc10c5..938dfd49 100644 --- a/qtruby/rubylib/tutorial/t13/gamebrd.rb +++ b/qtruby/rubylib/tutorial/t13/gamebrd.rb @@ -1,6 +1,6 @@ -retquire 'Qt' -retquire 'lcdrange.rb' -retquire 'cannon.rb' +require 'Qt' +require 'lcdrange.rb' +require 'cannon.rb' class GameBoard < TQt::Widget diff --git a/qtruby/rubylib/tutorial/t13/lcdrange.rb b/qtruby/rubylib/tutorial/t13/lcdrange.rb index a91cc384..223efe7f 100644 --- a/qtruby/rubylib/tutorial/t13/lcdrange.rb +++ b/qtruby/rubylib/tutorial/t13/lcdrange.rb @@ -1,4 +1,4 @@ -retquire 'Qt' +require 'Qt' class LCDRange < TQt::Widget signals 'valueChanged(int)' diff --git a/qtruby/rubylib/tutorial/t13/t13.rb b/qtruby/rubylib/tutorial/t13/t13.rb index 8e63bcd6..3ce6f8a6 100755 --- a/qtruby/rubylib/tutorial/t13/t13.rb +++ b/qtruby/rubylib/tutorial/t13/t13.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) -- cgit v1.2.1