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

List:       kde-commits
Subject:    KDE/kdebindings/qtruby/rubylib/qtruby/lib/Qt
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2006-12-01 10:29:39
Message-ID: 1164968979.511738.17001.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 609532 by rdale:

* Added some type() methods to avoid the Qt ones clashing with the
  Ruby one.



 M  +89 -1     qtruby4.rb  


--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/lib/Qt/qtruby4.rb #609531:609532
@@ -434,6 +434,12 @@
 		end
 	end
 
+	class DBusError < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
 	class DBusInterface < Qt::Base 
 
 		def call(method_name, *args)
@@ -538,6 +544,10 @@
 		def name(*args)
 			method_missing(:name, *args)
 		end
+
+		def type(*args)
+			method_missing(:type, *args)
+		end
 	end
 
 	class DragEnterEvent < Qt::Base 
@@ -645,6 +655,60 @@
 		end
 	end
 
+	class Gradient < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsEllipseItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsItemGroup < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsLineItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsPathItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsPixmapItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsPolygonItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class QGraphicsRectItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
 	class GraphicsSceneMouseEvent < Qt::Base 
 		def type(*args)
 			method_missing(:type, *args)
@@ -675,12 +739,18 @@
 		end
 	end
 
-	class Gradient < Qt::Base
+	class QGraphicsSimpleTextItem < Qt::Base 
 		def type(*args)
 			method_missing(:type, *args)
 		end
 	end
 
+	class QGraphicsTextItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
 	class HelpEvent < Qt::Base 
 		def type(*args)
 			method_missing(:type, *args)
@@ -1107,6 +1177,12 @@
 		end
 	end
 	
+	class MetaType < Qt::Base
+		def self.type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
 	class ModelIndex < Qt::Base
 		def inspect
 			str = super
@@ -1273,6 +1349,18 @@
 		end
 	end
 
+	class StandardItem < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
+	class StandardItemModel < Qt::Base 
+		def type(*args)
+			method_missing(:type, *args)
+		end
+	end
+
 	class StatusTipEvent < Qt::Base 
 		def type(*args)
 			method_missing(:type, *args)
[prev in list] [next in list] [prev in thread] [next in thread] 

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