Method: Qt::CoreApplication#initialize
- Defined in:
- lib/Qt/qtruby4.rb
#initialize(*args) ⇒ CoreApplication
Returns a new instance of CoreApplication.
584 585 586 587 588 589 590 591 |
# File 'lib/Qt/qtruby4.rb', line 584 def initialize(*args) if args.length == 1 && args[0].kind_of?(Array) super(args.length + 1, [$0] + args[0]) else super(*args) end $qApp = self end |