[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebindings/korundum/rubylib/examples/dcop
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2004-08-24 10:20:53
Message-ID: 20040824102053.BEE2B16B52 () office ! kde ! org
[Download RAW message or body]

CVS commit by rdale: 

* Added examples of isFoo() and hasBar() boolean predicate dcop slots for use with dcoppredicate.rb


  M +13 -2     dcopslot.rb   1.8


--- kdebindings/korundum/rubylib/examples/dcop/dcopslot.rb  #1.7:1.8
@@ -22,9 +22,12 @@
 class MyWidget < KDE::PushButton
 
-        k_dcop  'void mySlot(QString)', 'QPoint getPoint(QString)',
+        k_dcop  'void mySlot(QString)', 
+                        'QPoint getPoint(QString)',
                         'QMap<QCString,DCOPRef> actionMap()', 
                         'QValueList<DCOPRef> windowList()',
                         'QValueList<QCString> propertyNames(bool)',
-                        'KURL::List urlList()'
+                        'KURL::List urlList()',
+                        'bool isFoo()',
+                        'bool hasBar()'
                                 
         def initialize(parent, name)
@@ -62,4 +65,12 @@
                 return list
         end
+        
+        def isFoo
+                true
+        end
+        
+        def hasBar
+                true
+        end
 end
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic