Class: Qt::Application
Instance Method Summary collapse
-
#exec ⇒ Object
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.
- #type(*args) ⇒ Object
Methods inherited from Base
#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #^, #methods, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~
Instance Method Details
#exec ⇒ Object
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 |