Class: Qt::CheckBox

Inherits:
Base show all
Defined in:
lib/Qt/qtruby4.rb

Instance Method Summary collapse

Instance Method Details

#setShortcut(arg) ⇒ Object



542
543
544
545
546
547
548
# File 'lib/Qt/qtruby4.rb', line 542

def setShortcut(arg)
  if arg.kind_of?(String)
    return super(Qt::KeySequence.new(arg))
  else
    return super(arg)
  end
end

#shortcut=(arg) ⇒ Object



550
551
552
# File 'lib/Qt/qtruby4.rb', line 550

def shortcut=(arg)
  setShortcut(arg)
end