[Kde-bindings] KDE/kdebindings/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Wed Nov 15 16:21:29 UTC 2006


SVN commit 605157 by rdale:

* When Qt::DBusInterface.call() was called with a single argument,
  it was failing with a method_missing() error. Fixes problem
  reported by Carsten Niehaus.

CCMAIL: kde-bindings at kde.org



 M  +6 -0      ChangeLog  
 M  +3 -1      rubylib/qtruby/lib/Qt/qtruby4.rb  


--- trunk/KDE/kdebindings/qtruby/ChangeLog #605156:605157
@@ -1,3 +1,9 @@
+2006-11-15  Richard Dale  <rdale at foton.es>
+
+	* When Qt::DBusInterface.call() was called with a single argument,
+	  it was failing with a method_missing() error. Fixes problem
+	  reported by Carsten Niehaus.
+
 2006-11-07  Richard Dale  <rdale at foton.es>
 
 	* Fixed a crash when a slot was inherited by a subclass, and the
--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/lib/Qt/qtruby4.rb #605156:605157
@@ -438,7 +438,7 @@
 
 		def call(method_name, *args)
 			if args.length == 0
-				return super(method_name.to_sym)
+				return super(method_name)
 			else
 				# If the method is Qt::DBusInterface.call(), create an Array 
 				# 'dbusArgs' of Qt::Variants from '*args'
@@ -1424,7 +1424,9 @@
 	
 	class Variant < Qt::Base
 		String = 10
+		Date = 14
 		Time = 15
+		DateTime = 16
 
 		def to_a
 			return toStringList()



More information about the Kde-bindings mailing list