[Kde-bindings] KDE/kdebindings/ruby/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri Aug 22 19:32:53 UTC 2008


SVN commit 851043 by rdale:

* Argument types of 'unsigned short' were not being matched in the 
  overloaded method resolution code which was causing a Qt::KeyEvent
  constructor to fail. Fixes a problem reported by Stefano Crocco.

CCMAIL: kde-bindings at kde.org


 M  +6 -0      ChangeLog  
 M  +1 -1      src/lib/Qt/qtruby4.rb  


--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #851042:851043
@@ -1,3 +1,9 @@
+2008-08-22  Richard Dale  <richard.j.dale at gmail.com>
+
+	* Argument types of 'unsigned short' were not being matched in the 
+	  overloaded method resolution code which was causing a Qt::KeyEvent
+	  constructor to fail. Fixes a problem reported by Stefano Crocco.
+
 2008-08-18  Richard Dale  <richard.j.dale at gmail.com>
 
 	* The disposed? method was round the wrong way, and true if an instance
--- trunk/KDE/kdebindings/ruby/qtruby/src/lib/Qt/qtruby4.rb #851042:851043
@@ -2352,7 +2352,7 @@
 					return 2
 				elsif typename =~ /^quint32&?$/
 					return 1
-				elsif typename =~ /^(?:short|ushort|unsigned short int|uchar|uint|long|ulong|unsigned long int|unsigned|float|double|WId|Q_PID|^quint16&?$|^qint16&?$)$/
+				elsif typename =~ /^(?:short|ushort|unsigned short int|unsigned short|uchar|uint|long|ulong|unsigned long int|unsigned|float|double|WId|Q_PID|^quint16&?$|^qint16&?$)$/
 					return 1
 				elsif typename =~ /^(quint|qint|qulong|qlong|qreal)/
 					return 1



More information about the Kde-bindings mailing list