summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/examples/uimodules/uimisc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/examples/uimodules/uimisc.rb')
-rw-r--r--korundum/rubylib/examples/uimodules/uimisc.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/korundum/rubylib/examples/uimodules/uimisc.rb b/korundum/rubylib/examples/uimodules/uimisc.rb
index be186409..51b85bd4 100644
--- a/korundum/rubylib/examples/uimodules/uimisc.rb
+++ b/korundum/rubylib/examples/uimodules/uimisc.rb
@@ -26,7 +26,7 @@ class Page3 < TQt::Object
@iv = KDE::LineEdit.new(page)
@iv.setGeometry(x, y + 20, 100, 20)
@iv.show()
- connect(@iv, SIGNAL("textChanged(const TQString&)"), SLOT('ivChanged()'))
+ connect(@iv, TQ_SIGNAL("textChanged(const TQString&)"), TQ_SLOT('ivChanged()'))
@ivVal = KDE::IntValidator.new(page)
@ivVal.setRange(20, 50)
@@ -63,7 +63,7 @@ class Page3 < TQt::Object
@fv = KDE::LineEdit.new(page)
@fv.setGeometry(x, y + 20, 100, 20)
@fv.show()
- connect(@fv, SIGNAL("textChanged(const TQString&)"), SLOT('fvChanged()'))
+ connect(@fv, TQ_SIGNAL("textChanged(const TQString&)"), TQ_SLOT('fvChanged()'))
@fvVal = KDE::DoubleValidator.new(page)
@fvVal.setRange(10.0, 40.0)
@@ -100,7 +100,7 @@ class Page3 < TQt::Object
@dv = KDE::LineEdit.new(page)
@dv.setGeometry(x, y + 20, 100, 20)
@dv.show()
-# connect(dv, SIGNAL("textChanged(const TQString&)"), SLOT('dvChanged()'))
+# connect(dv, TQ_SIGNAL("textChanged(const TQString&)"), TQ_SLOT('dvChanged()'))
@dvVal = KDE::DateValidator.new(page)
# dvVal.setRange(10.0, 40.0)
@@ -112,7 +112,7 @@ class Page3 < TQt::Object
dvBtn = TQt::PushButton.new("Validate", page)
dvBtn.setGeometry(x, y + 45, 60, 22)
dvBtn.show()
- connect(dvBtn, SIGNAL("clicked()"), SLOT('dvChanged()'))
+ connect(dvBtn, TQ_SIGNAL("clicked()"), TQ_SLOT('dvChanged()'))
dvNoteLbl = TQt::Label.new("Format is locale dependent\nShort date only\nTry DD-MM-YY", page)
dvNoteLbl.setGeometry(x, y + 70, 150, 60)