Class: RubyQt6::QtDBus::QDBusInterface

Inherits:
QDBusAbstractInterface show all
Defined in:
lib/qt6/qtdbus/qdbusinterface.rb

Overview

Instance Method Summary collapse

Constructor Details

#initialize(service, path, interface = "", connection = nil, parent = nil) ⇒ QDBusInterface

Parameters:

  • service (String, QString)
  • path (String, QString)
  • interface (String, QString) (defaults to: "")
  • connection (QDBusConnection) (defaults to: nil)
  • parent (QObject) (defaults to: nil)


20
21
22
23
# File 'lib/qt6/qtdbus/qdbusinterface.rb', line 20

def initialize(service, path, interface = "", connection = nil, parent = nil)
  _initialize(T.to_qstr(service), T.to_qstr(path), T.to_qstr(interface), connection || QtDBus::QDBusConnection.session_bus, parent)
  _take_ownership_from_ruby(self)
end