[Kde-bindings] Qt::Accel in qtruby

Alexander Kellett me at lypanov.net
Thu Jul 1 07:39:33 UTC 2004


On Thu, Jul 01, 2004 at 03:57:02PM +1000, jm wrote:
> problem code
> 
> 15:  @accel = Qt::Accel.new(self)
> 16:  p Qt::KeySequence.new(Qt::Key_Return)
> 17:  p accel.insertItem(Qt::KeySequence.new(Qt::Key_Return), -1)

i'm clueless wrt this... but on the of chance
are you sure this shouldn't be 

17:  p accel.insertItem(Qt::Key_Return)

?

Alex



More information about the Kde-bindings mailing list