Class: Qt::Application

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

Instance Method Summary collapse

Methods inherited from Base

#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #^, #methods, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~

Instance Method Details

#execObject

Delete the underlying C++ instance after exec returns Otherwise, rb_gc_call_finalizer_at_exit() can delete stuff that Qt::Application still needs for its cleanup.



240
241
242
243
244
# File 'lib/qt/qtruby4.rb', line 240

def exec
	method_missing(:exec)
	self.dispose
	Qt::Internal.application_terminated = true
end

#type(*args) ⇒ Object



246
247
248
# File 'lib/qt/qtruby4.rb', line 246

def type(*args)
	method_missing(:type, *args)
end