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

Magicloud Wang magicloud at pogolinux.com.cn
Tue Oct 30 05:59:50 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