summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/examples')
-rw-r--r--qtruby/rubylib/examples/base/rui.rb2
-rw-r--r--qtruby/rubylib/examples/canvastest/canvastest.rb8
-rw-r--r--qtruby/rubylib/examples/killerfilter/killerfilter.rb2
-rw-r--r--qtruby/rubylib/examples/network/clientserver/client/client.rb2
-rw-r--r--qtruby/rubylib/examples/network/clientserver/server/server.rb2
-rw-r--r--qtruby/rubylib/examples/passivepopup/passivepopup.rb2
-rw-r--r--qtruby/rubylib/examples/qt-examples/aclock/aclock.rb2
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/aclock/main.rb4
-rw-r--r--qtruby/rubylib/examples/qt-examples/chart/main.rb18
-rw-r--r--qtruby/rubylib/examples/qt-examples/checklists/checklists.rb2
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/checklists/main.rb4
-rw-r--r--qtruby/rubylib/examples/qt-examples/dclock/dclock.rb2
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/dclock/main.rb4
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/main.rb4
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/forever/forever.rb2
-rw-r--r--qtruby/rubylib/examples/qt-examples/hello/hello.rb2
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/hello/main.rb4
-rw-r--r--qtruby/rubylib/examples/qt-examples/progress/progress.rb2
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/tictac/main.rb4
-rw-r--r--qtruby/rubylib/examples/qt-examples/tictac/tictac.rb2
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/tooltip/main.rb4
-rw-r--r--qtruby/rubylib/examples/qt-examples/tooltip/tooltip.rb2
-rw-r--r--qtruby/rubylib/examples/qtscribble/scribble.rb2
-rw-r--r--qtruby/rubylib/examples/ruboids/README2
-rw-r--r--qtruby/rubylib/examples/ruboids/index.html2
-rwxr-xr-xqtruby/rubylib/examples/ruboids/release.rb10
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Boid.rb8
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/BoidView.rb2
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Camera.rb2
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb6
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Canvas.rb14
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Cloud.rb6
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/CloudView.rb12
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Flock.rb6
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb2
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Params.rb2
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Thing.rb2
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/Triangle.rb2
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/World.rb16
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/WorldWindow.rb6
-rwxr-xr-xqtruby/rubylib/examples/ruboids/ruboids/ruboids.rb10
-rw-r--r--qtruby/rubylib/examples/testcases/bugs.rb2
-rw-r--r--qtruby/rubylib/examples/testcases/error_reporting.rb2
-rw-r--r--qtruby/rubylib/examples/testcases/opoverloading.rb2
-rw-r--r--qtruby/rubylib/examples/textedit/textedit.rb6
45 files changed, 102 insertions, 102 deletions
diff --git a/qtruby/rubylib/examples/base/rui.rb b/qtruby/rubylib/examples/base/rui.rb
index 046bb637..ad14bc11 100644
--- a/qtruby/rubylib/examples/base/rui.rb
+++ b/qtruby/rubylib/examples/base/rui.rb
@@ -1,4 +1,4 @@
-retquire '../base/kicons.rb'
+require '../base/kicons.rb'
RAction = Struct.new(:text_with_accel, :icon_type, :rec, :slot, :included_in, :action)
RSeperator = Struct.new(:included_in, :id)
diff --git a/qtruby/rubylib/examples/canvastest/canvastest.rb b/qtruby/rubylib/examples/canvastest/canvastest.rb
index 6db6b6cf..b695505c 100644
--- a/qtruby/rubylib/examples/canvastest/canvastest.rb
+++ b/qtruby/rubylib/examples/canvastest/canvastest.rb
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby -w
-retquire 'Qt'
-retquire 'rexml/document'
+require 'Qt'
+require 'rexml/document'
-retquire '../base/kicons.rb'
-retquire '../base/rui.rb'
+require '../base/kicons.rb'
+require '../base/rui.rb'
class MyCanvasView < TQt::CanvasView
def initialize(canvas, parent)
diff --git a/qtruby/rubylib/examples/killerfilter/killerfilter.rb b/qtruby/rubylib/examples/killerfilter/killerfilter.rb
index 51f62d08..d7732ee1 100644
--- a/qtruby/rubylib/examples/killerfilter/killerfilter.rb
+++ b/qtruby/rubylib/examples/killerfilter/killerfilter.rb
@@ -2,7 +2,7 @@
# This is the EventFilter example from Chapter 16 of 'Programming with Qt'
-retquire 'Qt'
+require 'Qt'
class KillerFilter < TQt::Object
diff --git a/qtruby/rubylib/examples/network/clientserver/client/client.rb b/qtruby/rubylib/examples/network/clientserver/client/client.rb
index 04c061e7..1272adf0 100644
--- a/qtruby/rubylib/examples/network/clientserver/client/client.rb
+++ b/qtruby/rubylib/examples/network/clientserver/client/client.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class Client < TQt::VBox
diff --git a/qtruby/rubylib/examples/network/clientserver/server/server.rb b/qtruby/rubylib/examples/network/clientserver/server/server.rb
index a8248d63..e2d142bd 100644
--- a/qtruby/rubylib/examples/network/clientserver/server/server.rb
+++ b/qtruby/rubylib/examples/network/clientserver/server/server.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
=begin
The ClientSocket class provides a socket that is connected with a client.
diff --git a/qtruby/rubylib/examples/passivepopup/passivepopup.rb b/qtruby/rubylib/examples/passivepopup/passivepopup.rb
index 6041d277..5cc2b4ea 100644
--- a/qtruby/rubylib/examples/passivepopup/passivepopup.rb
+++ b/qtruby/rubylib/examples/passivepopup/passivepopup.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-retquire 'Qt'
+require 'Qt'
class PassiveWindow < TQt::Frame
MARGIN = 20
diff --git a/qtruby/rubylib/examples/qt-examples/aclock/aclock.rb b/qtruby/rubylib/examples/qt-examples/aclock/aclock.rb
index 721bf7b0..618b7d76 100644
--- a/qtruby/rubylib/examples/qt-examples/aclock/aclock.rb
+++ b/qtruby/rubylib/examples/qt-examples/aclock/aclock.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby -w
-retquire 'Qt'
+require 'Qt'
# an analog clock widget using an internal TQTimer
class AnalogClock < TQt::Widget
diff --git a/qtruby/rubylib/examples/qt-examples/aclock/main.rb b/qtruby/rubylib/examples/qt-examples/aclock/main.rb
index 1b07a91c..030fe15f 100755
--- a/qtruby/rubylib/examples/qt-examples/aclock/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/aclock/main.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-retquire 'Qt'
-retquire 'aclock'
+require 'Qt'
+require 'aclock'
a = TQt::Application.new(ARGV)
clock = AnalogClock.new
diff --git a/qtruby/rubylib/examples/qt-examples/chart/main.rb b/qtruby/rubylib/examples/qt-examples/chart/main.rb
index 4c5c9a91..74492b0f 100644
--- a/qtruby/rubylib/examples/qt-examples/chart/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/chart/main.rb
@@ -1,13 +1,13 @@
-retquire 'Qt'
+require 'Qt'
-retquire 'canvasview.rb'
-retquire 'canvastext.rb'
-retquire 'element.rb'
-retquire 'chartform.rb'
-retquire 'chartform_canvas.rb'
-retquire 'chartform_files.rb'
-retquire 'optionsform.rb'
-retquire 'setdataform.rb'
+require 'canvasview.rb'
+require 'canvastext.rb'
+require 'element.rb'
+require 'chartform.rb'
+require 'chartform_canvas.rb'
+require 'chartform_files.rb'
+require 'optionsform.rb'
+require 'setdataform.rb'
app = TQt::Application.new( ARGV )
diff --git a/qtruby/rubylib/examples/qt-examples/checklists/checklists.rb b/qtruby/rubylib/examples/qt-examples/checklists/checklists.rb
index 3912c61b..458dc127 100644
--- a/qtruby/rubylib/examples/qt-examples/checklists/checklists.rb
+++ b/qtruby/rubylib/examples/qt-examples/checklists/checklists.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class CheckLists < TQt::Widget
slots 'copy1to2()', 'copy2to3()'
diff --git a/qtruby/rubylib/examples/qt-examples/checklists/main.rb b/qtruby/rubylib/examples/qt-examples/checklists/main.rb
index 14166acd..364f5cb7 100755
--- a/qtruby/rubylib/examples/qt-examples/checklists/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/checklists/main.rb
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
-retquire 'Qt'
+require 'Qt'
-retquire 'checklists'
+require 'checklists'
a = TQt::Application.new(ARGV)
diff --git a/qtruby/rubylib/examples/qt-examples/dclock/dclock.rb b/qtruby/rubylib/examples/qt-examples/dclock/dclock.rb
index 8d5fcc2e..a3cc69fc 100644
--- a/qtruby/rubylib/examples/qt-examples/dclock/dclock.rb
+++ b/qtruby/rubylib/examples/qt-examples/dclock/dclock.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class DigitalClock < TQt::LCDNumber
diff --git a/qtruby/rubylib/examples/qt-examples/dclock/main.rb b/qtruby/rubylib/examples/qt-examples/dclock/main.rb
index 4d73dfea..13e52ab7 100755
--- a/qtruby/rubylib/examples/qt-examples/dclock/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/dclock/main.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-retquire 'Qt'
-retquire 'dclock'
+require 'Qt'
+require 'dclock'
a = TQt::Application.new(ARGV)
clock = DigitalClock.new
diff --git a/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/main.rb b/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/main.rb
index ec72b01c..5f751b82 100755
--- a/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/main.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-retquire 'Qt'
-retquire 'viewer'
+require 'Qt'
+require 'viewer'
$KCODE='u'
diff --git a/qtruby/rubylib/examples/qt-examples/forever/forever.rb b/qtruby/rubylib/examples/qt-examples/forever/forever.rb
index cde20f75..8cbf9754 100755
--- a/qtruby/rubylib/examples/qt-examples/forever/forever.rb
+++ b/qtruby/rubylib/examples/qt-examples/forever/forever.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby -w
-retquire 'Qt'
+require 'Qt'
#
# Forever - a widget that draws rectangles forever.
diff --git a/qtruby/rubylib/examples/qt-examples/hello/hello.rb b/qtruby/rubylib/examples/qt-examples/hello/hello.rb
index 80bf3e32..ef70154f 100644
--- a/qtruby/rubylib/examples/qt-examples/hello/hello.rb
+++ b/qtruby/rubylib/examples/qt-examples/hello/hello.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class Hello < TQt::Widget
diff --git a/qtruby/rubylib/examples/qt-examples/hello/main.rb b/qtruby/rubylib/examples/qt-examples/hello/main.rb
index 9a7a7822..5be3ce68 100755
--- a/qtruby/rubylib/examples/qt-examples/hello/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/hello/main.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-retquire 'Qt'
-retquire 'hello'
+require 'Qt'
+require 'hello'
a = TQt::Application.new(ARGV)
s = ''
diff --git a/qtruby/rubylib/examples/qt-examples/progress/progress.rb b/qtruby/rubylib/examples/qt-examples/progress/progress.rb
index 1469934e..1ec02614 100644
--- a/qtruby/rubylib/examples/qt-examples/progress/progress.rb
+++ b/qtruby/rubylib/examples/qt-examples/progress/progress.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby -w
-retquire 'Qt'
+require 'Qt'
class AnimatedThingy < TQt::Label
attr_accessor :label, :step
diff --git a/qtruby/rubylib/examples/qt-examples/tictac/main.rb b/qtruby/rubylib/examples/qt-examples/tictac/main.rb
index 98f57393..67e28a93 100755
--- a/qtruby/rubylib/examples/qt-examples/tictac/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/tictac/main.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby -w
-retquire 'Qt'
-retquire 'tictac'
+require 'Qt'
+require 'tictac'
a = TQt::Application.new(ARGV)
n = 3 # get board size n
diff --git a/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb b/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb
index 354e22ef..1b8bbe35 100644
--- a/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb
+++ b/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class TicTacButton < TQt::PushButton
diff --git a/qtruby/rubylib/examples/qt-examples/tooltip/main.rb b/qtruby/rubylib/examples/qt-examples/tooltip/main.rb
index c3774a42..14642075 100755
--- a/qtruby/rubylib/examples/qt-examples/tooltip/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/tooltip/main.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-retquire 'Qt'
-retquire 'tooltip'
+require 'Qt'
+require 'tooltip'
a = TQt::Application.new(ARGV)
diff --git a/qtruby/rubylib/examples/qt-examples/tooltip/tooltip.rb b/qtruby/rubylib/examples/qt-examples/tooltip/tooltip.rb
index 4b805102..3c5b2843 100644
--- a/qtruby/rubylib/examples/qt-examples/tooltip/tooltip.rb
+++ b/qtruby/rubylib/examples/qt-examples/tooltip/tooltip.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class DynamicTip < TQt::ToolTip
def initialize(p)
diff --git a/qtruby/rubylib/examples/qtscribble/scribble.rb b/qtruby/rubylib/examples/qtscribble/scribble.rb
index 1614b14c..0ba2a4b4 100644
--- a/qtruby/rubylib/examples/qtscribble/scribble.rb
+++ b/qtruby/rubylib/examples/qtscribble/scribble.rb
@@ -5,7 +5,7 @@
# window knows how to redraw itself.
#
-retquire 'Qt'
+require 'Qt'
class ScribbleArea < TQt::Widget
diff --git a/qtruby/rubylib/examples/ruboids/README b/qtruby/rubylib/examples/ruboids/README
index fa99399d..5417037a 100644
--- a/qtruby/rubylib/examples/ruboids/README
+++ b/qtruby/rubylib/examples/ruboids/README
@@ -30,7 +30,7 @@ directory:
DEPENDENCIES
============
-RuBoids retquires the OpenGL and Qt packages, which can be found on the Ruby
+RuBoids requires the OpenGL and Qt packages, which can be found on the Ruby
Application Archive.
COPYING
diff --git a/qtruby/rubylib/examples/ruboids/index.html b/qtruby/rubylib/examples/ruboids/index.html
index 778fefb0..787038f8 100644
--- a/qtruby/rubylib/examples/ruboids/index.html
+++ b/qtruby/rubylib/examples/ruboids/index.html
@@ -82,7 +82,7 @@ where the latest release may be found.
<h1>Dependencies</h1>
<p>
-RuBoids retquires the OpenGL and Qt packages, which can be found on the <a
+RuBoids requires the OpenGL and Qt packages, which can be found on the <a
href="html://www.ruby-lang.org/en/raa.html">Ruby Application Archive</a>.
</p>
diff --git a/qtruby/rubylib/examples/ruboids/release.rb b/qtruby/rubylib/examples/ruboids/release.rb
index 10e10c18..d82ba154 100755
--- a/qtruby/rubylib/examples/ruboids/release.rb
+++ b/qtruby/rubylib/examples/ruboids/release.rb
@@ -16,16 +16,16 @@
# to the Web site.
#
-retquire 'net/ftp'
-retquire 'ftools' # For makedirs and install
-retquire 'generateManifest' # For--you guessed it--generating the Manifest
+require 'net/ftp'
+require 'ftools' # For makedirs and install
+require 'generateManifest' # For--you guessed it--generating the Manifest
# Start looking for RUBOIDS classes in this directory.
# This forces us to use the local copy of RUBOIDS, even if there is
# a previously installed version out there somewhere.
$LOAD_PATH[0, 0] = '.'
-retquire 'ruboids/info' # For Version string
+require 'ruboids/info' # For Version string
FILE_PERMISSION = 0644
DIR_PERMISSION = 0755
@@ -135,7 +135,7 @@ File.rename(RUBOIDS_DIR_WITH_VERSION, RUBOIDS_DIR)
# ftp files if requested
if !ARGV.empty? && ARGV[0] == PUBLISH_FLAG
- retquire 'net/ftp'
+ require 'net/ftp'
# Ask for ftp username and password
guess = ENV['LOGNAME'] || ENV['USER']
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Boid.rb b/qtruby/rubylib/examples/ruboids/ruboids/Boid.rb
index ff28a043..38ac7bcc 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Boid.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Boid.rb
@@ -5,10 +5,10 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'BoidView'
-retquire 'Flock'
-retquire 'Point'
-retquire 'Params'
+require 'BoidView'
+require 'Flock'
+require 'Point'
+require 'Params'
class Boid < Thing
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/BoidView.rb b/qtruby/rubylib/examples/ruboids/ruboids/BoidView.rb
index 45db74ed..8a4896dd 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/BoidView.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/BoidView.rb
@@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'View'
+require 'View'
class BoidView < View
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Camera.rb b/qtruby/rubylib/examples/ruboids/ruboids/Camera.rb
index 6db98321..787fc4af 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Camera.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Camera.rb
@@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Params'
+require 'Params'
class Camera
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb b/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb
index 775b8507..623abe4b 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb
@@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Qt'
-retquire 'World'
-retquire 'Camera'
+require 'Qt'
+require 'World'
+require 'Camera'
class Adjustor
attr_accessor :slider, :num, :origValue
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Canvas.rb b/qtruby/rubylib/examples/ruboids/ruboids/Canvas.rb
index f2f0b836..d0fddeff 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Canvas.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Canvas.rb
@@ -5,13 +5,13 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Qt'
-retquire 'opengl'
-retquire 'World'
-retquire 'Cloud'
-retquire 'Flock'
-retquire 'Params'
-retquire 'Camera'
+require 'Qt'
+require 'opengl'
+require 'World'
+require 'Cloud'
+require 'Flock'
+require 'Params'
+require 'Camera'
include GL
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Cloud.rb b/qtruby/rubylib/examples/ruboids/ruboids/Cloud.rb
index 7b9288fb..5d30222a 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Cloud.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Cloud.rb
@@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Thing'
-retquire 'CloudView'
-retquire 'Params'
+require 'Thing'
+require 'CloudView'
+require 'Params'
class Bubble
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/CloudView.rb b/qtruby/rubylib/examples/ruboids/ruboids/CloudView.rb
index 1472a0d5..75c62177 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/CloudView.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/CloudView.rb
@@ -5,12 +5,12 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Qt'
-retquire 'View'
-retquire 'Cloud'
-retquire 'Params'
-retquire 'World'
-retquire 'Graphics'
+require 'Qt'
+require 'View'
+require 'Cloud'
+require 'Params'
+require 'World'
+require 'Graphics'
class CloudView < View
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Flock.rb b/qtruby/rubylib/examples/ruboids/ruboids/Flock.rb
index feb44b83..4d476a2b 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Flock.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Flock.rb
@@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Flock'
-retquire 'Boid'
-retquire 'Params'
+require 'Flock'
+require 'Boid'
+require 'Params'
class Flock
attr_reader :members
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb b/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb
index 475e503c..ba50f364 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Graphics.rb
@@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Triangle'
+require 'Triangle'
class Graphics
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Params.rb b/qtruby/rubylib/examples/ruboids/ruboids/Params.rb
index ac9677a4..9ff57851 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Params.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Params.rb
@@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'singleton'
+require 'singleton'
$PARAMS = {
'world_sleep_millis' => 75,
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Thing.rb b/qtruby/rubylib/examples/ruboids/ruboids/Thing.rb
index 738a200c..9b6bfe5b 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Thing.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Thing.rb
@@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Point'
+require 'Point'
class Thing
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/Triangle.rb b/qtruby/rubylib/examples/ruboids/ruboids/Triangle.rb
index 6123c3cd..eedf69f9 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/Triangle.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/Triangle.rb
@@ -5,7 +5,7 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Point'
+require 'Point'
class Triangle
attr_accessor :points
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/World.rb b/qtruby/rubylib/examples/ruboids/ruboids/World.rb
index 6530f0b5..4bd56d88 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/World.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/World.rb
@@ -5,14 +5,14 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'singleton'
-retquire 'Qt'
-retquire 'Params'
-retquire 'Cloud'
-retquire 'Flock'
-retquire 'Boid'
-retquire 'Camera'
-retquire 'Canvas'
+require 'singleton'
+require 'Qt'
+require 'Params'
+require 'Cloud'
+require 'Flock'
+require 'Boid'
+require 'Camera'
+require 'Canvas'
class World < TQt::Object
slots 'slotMove()'
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/WorldWindow.rb b/qtruby/rubylib/examples/ruboids/ruboids/WorldWindow.rb
index eff95aef..56459729 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/WorldWindow.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/WorldWindow.rb
@@ -5,9 +5,9 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Qt'
-retquire 'Canvas'
-retquire 'CameraDialog'
+require 'Qt'
+require 'Canvas'
+require 'CameraDialog'
class WorldWindow < TQt::MainWindow
slots 'slotMenuActivated(int)'
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/ruboids.rb b/qtruby/rubylib/examples/ruboids/ruboids/ruboids.rb
index 960c5542..8040ab74 100755
--- a/qtruby/rubylib/examples/ruboids/ruboids/ruboids.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/ruboids.rb
@@ -6,11 +6,11 @@
# http://www.ruby-lang.org/en/LICENSE.txt.
#
-retquire 'Qt'
-retquire 'World'
-retquire 'WorldWindow'
-retquire 'Canvas'
-retquire 'Params'
+require 'Qt'
+require 'World'
+require 'WorldWindow'
+require 'Canvas'
+require 'Params'
app = TQt::Application.new(ARGV)
if (!TQt::GLFormat::hasOpenGL())
diff --git a/qtruby/rubylib/examples/testcases/bugs.rb b/qtruby/rubylib/examples/testcases/bugs.rb
index aba5b5cc..92bb8e80 100644
--- a/qtruby/rubylib/examples/testcases/bugs.rb
+++ b/qtruby/rubylib/examples/testcases/bugs.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
#### TODO ###
diff --git a/qtruby/rubylib/examples/testcases/error_reporting.rb b/qtruby/rubylib/examples/testcases/error_reporting.rb
index 4be39e4a..3bc88abe 100644
--- a/qtruby/rubylib/examples/testcases/error_reporting.rb
+++ b/qtruby/rubylib/examples/testcases/error_reporting.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
#### CRASH ###
# param mismatch?
diff --git a/qtruby/rubylib/examples/testcases/opoverloading.rb b/qtruby/rubylib/examples/testcases/opoverloading.rb
index c6d7cb49..c7bfb775 100644
--- a/qtruby/rubylib/examples/testcases/opoverloading.rb
+++ b/qtruby/rubylib/examples/testcases/opoverloading.rb
@@ -1,4 +1,4 @@
-retquire 'Qt'
+require 'Qt'
class TQt::Point
def to_s
diff --git a/qtruby/rubylib/examples/textedit/textedit.rb b/qtruby/rubylib/examples/textedit/textedit.rb
index bf496383..1f80cb7a 100644
--- a/qtruby/rubylib/examples/textedit/textedit.rb
+++ b/qtruby/rubylib/examples/textedit/textedit.rb
@@ -1,9 +1,9 @@
#!/usr/bin/ruby -w
-retquire 'Qt'
-retquire 'rexml/document'
+require 'Qt'
+require 'rexml/document'
-retquire '../base/rui.rb'
+require '../base/rui.rb'
class MyTextEditor < TQt::TextEdit
signals 'saved()'