Class: Qt::Variant
Class Method Summary collapse
-
.invalid ⇒ Object
return an empty variant.
Instance Method Summary collapse
- #inspect ⇒ Object
-
#old_inspect ⇒ Object
because the qtruby inspect doesn’t provide the value.
-
#to_s ⇒ Object
return the string of the value of this variant.
Class Method Details
Instance Method Details
#inspect ⇒ Object
298 299 300 |
# File 'lib/qtext/extensions.rb', line 298 def inspect "#<Qt::Variant value=#{self.value} typeName=#{self.typeName}>" end |
#old_inspect ⇒ Object
because the qtruby inspect doesn’t provide the value
297 |
# File 'lib/qtext/extensions.rb', line 297 alias_method :old_inspect, :inspect |
#to_s ⇒ Object
return the string of the value of this variant
303 304 305 |
# File 'lib/qtext/extensions.rb', line 303 def to_s self.value.to_s end |