summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb')
-rw-r--r--qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb b/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb
index 623abe4b..6ac04192 100644
--- a/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb
+++ b/qtruby/rubylib/examples/ruboids/ruboids/CameraDialog.rb
@@ -96,14 +96,14 @@ class CameraDialog < TQt::Dialog
# The Close button
button = TQt::PushButton.new('Close', self, 'Dialog Close')
- connect(button, SIGNAL('clicked()'), self, SLOT('close()'))
+ connect(button, TQ_SIGNAL('clicked()'), self, TQ_SLOT('close()'))
button.setDefault(true)
button.setFixedSize(button.sizeHint())
buttonLayout.addWidget(button)
# The Close button
button = TQt::PushButton.new('Reset', self, 'Dialog Reset')
- connect(button, SIGNAL('clicked()'), self, SLOT('slotReset()'))
+ connect(button, TQ_SIGNAL('clicked()'), self, TQ_SLOT('slotReset()'))
button.setFixedSize(button.sizeHint())
buttonLayout.addWidget(button)
@@ -133,7 +133,7 @@ class CameraDialog < TQt::Dialog
layout.addWidget(slider, row, 1)
# Connection from slider signal to our slot
- connect(slider, SIGNAL('valueChanged(int)'), self, SLOT(slot))
+ connect(slider, TQ_SIGNAL('valueChanged(int)'), self, TQ_SLOT(slot))
# Number display
num = TQt::Label.new('XXXXX', box)