Class: Qt::Base::SignalDisconnecter

Inherits:
Object
  • Object
show all
Defined in:
lib/rui/toolkits/qtbase/qt.rb

Instance Method Summary collapse

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