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를 반환합니다.
© 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.