class Qt::DBusReply
Public Class Methods
new(reply)
click to toggle source
# File lib/Qt/qtruby4.rb, line 869 def initialize(reply) @error = Qt::DBusError.new(reply) if @error.valid? @data = Qt::Variant.new return end if reply.arguments.length >= 1 @data = reply.arguments[0] return end # error @error = Qt::DBusError.new( Qt::DBusError::InvalidSignature, "Unexpected reply signature" ) @data = Qt::Variant.new # clear it end
Public Instance Methods
error()
click to toggle source
# File lib/Qt/qtruby4.rb, line 900 def error return @error end
isValid()
click to toggle source
# File lib/Qt/qtruby4.rb, line 888 def isValid return !@error.isValid end
valid?()
click to toggle source
# File lib/Qt/qtruby4.rb, line 892 def valid? return !@error.isValid end
value()
click to toggle source
# File lib/Qt/qtruby4.rb, line 896 def value return @data.value end