Class: RubyQt6::QtDBus::QDBusVariant
- Inherits:
-
Object
- Object
- RubyQt6::QtDBus::QDBusVariant
- Defined in:
- lib/qt6/qtdbus/qdbusvariant.rb
Overview
Instance Method Summary collapse
- #initialize(variant) ⇒ QDBusVariant constructor
Constructor Details
#initialize(variant) ⇒ QDBusVariant
15 16 17 18 |
# File 'lib/qt6/qtdbus/qdbusvariant.rb', line 15 def initialize(variant) variant = variant.is_a?(QtCore::QVariant) ? variant : QtCore::QVariant.new(variant) _initialize(variant) end |