Class: Qt::TableWidgetItem

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

Instance Method Summary collapse

Instance Method Details

#clone(*args) ⇒ Object



2020
2021
2022
# File 'lib/Qt/qtruby4.rb', line 2020

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

#inspect ⇒ Object



2028
2029
2030
2031
# File 'lib/Qt/qtruby4.rb', line 2028

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

#pretty_print(pp) ⇒ Object



2033
2034
2035
2036
# File 'lib/Qt/qtruby4.rb', line 2033

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

#type(*args) ⇒ Object



2024
2025
2026
# File 'lib/Qt/qtruby4.rb', line 2024

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