summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/examples/uimodules/uiwidgets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/examples/uimodules/uiwidgets.rb')
-rw-r--r--korundum/rubylib/examples/uimodules/uiwidgets.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/korundum/rubylib/examples/uimodules/uiwidgets.rb b/korundum/rubylib/examples/uimodules/uiwidgets.rb
index 71a865a5..4e0bcdb3 100644
--- a/korundum/rubylib/examples/uimodules/uiwidgets.rb
+++ b/korundum/rubylib/examples/uimodules/uiwidgets.rb
@@ -41,9 +41,9 @@ class Page1 < TQt::Object
replaceBtn.setGeometry(x + 90, y, 60, 22)
gotoBtn.setGeometry(x + 180, y, 60, 22)
-# page.connect(searchBtn, SIGNAL("clicked()"), parent.edit, SLOT('search()'))
-# page.connect(replaceBtn, SIGNAL("clicked()"), parent.edit, SLOT('replace()'))
-# page.connect(gotoBtn, SIGNAL("clicked()"), parent.edit, SLOT('doGotoLine()'))
+# page.connect(searchBtn, TQ_SIGNAL("clicked()"), parent.edit, TQ_SLOT('search()'))
+# page.connect(replaceBtn, TQ_SIGNAL("clicked()"), parent.edit, TQ_SLOT('replace()'))
+# page.connect(gotoBtn, TQ_SIGNAL("clicked()"), parent.edit, TQ_SLOT('doGotoLine()'))
searchBtn.show()
replaceBtn.show()
@@ -105,7 +105,7 @@ class Page1 < TQt::Object
(0...n).each { |i| TQt::RadioButton.new(buttons[i], grp) }
- connect(grp, SIGNAL("clicked(int)"), SLOT('restrict(int)'))
+ connect(grp, TQ_SIGNAL("clicked(int)"), TQ_SLOT('restrict(int)'))
grp.find(0).setChecked(true)
restrict(0)
@@ -469,7 +469,7 @@ class Page6 < TQt::Object
toggle.setGeometry(150, 400, 60, 22)
toggle.show()
- connect(toggle, SIGNAL("clicked()"), SLOT('toggleClicked()'))
+ connect(toggle, TQ_SIGNAL("clicked()"), TQ_SLOT('toggleClicked()'))
page.show()
end
@@ -545,7 +545,7 @@ class Page7 < TQt::Object
page.show()
@timer = TQt::Timer.new(page)
- connect(@timer, SIGNAL('timeout()'), SLOT('add1()'))
+ connect(@timer, TQ_SIGNAL('timeout()'), TQ_SLOT('add1()'))
@timer.start(100)
add1()
@@ -637,7 +637,7 @@ class CSDlg < KDE::Dialog
closeBtn.setGeometry( 610, 280, 60, 22)
closeBtn.show()
- connect(closeBtn, SIGNAL("clicked()"), SLOT('closeClicked()'))
+ connect(closeBtn, TQ_SIGNAL("clicked()"), TQ_SLOT('closeClicked()'))
end
def closeClicked()