Class: Qt::Base::SignalDisconnecter
- Defined in:
- lib/rui/toolkits/qtbase/qt.rb
Instance Method Summary collapse
- #disconnect! ⇒ Object
-
#initialize(obj, sig) ⇒ SignalDisconnecter
constructor
A new instance of SignalDisconnecter.
Constructor Details
#initialize(obj, sig) ⇒ SignalDisconnecter
Returns a new instance of SignalDisconnecter.
226 227 228 229 |
# File 'lib/rui/toolkits/qtbase/qt.rb', line 226 def initialize(obj, sig) @obj = obj @sig = sig end |
Instance Method Details
#disconnect! ⇒ Object
231 232 233 |
# File 'lib/rui/toolkits/qtbase/qt.rb', line 231 def disconnect! @obj.disconnect(@sig) end |