Class: RubyQt6::QtDBus::QDBusVariant

Inherits:
Object
  • Object
show all
Defined in:
lib/qt6/qtdbus/qdbusvariant.rb

Overview

Instance Method Summary collapse

Constructor Details

#initialize(variant) ⇒ QDBusVariant

Parameters:

  • variant (QVariant)


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