Class: Qt::ListWidgetItem

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

Instance Method Summary collapse

Methods inherited from Base

#%, #&, #*, #**, #+, #-, #[email protected], #/, #<, #<<, #<=, #==, #>, #>=, #>>, #QCOMPARE, #QEXPECT_FAIL, #QFAIL, #QSKIP, #QTEST, #QVERIFY, #QVERIFY2, #QWARN, #^, ancestors, #is_a?, #methods, private_slots, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~

Instance Method Details

#clone(*args) ⇒ Object


1354
1355
1356
# File 'lib/Qt/qtruby4.rb', line 1354

def clone(*args)
  Qt::ListWidgetItem.new(self)
end

#inspectObject


1362
1363
1364
1365
# File 'lib/Qt/qtruby4.rb', line 1362

def inspect
  str = super
  str.sub(/>$/, " text='%s'>" % text)
end

#pretty_print(pp) ⇒ Object


1367
1368
1369
1370
# File 'lib/Qt/qtruby4.rb', line 1367

def pretty_print(pp)
  str = to_s
  pp.text str.sub(/>$/, " text='%s'>" % text)
end

#type(*args) ⇒ Object


1358
1359
1360
# File 'lib/Qt/qtruby4.rb', line 1358

def type(*args)
  method_missing(:type, *args)
end