[Kde-bindings] KDE/kdebindings/ruby/qtruby
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Oct 30 16:07:22 UTC 2007
SVN commit 731059 by rdale:
* The Qt::KeyEvent#type method wasn't working. Fixes problem reported
by Magicloud Magiclouds
CCMAIL: kde-bindings at kde.org
M +5 -0 ChangeLog
M +6 -0 src/lib/Qt/qtruby4.rb
--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #731058:731059
@@ -1,3 +1,8 @@
+2007-10-30 Richard Dale <rdale at foton.es>
+
+ * The Qt::KeyEvent#type method wasn't working. Fixes problem reported
+ by Magicloud Magiclouds
+
2007-10-19 Richard Dale <rdale at foton.es>
* Ruby signal declared in superclasses were not being inherited by
--- trunk/KDE/kdebindings/ruby/qtruby/src/lib/Qt/qtruby4.rb #731058:731059
@@ -879,6 +879,12 @@
end
end
+ class KeyEvent < Qt::Base
+ def type(*args)
+ method_missing(:type, *args)
+ end
+ end
+
class KeySequence < Qt::Base
def initialize(*args)
if args.length == 1 && args[0].kind_of?(Qt::Enum) && args[0].type == "Qt::Key"
More information about the Kde-bindings
mailing list