class Qt::KeySequence
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/Qt/qtruby4.rb, line 1339 def initialize(*args) if args.length == 1 && args[0].kind_of?(Qt::Enum) && args[0].type == "Qt::Key" return super(args[0].to_i) end return super(*args) end
Public Instance Methods
inspect()
click to toggle source
Calls superclass method
# File lib/Qt/qtruby4.rb, line 1346 def inspect str = super str.sub(/>$/, " %s>" % toString) end
pretty_print(pp)
click to toggle source
# File lib/Qt/qtruby4.rb, line 1351 def pretty_print(pp) str = to_s pp.text str.sub(/>$/, " %s>" % toString) end