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 メソッドが呼び出されます。
この関数はメソッド呼び出しにのみ適しています。パラメータの型が一致し、エラーが発生しない限り、返信とともにスロットが正確に 1 回呼び出されることが保証されています。
この関数は、タイムアウトの期限切れを含むエラーを報告できないため、危険です。
メッセージが送信された場合は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.