summaryrefslogtreecommitdiffstats
path: root/qtruby/README
diff options
context:
space:
mode:
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