From 26abe38d0748c549f2458da57507614fad599d83 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 21:58:19 -0600 Subject: Fix retquire --- qtruby/README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtruby/README') 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)
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 -- cgit v1.2.1