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

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Nov 12 13:55:30 UTC 2009


SVN commit 1047977 by rdale:

* The Qt::SizePolicy.horizontalStretch= method wasn't working with a Smoke
  library created with the new generator as the type 'unsigned char' wasn't
  recognized. Thanks to Stefano Crocco for reporting the bug.

CCMAIL: kde-bindings at kde.org


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


--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #1047976:1047977
@@ -1,5 +1,11 @@
+2009-11-12  Richard Dale  <richard.j.dale at gmail.com>
+
+    * The Qt::SizePolicy.horizontalStretch= method wasn't working with a Smoke
+      library created with the new generator as the type 'unsigned char' wasn't
+      recognized. Thanks to Stefano Crocco for reporting the bug.
+
 2009-08-19  Richard Dale  <richard.j.dale at gmail.com>
-    * Added a patch from Youhei Kondou to make the to_a and kind_of? methods
+    * Added a patch from Youhei Kondou to make the is_a? and kind_of? methods
       use the C++ class ancestors obtained from the smoke libary
 
 2009-07-24  Richard Dale  <richard.j.dale at gmail.com>
--- trunk/KDE/kdebindings/ruby/qtruby/src/lib/Qt/qtruby4.rb #1047976:1047977
@@ -2481,7 +2481,7 @@
 					return 3
 				elsif typename =~ /^quint32&?$/
 					return 2
-				elsif typename =~ /^(?:short|ushort|unsigned short int|unsigned short|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||unsigned char|uint|long|ulong|unsigned long int|unsigned|float|double|WId|Q_PID|^quint16&?$|^qint16&?$)$/
 					return 2
 				elsif typename =~ /^(quint|qint|qulong|qlong|qreal)/
 					return 2



More information about the Kde-bindings mailing list