[Kde-bindings] [ruby] Qt::QEvent.type conflict with Object.type

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Tue Oct 30 06:20:58 UTC 2007


Dear all,
    Something like "if event.type == Qt::Event::KeyPress" only gives 
"warning: Object#type is deprecated; use Object#class", and does not 
work as expected.
    How to resolve this?

Thanks.




More information about the Kde-bindings mailing list