[Kde-bindings] KDE/kdebase/workspace/plasma/scriptengines/ruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Nov 18 11:05:41 UTC 2008


SVN commit 885982 by rdale:

2008-11-18  Richard Dale  <richard.j.dale at gmail.com>
* Fix problem with the ruby 'type()' method clashing with the one in
  Qt::GraphicsItem subclasses reported by David Palacio

CCMAIL: kde-bindings at kde.org


 M  +4 -0      ChangeLog  
 M  +52 -0     applet.rb  


--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/ChangeLog #885981:885982
@@ -1,3 +1,7 @@
+2008-11-18  Richard Dale  <richard.j.dale at gmail.com>
+* Fix problem with the ruby 'type()' method clashing with the one in
+  Qt::GraphicsItem subclasses reported by David Palacio
+
 2008-11-17  Richard Dale  <richard.j.dale at gmail.com>
 * Fixed missing constructor bug in Qt::GraphicsProxyWidget reported by David
   Palacio. Thanks to David for reporting the bug.
--- trunk/KDE/kdebase/workspace/plasma/scriptengines/ruby/applet.rb #885981:885982
@@ -532,6 +532,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class QAbstractGraphicsShapeItem < Qt::Base
@@ -554,6 +558,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsEllipseItem < Qt::Base
@@ -576,6 +584,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsItemGroup < Qt::Base
@@ -598,6 +610,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsLineItem < Qt::Base
@@ -620,6 +636,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsPathItem < Qt::Base
@@ -642,6 +662,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsPixmapItem < Qt::Base
@@ -664,6 +688,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsPolygonItem < Qt::Base
@@ -686,6 +714,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsRectItem < Qt::Base
@@ -708,6 +740,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsSimpleTextItem < Qt::Base
@@ -730,6 +766,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsSvgItem < Qt::Base
@@ -752,6 +792,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsTextItem < Qt::Base
@@ -774,6 +818,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsWidget < Qt::Base
@@ -796,6 +844,10 @@
         super
       end
     end
+
+    def type(*args)
+      method_missing(:type, *args)
+    end
   end
 
   class GraphicsGridLayout < Qt::Base



More information about the Kde-bindings mailing list