Class: Qt::Connection

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

#inspectObject



328
329
330
331
332
# File 'lib/qt/qtruby4.rb', line 328

def inspect
	str = super
	str.sub(/>$/, " memberName=%s, memberType=%s, object=%s>" %
		[memberName.inspect, memberType == 1 ? "SLOT" : "SIGNAL", object.inspect] )
end

#pretty_print(pp) ⇒ Object



334
335
336
337
338
# File 'lib/qt/qtruby4.rb', line 334

def pretty_print(pp)
	str = to_s
	pp.text str.sub(/>$/, "\n memberName=%s,\n memberType=%s,\n object=%s>" %
		[memberName.inspect, memberType == 1 ? "SLOT" : "SIGNAL", object.inspect] )
end