Obsolete Members for QDBusConnectionInterface
QDBusConnectionInterface 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.
Signals
(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 이 애플리케이션 newOwner 에게 버스 이름 name 의 소유권을 잃었음을 의미합니다. oldOwner 이 빈 문자열이면 name 이라는 이름이 방금 생성되었음을 의미하고, newOwner 이 비어 있으면 name 이라는 이름의 현재 소유자가 없어 더 이상 사용할 수 없음을 의미합니다.
참고: 이 신호에 연결하면 애플리케이션이 버스에서 모든 서비스 소유권 변경을 수신 대기하고 수신하게 됩니다. 실행 중인 서비스 수에 따라 애플리케이션이 필요한 것보다 더 많은 신호를 수신하도록 활성화될 수 있습니다. 이 문제를 방지하려면 특정 변경 사항을 수신할 수 있는 QDBusServiceWatcher 클래스를 사용하세요.
© 2025 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.