diff options
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/aclock')
-rw-r--r-- | qtruby/rubylib/examples/qt-examples/aclock/aclock.rb | 2 | ||||
-rwxr-xr-x | qtruby/rubylib/examples/qt-examples/aclock/main.rb | 4 |
2 files changed, 3 insertions, 3 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 |