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.