summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/examples/uimodules/uidialogs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/examples/uimodules/uidialogs.rb')
-rw-r--r--korundum/rubylib/examples/uimodules/uidialogs.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/korundum/rubylib/examples/uimodules/uidialogs.rb b/korundum/rubylib/examples/uimodules/uidialogs.rb
index 8efed493..f4a9f353 100644
--- a/korundum/rubylib/examples/uimodules/uidialogs.rb
+++ b/korundum/rubylib/examples/uimodules/uidialogs.rb
@@ -39,9 +39,9 @@ class CustomDlg < KDE::Dialog
okBtn.setGeometry(x, y, 40, 22)
canBtn.setGeometry(x + 50, y, 40, 22)
- connect(dlgBtn, SIGNAL("clicked()"), SLOT('dlgClicked()'))
- connect(okBtn, SIGNAL("clicked()"), SLOT('okClicked()'))
- connect(canBtn, SIGNAL("clicked()"), SLOT('cancelClicked()'))
+ connect(dlgBtn, TQ_SIGNAL("clicked()"), TQ_SLOT('dlgClicked()'))
+ connect(okBtn, TQ_SIGNAL("clicked()"), TQ_SLOT('okClicked()'))
+ connect(canBtn, TQ_SIGNAL("clicked()"), TQ_SLOT('cancelClicked()'))
end
def dlgClicked()
@@ -93,7 +93,7 @@ class MessageDlg < KDE::Dialog
grp.setGeometry(10, 10, 200, 30*n)
(0...n).each { |i| TQt::RadioButton.new(buttons[i], grp) }
- connect(grp, SIGNAL("clicked(int)"), SLOT('launch(int)'))
+ connect(grp, TQ_SIGNAL("clicked(int)"), TQ_SLOT('launch(int)'))
end
def launch(which)