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/examples/qt-examples | |
parent | e1a0e352b6ead69ed6f55476272ace842fbbdf74 (diff) | |
download | tdebindings-26abe38d0748c549f2458da57507614fad599d83.tar.gz tdebindings-26abe38d0748c549f2458da57507614fad599d83.zip |
Fix retquire
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples')
16 files changed, 31 insertions, 31 deletions
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) |