Obsolete Members for QDBusConnection
QDBusConnection 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.
공개 함수
(deprecated) bool | callWithCallback(const QDBusMessage &message, QObject *receiver, const char *returnMethod, int timeout = -1) const |
멤버 함수 설명
[deprecated] bool QDBusConnection::callWithCallback(const QDBusMessage &message, QObject *receiver, const char *returnMethod, int timeout = -1) const
이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않을 것을 강력히 권장합니다.
이 연결을 통해 ` message `를 전송하고 즉시 반환합니다. 응답을 수신하면 ` receiver ` 객체에서 ` returnMethod ` 메서드가 호출됩니다.
이 함수는 메서드 호출에만 적합합니다. 매개변수 유형이 일치하고 오류가 발생하지 않는 한, 슬롯이 응답과 함께 정확히 한 번 호출될 것이 보장됩니다.
이 함수는 타임아웃 만료 등 오류를 보고할 수 없기 때문에 위험합니다.
메시지가 전송된 경우 ` true `를 반환하고, 메시지를 전송할 수 없는 경우 `false`를 반환합니다.
이 함수는 오버로드된 함수입니다.
© 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.