diff options
Diffstat (limited to 'qtruby/rubylib/designer/uilib')
-rw-r--r-- | qtruby/rubylib/designer/uilib/test/test.rb | 4 | ||||
-rw-r--r-- | qtruby/rubylib/designer/uilib/tqui.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/designer/uilib/test/test.rb b/qtruby/rubylib/designer/uilib/test/test.rb index e99526f1..ff3570cc 100644 --- a/qtruby/rubylib/designer/uilib/test/test.rb +++ b/qtruby/rubylib/designer/uilib/test/test.rb @@ -8,8 +8,8 @@ if ARGV.length == 0 end
if ARGV.length == 2
- TQUI::WidgetFactory.loadImages( ARGV[ 0 ] )
- w = TQUI::WidgetFactory.create( ARGV[ 1 ] )
+ QUI::WidgetFactory.loadImages( ARGV[ 0 ] )
+ w = QUI::WidgetFactory.create( ARGV[ 1 ] )
if w.nil?
puts "Failed to create top level widget"
exit
diff --git a/qtruby/rubylib/designer/uilib/tqui.cpp b/qtruby/rubylib/designer/uilib/tqui.cpp index 05b094bb..834cba2c 100644 --- a/qtruby/rubylib/designer/uilib/tqui.cpp +++ b/qtruby/rubylib/designer/uilib/tqui.cpp @@ -161,7 +161,7 @@ supports_widget(VALUE /*self*/, VALUE widget) void Init_tqui() { - tqui_module = rb_define_module("TQUI"); + tqui_module = rb_define_module("QUI"); qwidget_factory_class = rb_define_class_under(tqui_module, "WidgetFactory", rb_cObject); rb_define_singleton_method(qwidget_factory_class, "create", (VALUE (*) (...)) create, -1); |