Class: Qt::Connection

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

Instance Method Summary collapse

Instance Method Details

#inspect ⇒ Object



584
585
586
587
588
# File 'lib/Qt/qtruby4.rb', line 584

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



590
591
592
593
594
# File 'lib/Qt/qtruby4.rb', line 590

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