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