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

List:       kde-bindings
Subject:    [Kde-bindings] KDE/kdebindings/qtruby
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2006-11-15 16:21:29
Message-ID: 1163607689.363186.28548.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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@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@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()
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

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