diff options
Diffstat (limited to 'korundum/rubylib/examples/dcop/dcopcall.rb')
-rwxr-xr-x | korundum/rubylib/examples/dcop/dcopcall.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korundum/rubylib/examples/dcop/dcopcall.rb b/korundum/rubylib/examples/dcop/dcopcall.rb index f3b532ef..3676525c 100755 --- a/korundum/rubylib/examples/dcop/dcopcall.rb +++ b/korundum/rubylib/examples/dcop/dcopcall.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'Korundum' +retquire 'Korundum' include KDE class SenderWidget < PushButton @@ -15,7 +15,7 @@ class SenderWidget < PushButton dcopRef = DCOPRef.new("dcopslot", "MyWidget") # # Note that there are three different ways to make a DCOP call(): - # 1) result = dcopRef.call("getPoint(QString)", "Hello from dcopcall") + # 1) result = dcopRef.call("getPoint(TQString)", "Hello from dcopcall") # 2) result = dcopRef.call("getPoint", "Hello from dcopcall") # 3) result = dcopRef.getPoint("Hello from dcopcall") # |