Obsolete Members for QDBusConnectionInterface

QDBusConnectionInterface 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것이 좋습니다.

신호

(deprecated) void serviceOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner)

멤버 함수 설명

[signal, deprecated] void QDBusConnectionInterface::serviceOwnerChanged(const QString &name, const QString &oldOwner, const QString &newOwner)

이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 말 것을 강력히 권장합니다.

대신 ` QDBusServiceWatcher `을 사용하십시오.

이 신호는 버스 내에서 서비스 소유권 변경(이름의 생성 및 소멸 포함)이 발생할 때마다 D-Bus 서버에 의해 발송됩니다.

이 신호는 애플리케이션 oldOwner 이 버스 이름 name 에 대한 소유권을 애플리케이션 newOwner 에 넘겼음을 의미합니다. oldOwner 이 빈 문자열인 경우, 이름 name 이 방금 생성되었음을 의미하며, newOwner 이 비어 있는 경우, 이름 name 은 현재 소유자가 없으며 더 이상 사용할 수 없음을 의미합니다.

참고: 이 신호에연결하면 애플리케이션이 버스에서 발생하는 모든 서비스 소유권 변경을 수신하게 됩니다. 실행 중인 서비스의 수에 따라, 이로 인해 애플리케이션이 필요 이상으로 많은 신호를 수신하게 될 수 있습니다. 이러한 문제를 방지하려면 특정 변경 사항만 수신할 수 있는 QDBusServiceWatcher 클래스를 사용하십시오.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.