diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtruby/rubylib/tutorial/t14/t14.rb | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtruby/rubylib/tutorial/t14/t14.rb')
-rwxr-xr-x | qtruby/rubylib/tutorial/t14/t14.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/tutorial/t14/t14.rb b/qtruby/rubylib/tutorial/t14/t14.rb index 817dfe70..8e63bcd6 100755 --- a/qtruby/rubylib/tutorial/t14/t14.rb +++ b/qtruby/rubylib/tutorial/t14/t14.rb @@ -1,11 +1,11 @@ #!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) -require 'Qt' -require 'gamebrd.rb' +retquire 'Qt' +retquire 'gamebrd.rb' -Qt::Application.setColorSpec( Qt::Application::CustomColor ) -a = Qt::Application.new(ARGV) +TQt::Application.setColorSpec( TQt::Application::CustomColor ) +a = TQt::Application.new(ARGV) gb = GameBoard.new gb.setGeometry( 100, 100, 500, 355 ) |