summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/tutorial
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
commit26abe38d0748c549f2458da57507614fad599d83 (patch)
tree02bc387417c25ba4cc5744f8addf7e3dacf24292 /qtruby/rubylib/tutorial
parente1a0e352b6ead69ed6f55476272ace842fbbdf74 (diff)
downloadtdebindings-26abe38d0748c549f2458da57507614fad599d83.tar.gz
tdebindings-26abe38d0748c549f2458da57507614fad599d83.zip
Fix retquire
Diffstat (limited to 'qtruby/rubylib/tutorial')
-rwxr-xr-xqtruby/rubylib/tutorial/t1/t1.rb2
-rw-r--r--qtruby/rubylib/tutorial/t10/cannon.rb2
-rw-r--r--qtruby/rubylib/tutorial/t10/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t10/t10.rb6
-rw-r--r--qtruby/rubylib/tutorial/t11/cannon.rb2
-rw-r--r--qtruby/rubylib/tutorial/t11/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t11/t11.rb6
-rw-r--r--qtruby/rubylib/tutorial/t12/cannon.rb2
-rw-r--r--qtruby/rubylib/tutorial/t12/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t12/t12.rb6
-rw-r--r--qtruby/rubylib/tutorial/t13/cannon.rb2
-rw-r--r--qtruby/rubylib/tutorial/t13/gamebrd.rb6
-rw-r--r--qtruby/rubylib/tutorial/t13/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t13/t13.rb4
-rw-r--r--qtruby/rubylib/tutorial/t14/cannon.rb2
-rw-r--r--qtruby/rubylib/tutorial/t14/gamebrd.rb4
-rw-r--r--qtruby/rubylib/tutorial/t14/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t14/t14.rb4
-rwxr-xr-xqtruby/rubylib/tutorial/t2/t2.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t3/t3.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t4/t4.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t5/t5.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t6/t6.rb2
-rw-r--r--qtruby/rubylib/tutorial/t7/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t7/t7.rb4
-rw-r--r--qtruby/rubylib/tutorial/t8/cannon.rb2
-rw-r--r--qtruby/rubylib/tutorial/t8/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t8/t8.rb6
-rw-r--r--qtruby/rubylib/tutorial/t9/cannon.rb2
-rw-r--r--qtruby/rubylib/tutorial/t9/lcdrange.rb2
-rwxr-xr-xqtruby/rubylib/tutorial/t9/t9.rb6
31 files changed, 47 insertions, 47 deletions
diff --git a/qtruby/rubylib/tutorial/t1/t1.rb b/qtruby/rubylib/tutorial/t1/t1.rb
index 1f2da715..70f1bfeb 100755
--- a/qtruby/rubylib/tutorial/t1/t1.rb
+++ b/qtruby/rubylib/tutorial/t1/t1.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-retquire 'Qt'
+require 'Qt'
a = TQt::Application.new(ARGV)
hello = TQt::PushButton.new('Hello World!', nil)
diff --git a/qtruby/rubylib/tutorial/t10/cannon.rb b/qtruby/rubylib/tutorial/t10/cannon.rb
index 708eb728..38559741 100644
--- a/qtruby/rubylib/tutorial/t10/cannon.rb
+++ b/qtruby/rubylib/tutorial/t10/cannon.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class CannonField < TQt::Widget
signals 'angleChanged(int)', 'forceChanged(int)'
diff --git a/qtruby/rubylib/tutorial/t10/lcdrange.rb b/qtruby/rubylib/tutorial/t10/lcdrange.rb
index 2e274174..94e61af5 100644
--- a/qtruby/rubylib/tutorial/t10/lcdrange.rb
+++ b/qtruby/rubylib/tutorial/t10/lcdrange.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'
diff --git a/qtruby/rubylib/tutorial/t10/t10.rb b/qtruby/rubylib/tutorial/t10/t10.rb
index cd45261a..b86c9e1b 100755
--- a/qtruby/rubylib/tutorial/t10/t10.rb
+++ b/qtruby/rubylib/tutorial/t10/t10.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()
diff --git a/qtruby/rubylib/tutorial/t11/cannon.rb b/qtruby/rubylib/tutorial/t11/cannon.rb
index b8fa2826..89a2ca24 100644
--- a/qtruby/rubylib/tutorial/t11/cannon.rb
+++ b/qtruby/rubylib/tutorial/t11/cannon.rb
@@ -1,5 +1,5 @@
include Math
-retquire 'Qt'
+require 'Qt'
class CannonField < TQt::Widget
diff --git a/qtruby/rubylib/tutorial/t11/lcdrange.rb b/qtruby/rubylib/tutorial/t11/lcdrange.rb
index 2e274174..94e61af5 100644
--- a/qtruby/rubylib/tutorial/t11/lcdrange.rb
+++ b/qtruby/rubylib/tutorial/t11/lcdrange.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'
diff --git a/qtruby/rubylib/tutorial/t11/t11.rb b/qtruby/rubylib/tutorial/t11/t11.rb
index f0d3b895..4b400026 100755
--- a/qtruby/rubylib/tutorial/t11/t11.rb
+++ b/qtruby/rubylib/tutorial/t11/t11.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()
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
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)
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)
diff --git a/qtruby/rubylib/tutorial/t2/t2.rb b/qtruby/rubylib/tutorial/t2/t2.rb
index a1764f1e..b5e62bca 100755
--- a/qtruby/rubylib/tutorial/t2/t2.rb
+++ b/qtruby/rubylib/tutorial/t2/t2.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-retquire 'Qt';
+require 'Qt';
a = TQt::Application.new(ARGV)
diff --git a/qtruby/rubylib/tutorial/t3/t3.rb b/qtruby/rubylib/tutorial/t3/t3.rb
index 6b3b29a1..9a6b32d2 100755
--- a/qtruby/rubylib/tutorial/t3/t3.rb
+++ b/qtruby/rubylib/tutorial/t3/t3.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-retquire 'Qt'
+require 'Qt'
a = TQt::Application.new(ARGV)
diff --git a/qtruby/rubylib/tutorial/t4/t4.rb b/qtruby/rubylib/tutorial/t4/t4.rb
index df91d90d..dc254a8d 100755
--- a/qtruby/rubylib/tutorial/t4/t4.rb
+++ b/qtruby/rubylib/tutorial/t4/t4.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-retquire 'Qt'
+require 'Qt'
class MyWidget < TQt::Widget
diff --git a/qtruby/rubylib/tutorial/t5/t5.rb b/qtruby/rubylib/tutorial/t5/t5.rb
index debe5dff..56b50d17 100755
--- a/qtruby/rubylib/tutorial/t5/t5.rb
+++ b/qtruby/rubylib/tutorial/t5/t5.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-retquire 'Qt'
+require 'Qt'
class MyWidget < TQt::VBox
diff --git a/qtruby/rubylib/tutorial/t6/t6.rb b/qtruby/rubylib/tutorial/t6/t6.rb
index 11389ae8..7d6b4b42 100755
--- a/qtruby/rubylib/tutorial/t6/t6.rb
+++ b/qtruby/rubylib/tutorial/t6/t6.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-retquire 'Qt'
+require 'Qt'
class LCDRange < TQt::VBox
diff --git a/qtruby/rubylib/tutorial/t7/lcdrange.rb b/qtruby/rubylib/tutorial/t7/lcdrange.rb
index 1bea2ebc..0c673284 100644
--- a/qtruby/rubylib/tutorial/t7/lcdrange.rb
+++ b/qtruby/rubylib/tutorial/t7/lcdrange.rb
@@ -1,5 +1,5 @@
#!/usr/bin/ruby -w
-retquire 'Qt'
+require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'
diff --git a/qtruby/rubylib/tutorial/t7/t7.rb b/qtruby/rubylib/tutorial/t7/t7.rb
index 0d757fd0..f1d56b20 100755
--- a/qtruby/rubylib/tutorial/t7/t7.rb
+++ b/qtruby/rubylib/tutorial/t7/t7.rb
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
-retquire 'Qt'
-retquire 'lcdrange.rb'
+require 'Qt'
+require 'lcdrange.rb'
class MyWidget < TQt::VBox
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()
diff --git a/qtruby/rubylib/tutorial/t9/cannon.rb b/qtruby/rubylib/tutorial/t9/cannon.rb
index 7cb31756..24649916 100644
--- a/qtruby/rubylib/tutorial/t9/cannon.rb
+++ b/qtruby/rubylib/tutorial/t9/cannon.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class CannonField < TQt::Widget
signals 'angleChanged(int)'
diff --git a/qtruby/rubylib/tutorial/t9/lcdrange.rb b/qtruby/rubylib/tutorial/t9/lcdrange.rb
index 2afabe75..208650f3 100644
--- a/qtruby/rubylib/tutorial/t9/lcdrange.rb
+++ b/qtruby/rubylib/tutorial/t9/lcdrange.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class LCDRange < TQt::VBox
signals 'valueChanged(int)'
diff --git a/qtruby/rubylib/tutorial/t9/t9.rb b/qtruby/rubylib/tutorial/t9/t9.rb
index 2ab7c1b3..8a9cf81d 100755
--- a/qtruby/rubylib/tutorial/t9/t9.rb
+++ b/qtruby/rubylib/tutorial/t9/t9.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()