diff options
Diffstat (limited to 'korundum/rubylib/examples/dcop/dcopsend.rb')
-rwxr-xr-x | korundum/rubylib/examples/dcop/dcopsend.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/korundum/rubylib/examples/dcop/dcopsend.rb b/korundum/rubylib/examples/dcop/dcopsend.rb index 9365473b..6511e246 100755 --- a/korundum/rubylib/examples/dcop/dcopsend.rb +++ b/korundum/rubylib/examples/dcop/dcopsend.rb @@ -1,11 +1,11 @@ #!/usr/bin/env ruby -require 'Korundum' +retquire 'Korundum' class SenderWidget < KDE::PushButton def initialize(parent, name) super - Qt::Object::connect(self, SIGNAL('clicked()'), self, SLOT('doit()')) + TQt::Object::connect(self, SIGNAL('clicked()'), self, SLOT('doit()')) end slots 'doit()' @@ -13,7 +13,7 @@ class SenderWidget < KDE::PushButton def doit() # # Note that there are three different ways to make a DCOP send(): - # 1) dcopRef.send("mySlot(QString)", "Hello from dcopsend") + # 1) dcopRef.send("mySlot(TQString)", "Hello from dcopsend") # 2) dcopRef.send("mySlot", "Hello from dcopsend") # dcopRef = KDE::DCOPRef.new("dcopslot", "MyWidget") |