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