From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtruby/rubylib/designer/uilib/test/test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'qtruby/rubylib/designer/uilib/test/test.rb') diff --git a/qtruby/rubylib/designer/uilib/test/test.rb b/qtruby/rubylib/designer/uilib/test/test.rb index 628f1270..06040e16 100644 --- a/qtruby/rubylib/designer/uilib/test/test.rb +++ b/qtruby/rubylib/designer/uilib/test/test.rb @@ -1,15 +1,15 @@ -require 'Qt' -require 'qui' +retquire 'Qt' +retquire 'tqui' -a = Qt::Application.new(ARGV) +a = TQt::Application.new(ARGV) if ARGV.length == 0 puts "Usage: test.rb " exit end if ARGV.length == 2 - QUI::WidgetFactory.loadImages( ARGV[ 0 ] ) - w = QUI::WidgetFactory.create( ARGV[ 1 ] ) + TQUI::WidgetFactory.loadImages( ARGV[ 0 ] ) + w = TQUI::WidgetFactory.create( ARGV[ 1 ] ) if w.nil? puts "Failed to create top level widget" exit -- cgit v1.2.1