summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/aclock/main.rb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtruby/rubylib/examples/qt-examples/aclock/main.rb
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/aclock/main.rb')
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/aclock/main.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/aclock/main.rb b/qtruby/rubylib/examples/qt-examples/aclock/main.rb
index dadbee15..1b07a91c 100755
--- a/qtruby/rubylib/examples/qt-examples/aclock/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/aclock/main.rb
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
-require 'Qt'
-require 'aclock'
+retquire 'Qt'
+retquire 'aclock'
-a = Qt::Application.new(ARGV)
+a = TQt::Application.new(ARGV)
clock = AnalogClock.new
ARGV.each {|arg|
clock.setAutoMask(true) if arg == '-transparent'