diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /korundum/rubylib/examples/dcop/dcopcall.rb | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
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") # |