summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/hello/main.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/hello/main.rb')
-rwxr-xr-xqtruby/rubylib/examples/qt-examples/hello/main.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/hello/main.rb b/qtruby/rubylib/examples/qt-examples/hello/main.rb
index 5be3ce68..1b310551 100755
--- a/qtruby/rubylib/examples/qt-examples/hello/main.rb
+++ b/qtruby/rubylib/examples/qt-examples/hello/main.rb
@@ -14,7 +14,7 @@ end
h = Hello.new(s)
h.setCaption('QtRuby says hello')
-h.connect(h, SIGNAL('clicked()'), a, SLOT('quit()'))
+h.connect(h, TQ_SIGNAL('clicked()'), a, TQ_SLOT('quit()'))
h.setFont(TQt::Font.new('times', 32, TQt::Font.Bold)) # default font
h.setBackgroundColor(TQt::white) # default bg color
a.setMainWidget(h)