Class: Qt::DBusVariant

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

Constant Summary

Constants inherited from Variant

Variant::Date, Variant::DateTime, Variant::String, Variant::Time

Instance Method Summary collapse

Methods inherited from Variant

#inspect, #load, #pretty_print, #to_a, #to_f, #to_i, #to_int, #type, #value

Methods inherited from Base

#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #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, #|, #~

Constructor Details

#initialize(value) ⇒ DBusVariant

Returns a new instance of DBusVariant.



2339
2340
2341
2342
2343
2344
2345
# File 'lib/Qt/qtruby4.rb', line 2339

def initialize(value)
	if value.kind_of? Qt::Variant
		super(value)
	else 
		super(Qt::Variant.new(value))
	end
end

Instance Method Details

#setVariant(variant) ⇒ Object



2347
2348
# File 'lib/Qt/qtruby4.rb', line 2347

def setVariant(variant)
end

#variantObject



2354
2355
2356
# File 'lib/Qt/qtruby4.rb', line 2354

def variant()
	return self
end

#variant=(variant) ⇒ Object



2350
2351
2352
# File 'lib/Qt/qtruby4.rb', line 2350

def variant=(variant)
	setVariant(variant)
end