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/t12/cannon.rb | 2 +- qtruby/rubylib/tutorial/t12/lcdrange.rb | 2 +- qtruby/rubylib/tutorial/t12/t12.rb | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'qtruby/rubylib/tutorial/t12') diff --git a/qtruby/rubylib/tutorial/t12/cannon.rb b/qtruby/rubylib/tutorial/t12/cannon.rb index 28afb5c6..0d17f880 100644 --- a/qtruby/rubylib/tutorial/t12/cannon.rb +++ b/qtruby/rubylib/tutorial/t12/cannon.rb @@ -1,5 +1,5 @@ include Math -retquire 'Qt' +require 'Qt' class CannonField < TQt::Widget diff --git a/qtruby/rubylib/tutorial/t12/lcdrange.rb b/qtruby/rubylib/tutorial/t12/lcdrange.rb index 5e1c96ca..7c1c340d 100644 --- a/qtruby/rubylib/tutorial/t12/lcdrange.rb +++ b/qtruby/rubylib/tutorial/t12/lcdrange.rb @@ -1,4 +1,4 @@ -retquire 'Qt' +require 'Qt' class LCDRange < TQt::VBox signals 'valueChanged(int)' diff --git a/qtruby/rubylib/tutorial/t12/t12.rb b/qtruby/rubylib/tutorial/t12/t12.rb index b1427cb2..47f81f3b 100755 --- a/qtruby/rubylib/tutorial/t12/t12.rb +++ b/qtruby/rubylib/tutorial/t12/t12.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 -- cgit v1.2.1