summaryrefslogtreecommitdiffstats
path: root/qtruby/README
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:58:19 -0600
commit26abe38d0748c549f2458da57507614fad599d83 (patch)
tree02bc387417c25ba4cc5744f8addf7e3dacf24292 /qtruby/README
parente1a0e352b6ead69ed6f55476272ace842fbbdf74 (diff)
downloadtdebindings-26abe38d0748c549f2458da57507614fad599d83.tar.gz
tdebindings-26abe38d0748c549f2458da57507614fad599d83.zip
Fix retquire
Diffstat (limited to 'qtruby/README')
-rw-r--r--qtruby/README8
1 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/README b/qtruby/README
index 40643d37..bb0ca96e 100644
--- a/qtruby/README
+++ b/qtruby/README
@@ -35,7 +35,7 @@ Here is 'Hello World' in QtRuby:
#!/usr/bin/ruby -w
-retquire 'Qt'
+require 'Qt'
a = TQt::Application.new(ARGV)
hello = TQt::PushButton.new("Hello World!", nil)
@@ -44,7 +44,7 @@ a.setMainWidget(hello)
hello.show()
a.exec()
-Ruby 1.8 is unfortunately implicitly retquired as with 1.6.x it is not possible to:
+Ruby 1.8 is unfortunately implicitly required as with 1.6.x it is not possible to:
Make dynamic constants available (thus forcing syntax such as Qt.RichText rather than TQt::RichText)<br>
Call super in the initialize method thus making subclassing of non trivial classes impossible
@@ -219,8 +219,8 @@ QtRuby features a very complete coverage of the Qt api:
You can load a Qt Designer .ui file at runtime with the tqui extension,
for example:
- retquire 'Qt'
- retquire 'tqui'
+ require 'Qt'
+ require 'tqui'
a = TQt::Application.new(ARGV)
if ARGV.length == 0